You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by jk...@apache.org on 2007/09/02 15:15:14 UTC
svn commit: r571973 -
/ant/core/branches/ANT_17_BRANCH/docs/manual/install.html
Author: jkf
Date: Sun Sep 2 06:15:14 2007
New Revision: 571973
URL: http://svn.apache.org/viewvc?rev=571973&view=rev
Log:
merge from trunk of all changes (after verification)
Modified:
ant/core/branches/ANT_17_BRANCH/docs/manual/install.html
Modified: ant/core/branches/ANT_17_BRANCH/docs/manual/install.html
URL: http://svn.apache.org/viewvc/ant/core/branches/ANT_17_BRANCH/docs/manual/install.html?rev=571973&r1=571972&r2=571973&view=diff
==============================================================================
--- ant/core/branches/ANT_17_BRANCH/docs/manual/install.html (original)
+++ ant/core/branches/ANT_17_BRANCH/docs/manual/install.html Sun Sep 2 06:15:14 2007
@@ -27,7 +27,7 @@
<h2><a name="getting">Getting Ant</a></h2>
<h3>Binary Edition</h3>
<p>The latest stable version of Ant is available from the Ant web page <a
-href="http://ant.apache.org/">http://ant.apache.org/</a>.
+href="http://ant.apache.org/" target="_top">http://ant.apache.org/</a>.
<h3>As a binary in an RPM Package</h3>
@@ -68,7 +68,7 @@
<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>.
+<a href="http://ant.apache.org/srcdownload.cgi" target="_top">http://ant.apache.org/srcdownload.cgi</a>.
If you prefer the leading-edge code, you can access
the code as it is being developed via SVN. The Ant website has details on
@@ -100,7 +100,7 @@
available on your classpath, such as Xerces.</p>
<p>
The binary distribution of Ant includes the latest version of the
-<a href="http://xml.apache.org/xerces2-j/index.html">Apache Xerces2</a> XML parser.
+<a href="http://xml.apache.org/xerces2-j/index.html" target="_top">Apache Xerces2</a> XML parser.
Please see
<a href="http://java.sun.com/xml/" target="_top">http://java.sun.com/xml/</a>
for more information about JAXP.
@@ -221,13 +221,30 @@
<td width="5%"> </td>
<td>
The ant.bat script makes use of three environment variables -
- ANT_HOME, CLASSPATH and JAVA_HOME. <b>Ensure</b> that if
- these variables are set, they do <b><u>not</u></b> have quotes (either
- ' or ") and they do <b><u>not</u></b> end with \ or with /.
+ ANT_HOME, CLASSPATH and JAVA_HOME. <b>Ensure</b> that ANT_HOME and JAVA_HOME variables are set,
+ and that they do <b><u>not</u></b> have quotes (either
+ ' or ") and they do <b><u>not</u></b> end with \ or with /. CLASSPATH should be unset or
+ empty.
</td>
</tr>
</table>
+<h3><a name="checkInstallation">Check Installation</a></h3>
+<p>You can check the basic installation with opening a new shell and typing <tt>ant</tt>. You
+should get a message like this
+<pre>
+Buildfile: build.xml does not exist!
+Build failed
+</pre>
+So Ant works. This message is there because you need to write an individual buildfile for your
+project. With a <tt>ant -version</tt> you should get an output like
+<pre>
+Apache Ant version 1.7.0 compiled on December 13 2006
+</pre>
+
+
+</p>
+
<h3><a name="optionalTasks">Optional Tasks</a></h3>
<p>Ant supports a number of optional tasks. An optional task is a task which
typically requires an external library to function. The optional tasks are
@@ -361,7 +378,7 @@
<li><b>With explicit JVM properties.</b><br>
These are documented <a
-href="http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html">by Sun</a>,
+href="http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html" target="_top">by Sun</a>,
and control the proxy behaviour of the entire JVM. To set them in Ant, declare
them in the <code>ANT_OPTS</code> environment variable. This is the best option
for a non-mobile system. For a laptop, you have to change these settings as you
@@ -422,7 +439,7 @@
<a name="jpackage"></a>
<h3>RPM version from jpackage.org</h3>
<p>
-The <a href="http://www.jpackage.org">JPackage project</a> distributes an RPM version of Ant.
+The <a href="http://www.jpackage.org" target="_top">JPackage project</a> distributes an RPM version of Ant.
With this version, it is not necessary to set <code> JAVA_HOME </code>or
<code> ANT_HOME </code>environment variables and the RPM installer will correctly
place the Ant executable on your path.
@@ -453,7 +470,7 @@
More information on where Ant finds its libraries is available
<a href="http://ant.apache.org/manual/running.html#libs">here</a></li>
<li>Download a non-jpackage binary distribution from the regular
- <a href="http://ant.apache.org/bindownload.cgi">Apache Ant site</a></li>
+ <a href="http://ant.apache.org/bindownload.cgi" target="_top">Apache Ant site</a></li>
<li>Unzip or untar the distribution into a temporary directory</li>
<li>Copy the linking jar, in this case <code>ant-starteam.jar</code>, into the library directory you
chose in step 1 above.</li>
@@ -663,10 +680,10 @@
It is called groovy-all-[version].jar.
</td>
<td>
- <a href="http://groovy.codehaus.org/">http://groovy.codehaus.org/</a>
+ <a href="http://groovy.codehaus.org/" target="_top">http://groovy.codehaus.org/</a>
<br>
The asm jars are also available from the creators of asm -
- <a href="http://asm.objectweb.org/">http://asm.objectweb.org/</a>
+ <a href="http://asm.objectweb.org/" target="_top">http://asm.objectweb.org/</a>
</td>
</tr>
<tr>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org