codepro.exportWARToWarFile
(Application Developer only... replaced in Rational Application Developer 6.x by WARExport)

(old task name ExportWARToWarFile)

codepro.exportWARToWarFile performs an export identical to one that would be performed manually using the standard Application Developer WAR file Export Wizard.  The various options for this Ant task type include:

  • destination (required) - the path to the jar file into which the code will be exported.  The path may either be an absolute path, or relative to the Application Developer workspace directory
  • exportSource (optional - default false)
  • overwrite (optional - default false)
  • project (required) - the name of the project to be exported

Example:

<codepro.exportWARToWarFile 
    project="WSAssistTestWAR" 
    destination="../export-test/testWAR.war" 
    overwrite="true" 
    exportSource="true"/>