diff options
author | mattinger <[email protected]> | 2006-07-06 21:53:00 +0000 |
---|---|---|
committer | mattinger <[email protected]> | 2006-07-06 21:53:00 +0000 |
commit | 1159111b7a71b72eb04326df33211e1733f7e742 (patch) | |
tree | f0a80c384f633e521649654ab78e6239cf5e0d6f /docs/manual/index.html |
Initial addition into subversion with build script changes
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@5 32d7a393-a5a9-423c-abd3-5d954feb1f2f
Diffstat (limited to 'docs/manual/index.html')
-rw-r--r-- | docs/manual/index.html | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/docs/manual/index.html b/docs/manual/index.html new file mode 100644 index 0000000..a5ab022 --- /dev/null +++ b/docs/manual/index.html @@ -0,0 +1,91 @@ +<!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> |