Ant Runtime Preferences

The following preferences can be changed on the command link Ant > Runtime preference page.

Classpath options

On the Classpath tab you can add additional classes defining tasks and types to the Ant classpath. New tasks and types can be added to either the Ant Home or the Global Entries section(s). The Contributed Entries section cannot be modified.

Option Description Default
Add Jars... Allows you to add a jar file from the current workspace to the Ant classpath for the Ant Home and / or Global sections.  
Add External Jars... Allows you to add a jar file from the local filesystem to the Ant classpath for the Ant Home and / or Global sections.  
Add Folder... Allows you to add a folder from the local filesystem to the Ant classpath for the Ant Home and / or Global sections.  
Add Variable... Allows you to add a new classpath variable to the Ant Home and / or Global sections.  
Ant Home Allows you to add a new folder to the Ant Home location.  
Remove Allows you to remove the selected entry element(s) from the Ant classpath for the Ant Home and / or Global sections.  
Up Allows you to move the selected entry element up one space in its listing.  
Down Allows you to move the selected entry element down one space in its listing.  

Here is what the Classpath tab of the Ant Runtime preferences page looks like:

Ant classpath preference tab

Tasks options

On the Tasks tab you can add tasks defined in one of the classes on the Ant classpath.

Option Description Default
Add Task... Allows you to add a new Ant task definition to the runtime.  
Edit Task... Allows you to edit an existing Ant task.

Note: you can only edit tasks that are not contributed (i.e. yellow decorated tasks are contributed and cannot be edited).
 
Remove Allows you to remove an existing Ant task from the runtime.

Note: you can only remove tasks that are not contributed (i.e. yellow decorated tasks are contributed and cannot be removed).
 

Here is what the Tasks tab of the Ant Runtime preferences page looks like:

Ant tasks preference page

Types options

On the Types tab you can add types defined in one of the classes on the classpath.

Option Description Default
Add Type... Allows you to add a new type defined in one of the classes on the Ant classpath.  
Edit Type... Allows you to edit an existing type.  
Remove Allows you to remove an existing type.  

Here is what the Types tab of the Ant Runtime preferences page looks like:

Ant types preference page

Properties options

On the Properties tab you can add properties and property files that will be passed into Ant.

Option Description Default
Add Property... Allows you to add a new Ant property to the runtime.  
Edit Property... Allows you to edit an existing Ant property.

Note: you can only edit properties that are not contributed (i.e. yellow decorated properties are contributed and cannot be edited).
 
Remove Allows you to remove an existing Ant property from the runtime.

Note: you can only remove properties that are not contributed (i.e. yellow decorated properties are contributed and cannot be removed).
 
Add Files... Allows you to add a *.properties file from the workspace to be used in the runtime.  
Add External... Allows you to add a *.properties file from the local filesystem to be used in the runtime.  
Remove Allows you to remove an existing *.properties file from the runtime.  

Here is what the Properties tab of the Ant Runtime preferences page looks like:

Ant properties preference page

Related concepts
Ant support

Related reference
General Ant preferences
Ant editor preferences
Ant formatter preferences
Ant templates preferences