Deploying Java CAPS Projects

ProcedureTo specify the filename of the EAR file from the command line (Windows)

  1. Locate the following file, and select Edit from its context menu:


    <CAPS_install_dir>\commandlinecodegen\ant.bat
    
  2. Locate the line beginning with SET ANT_OPTS, and append the following entry:

    -Ddeployment.ear.file.name=filename

    where filename is the name you want for the .ear file; for example,


    SET ANT_OPTS=-Dantlrmaxaltblklines=3000 -Dcompile=injar -Xms512M -Xmx768m 
    -XX:PermSize=256m -XX:MaxPermSize=256m -Ddeployment.ear.file.name=test_ear
    
  3. Save the file.