Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Workbench User Guide
Previous Page Home Next Page

Adding new Ant tasks and types

Add new Ant tasks and types through the Ant preferences page. These tasks and types will be available for buildfiles running in the Workbench without, having to use taskdef or typedef in the script declaration (For more on taskdef or typedef see the Ant documentation in https://ant.apache.org).

To add a new task or type:

  1. Open the Ant > Runtime preference page.
  2. Click the Tasks tab or the Types tab.
  3. Click Add Task or Add Type.
  4. Provide a name and class for the task or type.
  5. Select the library where the task or type is declared. If the library is not present on the list, you must add it to the Ant classpath (see the Related task link below).

Related concepts
Ant Support
Builds
External tools

Related tasks
Running external tools
Modifying the Ant classpath
Using a different version of Ant


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire