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 | http://jakarta.apache.org/oro/ |
junit.jar | <junit> task. May be in classpath passed to task rather than Ant's classpath. | |
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 | |
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 | http://groovy.codehaus.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 | |
jython.jar | Python with script task | http://jython.sourceforge.net/ |
jpython.jar | Python with script task deprecated, jython is the prefered engine | |
jacl.jar and tcljava.jar | TCL with script task | http://www.scriptics.com/software/java/ |
BeanShell JAR(s) | BeanShell with script task. | |
jruby.jar | Ruby with script task | |
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 | 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 | 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.
Java Discussion
- - Java web application
- - Difference between BMT an
- - Replace getParameterValue
- - Interviewing Next week -
- - Sudoku solver





