mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
92 lines
2.9 KiB
HTML
92 lines
2.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<title>Ant-Contrib Tasks</title>
|
|
</head>
|
|
|
|
<body>
|
|
<h1>Ant-Contrib Tasks</h1>
|
|
|
|
<h2>Contents</h2>
|
|
|
|
<ul>
|
|
<li><a href="#intro">What's this?</a></li>
|
|
<li><a href="#install">Installation</a></li>
|
|
<li><a href="tasks/index.html">Tasks</a></li>
|
|
</ul>
|
|
|
|
<h2><a name="intro">What's this?</a></h2>
|
|
|
|
<p>The Ant-Contrib project is a collection of tasks (and at one
|
|
point maybe types and other tools) for <a
|
|
href="http://ant.apache.org/">Apache Ant</a>.</p>
|
|
|
|
<p>This Software is distributed under the <a
|
|
href="LICENSE.txt">Apache Software License</a>.</p>
|
|
|
|
<h2><a name="install">Installation</a></h2>
|
|
|
|
<p>First you must install Apache Ant itself, most of the
|
|
Ant-Contrib tasks require Ant 1.5 or higher to work properly,
|
|
however, there are some tasks, specifically <for> which
|
|
require Ant 1.6. You can download Ant <a
|
|
href="http://ant.apache.org/bindownload.cgi">from
|
|
Apache</a>.</p>
|
|
|
|
<p>Then you need the Ant-Contrib tasks themselves. As there is no
|
|
release of these tasks yet, you have to build them from sources.
|
|
Fortunately this is easy, check out the sources (grab the
|
|
<code>ant-contrib</code> module from <a
|
|
href="http://sourceforge.net/cvs/?group_id=36177">CVS</a>), change
|
|
into the source directory of ant-contrib and type
|
|
<code>ant</code>. After Ant has completed, you'll find
|
|
<code>ant-contrib-version.jar</code> in the <code>lib</code>
|
|
subdirectory.</p>
|
|
|
|
<p>You now have the choice:</p>
|
|
|
|
<ol>
|
|
<li>Copy <code>ant-contrib-version.jar</code> to the
|
|
<code>lib</code> directory of your Ant installation, or on
|
|
your CLASSPATH environment variable. If you
|
|
want to use one of the tasks in your project, add the line
|
|
<pre>
|
|
<taskdef resource="net/sf/antcontrib/antlib.xml"/>
|
|
</pre>
|
|
to your build file.</li>
|
|
|
|
<br />
|
|
<br />
|
|
|
|
<li>Keep <code>ant-contrib-version.jar</code> in a separate
|
|
location. You now have to tell Ant explicitly where to find it
|
|
(say in <code>/usr/share/java/lib</code>):
|
|
<pre>
|
|
<taskdef resource="net/sf/antcontrib/antlib.xml">
|
|
<classpath>
|
|
<pathelement location="/usr/share/java/lib/ant-contrib-version.jar"/>
|
|
</classpath>
|
|
</taskdef>
|
|
</pre>
|
|
</li>
|
|
|
|
<li>If you would like to use run with Ant Version 1.5 you must use the
|
|
the .properties file instead. Keep in mind that some tasks will not
|
|
be available to you , such as the <for> task:
|
|
|
|
<pre>
|
|
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
|
|
<classpath>
|
|
<pathelement location="/usr/share/java/lib/ant-contrib-version.jar"/>
|
|
</classpath>
|
|
</taskdef>
|
|
</pre>
|
|
|
|
|
|
<hr>
|
|
<p align="center">Copyright © 2002-2004 Ant-Contrib Project. All
|
|
rights Reserved.</p>
|
|
|
|
</body>
|
|
</html>
|