At the command prompt, run the commands:
Export ANT_HOME=path Export JAVA_HOME=path dos2unix ant ant dos2unix build.xml build.xml dos2unix build.properties build.properties |
Locate the file build.properties in your commandlinecodegen directory.
Open the file using a text editor. 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= |
Fill in the property values as described in Table 1–1 (optional properties may be left blank).
Run commandline codegen by issuing the following command from the command-line prompt in your commandlinecodegen directory:
sh ant –propertyfile build.properties |