Setting properties
You can use the var task to set properties
any number of times. When invoked, either explicitly or implicitly, ounceCreateProject uses
the current property values. You can set properties by one of the
methods outlined in this task topic.
Procedure
- Use an attribute to an Ounce/Ant task if the attribute exists.
- Use a
vartask before the appropriate AppScan® Source task. Properties set withvarremain in scope only for the file in which they are set. To use thevartask, the Ant contribution library must be in the Ant lib directory, and thetaskdeftask must reference it.<taskdef resource="net/sf/antcontrib/antlib.xml"/> - Use
-Don the Ant command line. - Place the property in a build properties file (typically called build.properties).