You can set properties for your Ant scripts by entering them directly into the Ant script or by storing them in a separate Ant properties (ant.properties) file.
To set properties in a separate Ant properties file:
The properties file ()
is created in the same directory as your Ant script and a <property
file="filename"> tag is added to your
Ant script.
![]() |
You can also set properties for individual targets using the Target Properties property in the target's property sheet. |
To edit the contents of a properties file, do either of the following:
![]() |
You can also edit a properties file from the Ant script's property sheet. Open the Ant script's property sheet and click the ellipsis in Project Properties. |
To change the properties file referenced by your Ant script:
![]() |
In addition to your user-defined properties, the
IDE also includes a set of global properties that are passed to Ant each
time you run an Ant script. To view these properties, choose Tools ![]() |
See Also | |
---|---|
Ant Project Files |