You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

install.html 22 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <link rel="stylesheet" type="text/css" href="stylesheets/style.css">
  5. <title>Installing Ant</title>
  6. </head>
  7. <body>
  8. <h1>Installing Ant</h1>
  9. <h2><a name="getting">Getting Ant</a></h2>
  10. <h3>Binary Edition</h3>
  11. <p>The latest stable version of Ant is available from the Ant web page <a
  12. href="http://ant.apache.org/">http://ant.apache.org/</a>.
  13. If you like living on the edge, you can download the latest version from <a
  14. href="http://cvs.apache.org/builds/ant/nightly/">http://cvs.apache.org/builds/ant/nightly/</a>.</p>
  15. <h3>Source Edition</h3>
  16. <p>If you prefer the source edition, you can download the source for the latest Ant release from <a href="http://ant.apache.org/srcdownload.cgi">http://ant.apache.org/srcdownload.cgi</a>.
  17. Again, if you prefer the edge, you can access
  18. the code as it is being developed via CVS. The Jakarta website has details on
  19. <a href="http://jakarta.apache.org/site/cvsindex.html" target="_top">accessing CVS</a>. Please checkout the
  20. ant module.
  21. See the section <a href="#buildingant">Building Ant</a> on how to
  22. build Ant from the source code.
  23. You can also access the
  24. <a href="http://cvs.apache.org/viewcvs/ant/" target="_top">
  25. Ant CVS repository</a> on-line. </p>
  26. <hr>
  27. <h2><a name="sysrequirements">System Requirements</a></h2>
  28. Ant has been used successfully on many platforms, including Linux,
  29. commercial flavours of Unix such as Solaris and HP-UX,
  30. Windows 9x and NT, OS/2 Warp, Novell Netware 6 and MacOS X.
  31. <p>
  32. To build and use Ant, you must have a JAXP-compliant XML parser installed and
  33. available on your classpath.</p>
  34. <p>
  35. The binary distribution of Ant includes the latest version of the
  36. <a href="http://xml.apache.org/xerces2-j/index.html">Apache Xerces2</a> XML parser.
  37. Please see
  38. <a href="http://java.sun.com/xml/" target="_top">http://java.sun.com/xml/</a>
  39. for more information about JAXP.
  40. If you wish to use a different JAXP-compliant parser, you should remove
  41. <code>xercesImpl.jar</code> and <code>xml-apis.jar</code>
  42. from Ant's <code>lib</code> directory.
  43. You can then either put the jars from your preferred parser into Ant's
  44. <code>lib</code> directory or put the jars on the system classpath.</p>
  45. <p>
  46. For the current version of Ant, you will also need a JDK installed on
  47. your system, version 1.2 or later.
  48. </p><p>
  49. <strong>Note: </strong>The Microsoft JVM/JDK is not supported.
  50. </p>
  51. <p>
  52. <strong>Note #2: </strong>If a JDK is not present, only the JRE runtime, then many tasks will not work.
  53. </p>
  54. <hr>
  55. <h2><a name="installing">Installing Ant</a></h2>
  56. <p>The binary distribution of Ant consists of the following directory layout:
  57. <pre>
  58. ant
  59. +--- bin // contains launcher scripts
  60. |
  61. +--- lib // contains Ant jars plus necessary dependencies
  62. |
  63. +--- docs // contains documentation
  64. | +--- ant2 // a brief description of ant2 requirements
  65. | |
  66. | +--- images // various logos for html documentation
  67. | |
  68. | +--- manual // Ant documentation (a must read ;-)
  69. |
  70. +--- etc // contains xsl goodies to:
  71. // - create an enhanced report from xml output of various tasks.
  72. // - migrate your build files and get rid of 'deprecated' warning
  73. // - ... and more ;-)
  74. </pre>
  75. Only the <code>bin</code> and <code>lib</code> directories are
  76. required to run Ant.
  77. To install Ant, choose a directory and copy the distribution
  78. file there. This directory will be known as ANT_HOME.
  79. </p>
  80. <table width="80%">
  81. <tr>
  82. <td colspan="2">
  83. <b>Windows 95, Windows 98 &amp; Windows ME Note:</b>
  84. </td>
  85. </tr>
  86. <tr>
  87. <td width="5%">&nbsp;</td>
  88. <td><i>
  89. On these systems, the script used to launch Ant will have
  90. problems if ANT_HOME is a long filename (i.e. a filename which is not
  91. of the format known as &quot;8.3&quot;). This is due to
  92. limitations in the OS's handling of the <code>&quot;for&quot;</code>
  93. batch-file statement. It is recommended, therefore, that Ant be
  94. installed in a <b>short</b>, 8.3 path, such as C:\Ant. </i>
  95. </td>
  96. </tr>
  97. <tr>
  98. <td width="5%">&nbsp;</td>
  99. <td>
  100. <p>On these systems you will also need to configure more environment
  101. space to cater for the environment variables used in the Ant lauch script.
  102. To do this, you will need to add or update the following line in
  103. the <code>config.sys</code> file
  104. </p>
  105. <p><code>shell=c:\command.com c:\ /p /e:32768</code></p>
  106. </td>
  107. </tr>
  108. </table>
  109. <h3>Setup</h3>
  110. <p>
  111. Before you can run ant there is some additional set up you
  112. will need to do unless you are installing the <a href="#jpackage">RPM
  113. version from jpackage.org</a>:</p>
  114. <ul>
  115. <li>Add the <code>bin</code> directory to your path.</li>
  116. <li>Set the <code>ANT_HOME</code> environment variable to the
  117. directory where you installed Ant. On some operating systems the ant
  118. wrapper scripts can guess <code>ANT_HOME</code> (Unix dialects and
  119. Windows NT/2000), but it is better to not rely on this behavior.</li>
  120. <li>Optionally, set the <code>JAVA_HOME</code> environment variable
  121. (see the <a href="#advanced">Advanced</a> section below).
  122. This should be set to the directory where your JDK is installed.</li>
  123. </ul>
  124. <p><strong>Note:</strong> Do not install Ant's ant.jar file into the lib/ext
  125. directory of the JDK/JRE. Ant is an application, whilst the extension
  126. directory is intended for JDK extensions. In particular there are security
  127. restrictions on the classes which may be loaded by an extension.</p>
  128. <h3><a name="optionalTasks">Optional Tasks</a></h3>
  129. <p>Ant supports a number of optional tasks. An optional task is a task which
  130. typically requires an external library to function. The optional tasks are
  131. packaged together with the core Ant tasks.</p>
  132. <p>The external libraries required by each of the optional tasks is detailed
  133. in the <a href="#librarydependencies">Library Dependencies</a> section. These external
  134. libraries may either be placed in Ant's lib directory, where they will be picked up
  135. automatically, or made available on the system CLASSPATH environment variable.
  136. </p>
  137. <h3>Windows and OS/2</h3>
  138. <p>Assume Ant is installed in <code>c:\ant\</code>. The following sets up the
  139. environment:</p>
  140. <pre>set ANT_HOME=c:\ant
  141. set JAVA_HOME=c:\jdk1.2.2
  142. set PATH=%PATH%;%ANT_HOME%\bin</pre>
  143. <h3>Unix (bash)</h3>
  144. <p>Assume Ant is installed in <code>/usr/local/ant</code>. The following sets up
  145. the environment:</p>
  146. <pre>export ANT_HOME=/usr/local/ant
  147. export JAVA_HOME=/usr/local/jdk-1.2.2
  148. export PATH=${PATH}:${ANT_HOME}/bin</pre>
  149. <h3>Unix (csh)</h3>
  150. <pre>setenv ANT_HOME /usr/local/ant
  151. setenv JAVA_HOME /usr/local/jdk-1.2.2
  152. set path=( $path $ANT_HOME/bin )</pre>
  153. <a name="jpackage"></a>
  154. <h3>RPM version from jpackage.org</h3>
  155. <p>
  156. The <a href="www.jpackage.org">JPackage project</a> distributes an RPM version of Ant.
  157. With this version, it is not necessary to set <code> JAVA_HOME </code>or
  158. <code> ANT_HOME </code>environment variables and the RPM installer will correctly
  159. place the Ant executable on your path. The <code> ANT_HOME </code>environment variable will
  160. be ignored, if set, when running the JPackage version of Ant.
  161. </p><p>
  162. Optional jars for the JPackage version are handled in two ways. The easiest, and
  163. best way is to get these external libraries from JPackage if JPackage has them
  164. available. (Note: for each such library, you will have to get both the external
  165. package itself (e.g. <code>oro-2.0.8-2jpp.noarch.rpm</code>) and the small library that links
  166. ant and the external package (e.g. <code>ant-apache-oro-1.6.2-3jpp.noarch.rpm</code>).
  167. </p><p>
  168. However, JPackage does not package proprietary software, and since some of the
  169. optional packages depend on proprietary jars, they must be handled as follows.
  170. This may violate the spirit of JPackage, but it is necessary if you need these proprietary packages.
  171. For example, suppose you want to install support for starteam, which jpackage does not
  172. support:
  173. <ol>
  174. <li>Decide where you want to deploy the extra jars. One option is in <code>$ANT_HOME/lib</code>,
  175. which, for JPackage is usually <code>/usr/share/ant/lib</code>. Another, less messy option
  176. is to create an <code>.ant/lib</code> subdirectory of your home directory and place your
  177. non-jpackage ant jars there, thereby avoiding mixing jpackage
  178. libraries with non-jpacakge stuff in the same folder. More information on where Ant finds its libraries is available
  179. <a href="http://ant.apache.org/manual/running.html#libs">here</a></li>
  180. <li>Download a non-jpackage binary distribution from the regular <a href="http://ant.apache.org/bindownload.cgi">Apache Ant site</a></li>
  181. <li>Unzip or untar the distribution into a temporary directory</li>
  182. <li>Copy the linking jar, in this case <code>ant-starteam.jar</code>, into the library directory you
  183. chose in step 1 above.</li>
  184. <li>Copy the proprietary jar itself into the same directory.</li>
  185. </ol>
  186. Finally, if for some reason you are running on a system with both the JPackage and Apache versions of Ant
  187. available, if you should want to run the Apache version (which will have to be specified with an absolute file name,
  188. not found on the path), you should use Ant's <code>--noconfig</code> command-line switch to avoid JPackage's classpath mechanism.
  189. <h3><a name="advanced">Advanced</a></h3>
  190. <p>There are lots of variants that can be used to run Ant. What you need is at
  191. least the following:</p>
  192. <ul>
  193. <li>The classpath for Ant must contain <code>ant.jar</code> and any jars/classes
  194. needed for your chosen JAXP-compliant XML parser.</li>
  195. <li>When you need JDK functionality
  196. (such as for the <a href="CoreTasks/javac.html">javac</a> task or the
  197. <a href="CoreTasks/rmic.html">rmic</a> task), then for JDK 1.1, the <code>classes.zip</code>
  198. file of the JDK must be added to the classpath; for JDK 1.2 or JDK 1.3, <code>tools.jar</code>
  199. must be added. The scripts supplied with Ant,
  200. in the <code>bin</code> directory, will add
  201. the required JDK classes automatically, if the <code>JAVA_HOME</code>
  202. environment variable is set.</li>
  203. <li>When you are executing platform-specific applications, such as the
  204. <a href="CoreTasks/exec.html">exec</a> task or the
  205. <a href="CoreTasks/cvs.html">cvs</a> task, the property <code>ant.home</code>
  206. must be set to the directory containing where you installed Ant. Again
  207. this is set by the Ant scripts to the value of the ANT_HOME environment
  208. variable.</li>
  209. </ul>
  210. The supplied ant shell scripts all support an <tt>ANT_OPTS</tt>
  211. environment variable which can be used to supply extra options
  212. to ant. Some of the scripts also read in an extra script stored
  213. in the users home directory, which can be used to set such options. Look
  214. at the source for your platform's invocation script for details.
  215. <hr>
  216. <h2><a name="buildingant">Building Ant</a></h2>
  217. <p>To build Ant from source, you can either install the Ant source distribution
  218. or checkout the ant module from CVS.</p>
  219. <p>Once you have installed the source, change into the installation
  220. directory.</p>
  221. <p>Set the <code>JAVA_HOME</code> environment variable
  222. to the directory where the JDK is installed.
  223. See <a href="#installing">Installing Ant</a>
  224. for examples on how to do this for your operating system. </p>
  225. <p><b>Note</b>: The bootstrap process of Ant requires a greedy
  226. compiler like Sun's javac or jikes. It does not work with gcj or
  227. kjc.</b>
  228. <p>Make sure you have downloaded any auxiliary jars required to
  229. build tasks you are interested in. These should either be available
  230. on the CLASSPATH or added to the <code>lib</code>
  231. directory.
  232. See <a href="#librarydependencies">Library Dependencies</a>
  233. for a list of jar requirements for various features.
  234. Note that this will make the auxiliary jars
  235. available for the building of Ant only. For running Ant you will
  236. still need to
  237. make the jars available as described under
  238. <a href="#installing">Installing Ant</a>.</p>
  239. <p>Your are now ready to build Ant:</p>
  240. <blockquote>
  241. <p><code>build -Ddist.dir=&lt;<i>directory_to_contain_Ant_distribution</i>&gt; dist</code>&nbsp;&nbsp;&nbsp;&nbsp;(<i>Windows</i>)</p>
  242. <p><code>build.sh -Ddist.dir=&lt;<i>directory_to_contain_Ant_distribution</i>&gt; dist</code>&nbsp;&nbsp;&nbsp;&nbsp;(<i>Unix</i>)</p>
  243. </blockquote>
  244. <p>This will create a binary distribution of Ant in the directory you specified.</p>
  245. <p>The above action does the following:</p>
  246. <ul>
  247. <li>If necessary it will bootstrap the Ant code. Bootstrapping involves the manual
  248. compilation of enough Ant code to be able to run Ant. The bootstrapped Ant is
  249. used for the remainder of the build steps. </li>
  250. <li>Invokes the bootstrapped Ant with the parameters passed to the build script. In
  251. this case, these parameters define an Ant property value and specify the &quot;dist&quot; target
  252. in Ant's own <code>build.xml</code> file.</li>
  253. </ul>
  254. <p>On most occasions you will not need to explicitly bootstrap Ant since the build
  255. scripts do that for you. If however, the build file you are using makes use of features
  256. not yet compiled into the bootstrapped Ant, you will need to manually bootstrap.
  257. Run <code>bootstrap.bat</code> (Windows) or <code>bootstrap.sh</code> (UNIX)
  258. to build a new bootstrap version of Ant.</p>
  259. If you wish to install the build into the current <code>ANT_HOME</code>
  260. directory, you can use:
  261. <blockquote>
  262. <p><code>build install</code>&nbsp;&nbsp;&nbsp;&nbsp;(<i>Windows</i>)</p>
  263. <p><code>build.sh install</code>&nbsp;&nbsp;&nbsp;&nbsp;(<i>Unix</i>)</p>
  264. </blockquote>
  265. You can avoid the lengthy Javadoc step, if desired, with:
  266. <blockquote>
  267. <p><code>build install-lite</code>&nbsp;&nbsp;&nbsp;&nbsp;(<i>Windows</i>)</p>
  268. <p><code>build.sh install-lite</code>&nbsp;&nbsp;&nbsp;&nbsp;(<i>Unix</i>)</p>
  269. </blockquote>
  270. This will only install the <code>bin</code> and <code>lib</code> directories.
  271. <p>Both the <code>install</code> and
  272. <code>install-lite</code> targets will overwrite
  273. the current Ant version in <code>ANT_HOME</code>.</p>
  274. <hr>
  275. <h2><a name="librarydependencies">Library Dependencies</a></h2>
  276. <p>The following libraries are needed in your CLASSPATH or in the
  277. install directory's <code>lib</code> directory if you are using the
  278. indicated feature. Note that only one of the regexp libraries is
  279. needed for use with the mappers
  280. (and Java 1.4 and higher includes a regexp implementation which
  281. Ant will find automatically).
  282. You will also need to install the
  283. Ant optional jar containing the task definitions to make these
  284. tasks available. Please refer to the <a href="#optionalTasks">
  285. Installing Ant / Optional Tasks</a> section above.</p>
  286. <table border="1" cellpadding="2" cellspacing="0">
  287. <tr>
  288. <td><b>Jar Name</b></td>
  289. <td><b>Needed For</b></td>
  290. <td><b>Available At</b></td>
  291. </tr>
  292. <tr>
  293. <td>An XSL transformer like Xalan or XSL:P</td>
  294. <td>style task</td>
  295. <td>
  296. <b>If you use JDK 1.4, an XSL transformer is already included, so you need not do anything special.</b><br>
  297. <ul><li>XALAN : <a href="http://xml.apache.org/xalan-j/index.html"
  298. target="_top">http://xml.apache.org/xalan-j/index.html</a></li>
  299. <li>XSL:P : used to live at <a href="http://www.clc-marketing.com/xslp/"
  300. target="_top">http://www.clc-marketing.com/xslp/</a>, but the link
  301. doesn't work any longer and we are not aware of a replacement site.</li></ul>
  302. </td>
  303. </tr>
  304. <tr>
  305. <td>jakarta-regexp-1.3.jar</td>
  306. <td>regexp type with mappers</td>
  307. <td><a href="http://jakarta.apache.org/regexp/" target="_top">http://jakarta.apache.org/regexp/</a></td>
  308. </tr>
  309. <tr>
  310. <td>jakarta-oro-2.0.7.jar</td>
  311. <td>regexp type with mappers and the perforce tasks<br>
  312. To use the FTP task,
  313. you need jakarta-oro 2.0.1 or later, and <a href="#commons-net">commons-net</a></td>
  314. <td><a href="http://jakarta.apache.org/oro/" target="_top">http://jakarta.apache.org/oro/</a></td>
  315. </tr>
  316. <tr>
  317. <td>junit.jar</td>
  318. <td>junit tasks</td>
  319. <td><a href="http://www.junit.org/" target="_top">http://www.junit.org/</a></td>
  320. </tr>
  321. <tr>
  322. <td>xalan.jar</td>
  323. <td>junitreport task</td>
  324. <td><a href="http://xml.apache.org/xalan-j/" target="_top">http://xml.apache.org/xalan-j/</a></td>
  325. </tr>
  326. <tr>
  327. <td>stylebook.jar</td>
  328. <td>stylebook task</td>
  329. <td>CVS repository of <a href="http://xml.apache.org/cvs.html" target="_top">http://xml.apache.org/cvs.html</a></td>
  330. </tr>
  331. <tr>
  332. <td>testlet.jar</td>
  333. <td><strong>deprecated</strong> test task</td>
  334. <td>Build from the gzip compress tar archive in <a
  335. href="http://avalon.apache.org/historiccvs/testlet/"
  336. target="_top">http://avalon.apache.org/historiccvs/testlet/</a></td>
  337. </tr>
  338. <tr>
  339. <td>antlr.jar</td>
  340. <td>antlr task</td>
  341. <td><a href="http://www.antlr.org/" target="_top">http://www.antlr.org/</a></td>
  342. </tr>
  343. <tr>
  344. <td >bsf.jar</td>
  345. <td>script task<br>
  346. <strong>Note</strong>: Ant 1.6 and later require Apache BSF, not
  347. the IBM version. I.e. you need BSF 2.3.0-rc1 or later.</td>
  348. <td><a href="http://jakarta.apache.org/bsf/" target="_top">http://jakarta.apache.org/bsf/</a></td>
  349. </tr>
  350. <tr>
  351. <td>Groovy jars</td>
  352. <td>Groovy with script and scriptdef tasks<br>
  353. You need to get the groovy jar and two asm jars from a groovy
  354. installation. The jars are groovy-[version].jar, asm-[vesion].jar and
  355. asm-util-[version].jar. As of groovy version 1.0-beta-7, the jars are
  356. groovy-1.0-beta-7.jar, asm-1.4.3.jar and asm-util-1.4.3.jar.
  357. </td>
  358. <td>
  359. <a href="http://groovy.codehaus.org/">http://groovy.codehaus.org/</a>
  360. <br>
  361. The asm jars are also available from the creators of asm -
  362. <a href="http://asm.objectweb.org/">http://asm.objectweb.org/</a>
  363. </td>
  364. </tr>
  365. <tr>
  366. <td>netrexx.jar</td>
  367. <td>netrexx task, Rexx with the script task</td>
  368. <td><a href="http://www2.hursley.ibm.com/netrexx/" target="_top">
  369. http://www2.hursley.ibm.com/netrexx/</a></td>
  370. </tr>
  371. <tr>
  372. <td>js.jar</td>
  373. <td>Javascript with script task<br>
  374. If you use Apache BSF 2.3.0-rc1, you must use rhino 1.5R3 (later
  375. versions of BSF work with 1.5R4 as well).</td>
  376. <td><a href="http://www.mozilla.org/rhino/" target="_top">http://www.mozilla.org/rhino/</a></td>
  377. </tr>
  378. <tr>
  379. <td>jython.jar</td>
  380. <td>Python with script task<br>
  381. Warning : jython.jar also contains classes from jakarta-oro.
  382. Remove these classes if you are also using jakarta-oro.</td>
  383. <td><a href="http://jython.sourceforge.net/" target="_top">http://jython.sourceforge.net/</a></td>
  384. </tr>
  385. <tr>
  386. <td>jpython.jar</td>
  387. <td>Python with script task <b>deprecated, jython is the prefered engine</b></td>
  388. <td><a href="http://www.jpython.org/" target="_top">http://www.jpython.org/</a></td>
  389. </tr>
  390. <tr>
  391. <td>jacl.jar and tcljava.jar</td>
  392. <td>TCL with script task</td>
  393. <td><a href="http://www.scriptics.com/software/java/" target="_top">http://www.scriptics.com/software/java/</a></td>
  394. </tr>
  395. <tr>
  396. <td>BeanShell JAR(s)</td>
  397. <td>BeanShell with script task.
  398. <br>
  399. <strong>Note</strong>: Ant 1.6 and later require BeanShell version 1.3 or
  400. later</td>
  401. <td><a href="http://www.beanshell.org/" target="_top">http://www.beanshell.org/</a></td>
  402. </tr>
  403. <tr>
  404. <td>jruby.jar</td>
  405. <td>Ruby with script task</td>
  406. <td><a href="http://jruby.sourceforge.net/" target="_top">http://jruby.sourceforge.net/</a></td>
  407. </tr>
  408. <tr>
  409. <td>judo.jar</td>
  410. <td>Judoscript with script task</td>
  411. <td><a href="http://www.judoscript.com/index.html" target="_top">http://www.judoscript.com/index.html</a></td>
  412. </tr>
  413. <tr>
  414. <td>commons-logging.jar</td>
  415. <td>CommonsLoggingListener</td>
  416. <td><a href="http://jakarta.apache.org/commons/logging/index.html"
  417. target="_top">http://jakarta.apache.org/commons/logging/index.html</a></td>
  418. </tr>
  419. <tr>
  420. <td>log4j.jar</td>
  421. <td>Log4jListener</td>
  422. <td><a href="http://jakarta.apache.org/log4j/docs/index.html"
  423. target="_top">http://jakarta.apache.org/log4j/docs/index.html</a></td>
  424. </tr>
  425. <tr>
  426. <td><a name="commons-net">commons-net.jar</td>
  427. <td>ftp, rexec and telnet tasks<br>
  428. jakarta-oro 2.0.1 or later is required in any case together with commons-net.<br>
  429. For all users, a minimum version of commons-net of 1.4.0 is recommended. Earlier
  430. versions did not support the full range of configuration options, and 1.4.0 is needed
  431. to compile Ant.
  432. </td>
  433. <td><a href="http://jakarta.apache.org/commons/net/index.html"
  434. target="_top">http://jakarta.apache.org/commons/net/index.html</a></td>
  435. </tr>
  436. <tr>
  437. <td>bcel.jar</td>
  438. <td>classfileset data type,
  439. JavaClassHelper used by the ClassConstants filter reader and
  440. optionally used by ejbjar for dependency determination
  441. </td>
  442. <td><a href="http://jakarta.apache.org/bcel/" target="_top">http://jakarta.apache.org/bcel/</a></td>
  443. </tr>
  444. <tr>
  445. <td>mail.jar</td>
  446. <td>Mail task with Mime encoding, and the MimeMail task</td>
  447. <td><a href="http://java.sun.com/products/javamail/"
  448. target="_top">http://java.sun.com/products/javamail/</a></td>
  449. </tr>
  450. <tr>
  451. <td>jsse.jar</td>
  452. <td>
  453. Support for SMTP over TLS/SSL <br>
  454. in the Mail task<br>
  455. Already included in jdk 1.4</td>
  456. <td><a href="http://java.sun.com/products/jsse/"
  457. target="_top">http://java.sun.com/products/jsse/</a></td>
  458. </tr>
  459. <tr>
  460. <td>activation.jar</td>
  461. <td>Mail task with Mime encoding, and the MimeMail task</td>
  462. <td><a href="http://java.sun.com/products/javabeans/glasgow/jaf.html"
  463. target="_top">http://java.sun.com/products/javabeans/glasgow/jaf.html</a></td>
  464. </tr>
  465. <tr>
  466. <td>jdepend.jar</td>
  467. <td>jdepend task</td>
  468. <td><a href="http://www.clarkware.com/software/JDepend.html"
  469. target="_top">http://www.clarkware.com/software/JDepend.html</a></td>
  470. </tr>
  471. <tr>
  472. <td>resolver.jar <b>1.1beta or later</b></td>
  473. <td>xmlcatalog datatype <em>only if support for external catalog files is desired</em></td>
  474. <td><a href="http://xml.apache.org/commons/"
  475. target="_top">http://xml.apache.org/commons/</a>.</td>
  476. </tr>
  477. <tr>
  478. <td>jsch.jar</td>
  479. <td>sshexec and scp tasks</td>
  480. <td><a href="http://www.jcraft.com/jsch/index.html"
  481. target="_top">http://www.jcraft.com/jsch/index.html</a></td>
  482. </tr>
  483. <tr>
  484. <td>JAI - Java Advanced Imaging</td>
  485. <td>image task</td>
  486. <td><a href="http://java.sun.com/products/java-media/jai/"
  487. target="_top">http://java.sun.com/products/java-media/jai/</a></td>
  488. </tr>
  489. <tr>
  490. <td>IContract</td>
  491. <td>icontract task<br>
  492. Warning : the icontract jar file contains also antlr classes.<br>
  493. To make the antlr task work properly, remove antlr/ANTLRGrammarParseBehavior.class
  494. from the icontract jar file installed under $ANT_HOME/lib.</td>
  495. <td><a href="http://www.reliable-systems.com/tools/"
  496. target="_top">http://www.reliable-systems.com/tools/</a></td>
  497. </tr>
  498. </table>
  499. <br>
  500. <hr>
  501. <p align="center">Copyright &copy; 2000-2005 The Apache Software Foundation. All rights
  502. Reserved.</p>
  503. </body>
  504. </html>