At the command prompt, run the commands:
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 |
Run commandline codegen by issuing the following command from the command prompt in your commandlinecodegen directory (see Table 1–1):
sh ant "-D{propertyname1}={propertyvalue1}" "-D{propertyname2}= {propertyvalue2}" … "-D{propertynameN}={propertyvalueN}" |
When using the command-line properties method, you must specify values for all required properties. You also may specify values for any optional properties as is appropriate.