From 94ad04399fc4257a54701ce54cc65d7a007a842d Mon Sep 17 00:00:00 2001 From: wisberg Date: Tue, 12 Jul 2005 21:00:30 +0000 Subject: Ant 1.6 antlib.xml support, per bug 103493 --- docs/devGuideDB/antsupport.xml | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/devGuideDB/antsupport.xml b/docs/devGuideDB/antsupport.xml index 900107bbb..d0a4876c6 100644 --- a/docs/devGuideDB/antsupport.xml +++ b/docs/devGuideDB/antsupport.xml @@ -56,11 +56,11 @@ at http://eclipse.org/aspectj. - In Ant, third-party tasks can be declared using a taskdef entry in + In Ant 1.5, third-party tasks can be declared using a taskdef entry in the build script, to identify the name and classes. When declaring a task, include the aspectjtools.jar either in the - taskdef classpath or in ${ANT_HOME}/lib where it will be added + taskdef classpath or in ${ANT_HOME}/lib where it will be added to the system class path by the ant script. You may specify the task script names directly, or use the "resource" attribute to specify the default names: @@ -76,6 +76,29 @@ The current resource file retains the name "ajc" for the Ajc10 task, and uses "iajc" for the AspectJ post-1.1 task. + + In Ant 1.6, third-party tasks are declared in their own namespace + using antlib.xml. For example, the following + script would build and run the spacewar example, if you put the + script in the examples directory and aspectjtools.jar + in the ${ANT_HOME}/lib directory. + + + + + + + + +]]> + For more information on using Ant, please refer to Jakarta's documentation on integrating user-defined Ant tasks into builds. -- cgit v1.2.3