The most straightforward way to edit an Ant script is as a text file in the Source Editor. You can also use the Ant project's nodes in the Explorer to edit the contents of your Ant script.
To edit an Ant script as a text file:
To add a task, property, or data structure:
Use the Cut, Copy, and Paste commands in the contextual menu to copy and move any Ant script element.
Use the Move Up, Move Down, and Change Order commands in the contextual menu to change the order in which elements appear in the script.
![]() |
If you are storing your properties in a separate properties file, do not add properties to your Ant script using the Add submenu. Instead, double-click the appropriate properties object node to add the properties in the Source Editor's properties pane. |
To change an element's attribute:
See also | |
---|---|
Ant Project Files
Creating and Running an Ant Project Setting Properties in Ant Scripts |