The easiest way to compile an EWD application is from the Caché command line. Start up a Caché terminal session, switch to a namespace that you've configured for use with EWD. You can compile either an entire EWD application or a specific EWD page.

To compile a complete application:
  d compileAll^%zewdAPI(appName,,technology)

  where:
    appName    = the name of the EWD application to be compiled
    technology = the target run-time web technology to be generated

Possible values for technology are:

For example, to compile all your EWD pages in your finance application for use with PHP, you would invoke the following command in the Caché terminal session:

  d compileAll^%zewdAPI("finance",,"php")

Note: It is recommended that you adhere to the case used for the application path.

To compile a single page in an EWD application:
  d compilePage^%zewdAPI(appName,pageName,,technology)

  where:
    appName    = the name of the EWD application
    appName    = the name of the EWD page within the specified application to be compiled
    technology = the target run-time web technology to be generated

For example, to compile an EWD page named mainMenu in your finance application for use with PHP, you would invoke the following command in the Caché terminal session:

  d compilePage^%zewdAPI("finance","mainMenu",,"php")

Note: It is recommended that you adhere to the case used for the application path and your filed EWD page names, in particular if you are using a Linux, Unix or OS/X system.