You can create Ant tasks to use in your build scripts. An easy way to start is by using the Custom Task template provided by the IDE.
![]() |
You may need to mount ant.jar in the IDE's Filesystems window to compile and use some custom tasks. The Ant JAR is in ant/lib/ant.jar in your IDE's installation directory. |
To create a new Ant task:
You can use the Ant Documentation module to view Javadoc documentation for Ant classes commonly used for writing custom tasks and to enable code completion for these classes. The module also integrates the Ant manual with the IDE. See Installing Ant Documentation for more information.
![]() |
If you define custom tasks and then run a project using them at least
once, the Ant module recognizes their XML structure and enables you to
edit them in the Filesystems window just like standard tasks. The same applies to
custom data types.
For more information on writing Ant tasks, see Using Ant in the Ant 1.6.1 Manual. |
See Also | |
---|---|
Ant Classpath and Custom Ant Tasks Optional Ant Tasks |