The following libraries are needed in Ant's classpath if you are using the indicated feature. Note that only one of the regexp libraries is needed for use with the mappers (and Java 1.4 and higher includes a regexp implementation which Ant will find automatically). You will also need to install the particular Ant optional jar containing the task definitions to make these tasks available.




























































































































































Jar Name



Needed For



Available At



An XSL transformer like Xalan



style task



XALAN : http://xml.apache.org/xalan-j/index.html




jakarta-regexp-1.3.jar



regexp type with mappers



http://jakarta.apache.org/regexp/



jakarta-oro-2.0.8.jar



regexp type with mappers and the perforce tasks
To use the FTP task, you need jakarta-oro 2.0.8 or later,



http://jakarta.apache.org/oro/



junit.jar



<junit> task. May be in classpath passed to task rather than Ant's classpath.



http://www.junit.org/



xalan.jar



junitreport task



http://xml.apache.org/xalan-j/



stylebook.jar



stylebook task



CVS repository of http://xml.apache.org/cvs.html



antlr.jar



antlr task



http://www.antlr.org/



bsf.jar



script task


Note : Ant 1.6 and later require Apache BSF, not the IBM version. I.e. you need BSF 2.3.0-rc1 or later.


Note : BSF 2.4.0 is needed to use a post 1.5R3 version of rhino's javascript.


Note : BSF 2.4.0 uses jakarata-commons-logging so it needs the commons-logging.jar.



http://jakarta.apache.org/bsf/



Groovy jars



Groovy with script and scriptdef tasks
You need to get the groovy jar and two asm jars from a groovy installation. The jars are groovy-[version].jar, asm-[vesion].jar and asm-util-[version].jar and antlr-[version].jar. As of groovy version 1.0-JSR-06, the jars are groovy-1.0-JSR-06.jar, antlr-2.7.5.jar, asm-2.2.jar and asm-util-2.2.jar. Alternatively one may use the embedded groovy jar file. This is located in the embedded directory of the groovy distribution. This bundles all the needed jar files into one jar file. It is called groovy-all-[version].jar.



http://groovy.codehaus.org/
The asm jars are also available from the creators of asm - http://asm.objectweb.org/



netrexx.jar



netrexx task, Rexx with the script task



http://www.ibm.com/software/awdtools/netrexx/download.html



js.jar



Javascript with script task
If you use Apache BSF 2.3.0-rc1, you must use rhino 1.5R3 (later versions of BSF (e.g. version 2.4.0) work with 1.5R4 and higher).



http://www.mozilla.org/rhino/



jython.jar



Python with script task
Warning : jython.jar also contains classes from jakarta-oro. Remove these classes if you are also using jakarta-oro.



http://jython.sourceforge.net/



jpython.jar



Python with script task deprecated, jython is the prefered engine



http://www.jpython.org/



jacl.jar and tcljava.jar



TCL with script task



http://www.scriptics.com/software/java/



BeanShell JAR(s)



BeanShell with script task.
Note : Ant requires BeanShell version 1.3 or later



http://www.beanshell.org/



jruby.jar



Ruby with script task



http://jruby.sourceforge.net/



judo.jar



Judoscript with script task



http://www.judoscript.com/index.html



commons-logging.jar



CommonsLoggingListener



http://jakarta.apache.org/commons/logging/index.html



log4j.jar



Log4jListener



http://jakarta.apache.org/log4j/docs/index.html



commons-net.jar



ftp, rexec and telnet tasks
jakarta-oro 2.0.8 or later is required together with commons-net 1.4.0.
For all users, a minimum version of commons-net of 1.4.0 is recommended. Earlier versions did not support the full range of configuration options, and 1.4.0 is needed to compile Ant.



http://jakarta.apache.org/commons/net/index.html



bcel.jar



classfileset data type, JavaClassHelper used by the ClassConstants filter reader and optionally used by ejbjar for dependency determination



http://jakarta.apache.org/bcel/



mail.jar



Mail task with Mime encoding, and the MimeMail task



http://java.sun.com/products/javamail/



jsse.jar



Support for SMTP over TLS/SSL
in the Mail task
Already included Java 1.4+



http://java.sun.com/products/jsse/



activation.jar



Mail task with Mime encoding, and the MimeMail task



http://java.sun.com/products/javabeans/glasgow/jaf.html



jdepend.jar



jdepend task



http://www.clarkware.com/software/JDepend.html



resolver.jar 1.1beta or later



xmlcatalog datatype only if support for external catalog files is desired



http://xml.apache.org/commons/ .



jsch.jar 0.1.29 or later



sshexec and scp tasks



http://www.jcraft.com/jsch/index.html



JAI - Java Advanced Imaging



image task



http://java.sun.com/products/java-media/jai/



Starteam SDK



Starteam version management tasks



http://www.borland.com/downloads/download_starteam.html



Note:- All the jars need not to be used in your build process. so always take the dependency list for the project while using the ANT.

                    

Copyright © 2010 VisualBuilder. All rights reserved