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 by right-clicking the target in the Filesystems window, choosing Properties, and clicking the ellipsis for the Target Properties property. |
To edit the contents of a properties file, do either of the following:
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 Options
and expand the Building node. Then select Ant Properties and click the ellipsis
button in the Properties setting. |
| See Also | |
|---|---|
|
Ant Script Node |
|