Deploying Java CAPS Projects

ProcedureTo build an application file based on a property file only (Windows)

  1. Locate the file build.properties in your commandlinecodegen directory.

  2. Open the file using a text editor such as Notepad. The contents are as follows:


    commandline.rep.url=http://host:port/repositoryname
    commandline.rep.user=
    commandline.rep.pass=
    commandline.rep.dir=localrepository
    commandline.rep.projectName=
    commandline.rep.projectDeployName=
    commandline.rep.projectDeploymentTag=
    commandline.rep.projectBranchName=
  3. Fill in the property values as described in Table 1–1 (optional properties may be left blank).

  4. Run commandline codegen by issuing the following command from the command-line prompt in your commandlinecodegen directory:


    ant -propertyfile build.properties