|
|
@@ -34,6 +34,32 @@ |
|
|
|
you in the right direction. |
|
|
|
</p> |
|
|
|
|
|
|
|
<subsection name="Ensure that you are actually running the version of Ant that you think you do"> |
|
|
|
<p>Many tools include a version of Ant and some Operating |
|
|
|
Systems even install it by default now, so you may have a |
|
|
|
version of Ant installed that you haven't been aware of.</p> |
|
|
|
|
|
|
|
<p>One of the first things to do is to run |
|
|
|
<br></br><br></br> |
|
|
|
<font face="verdana" size="-1">ant -version</font> |
|
|
|
<br></br><br></br> |
|
|
|
and |
|
|
|
<br></br><br></br> |
|
|
|
<font face="verdana" size="-1">ant -diagnostics</font> |
|
|
|
<br></br><br></br> |
|
|
|
to be sure. Also, we highly recommend that you run Ant with |
|
|
|
an empty CLASSPATH. If any other version of Ant can be |
|
|
|
loaded from the CLASSPATH, many types of errors may happen |
|
|
|
because of incompatible classes being loaded.</p> |
|
|
|
|
|
|
|
<p>See <a href="faq.html">the FAQ</a> for <a |
|
|
|
href="faq.html#NoClassDefFoundError">some</a> <a |
|
|
|
href="faq.html#InstantiationException">examples</a>, but many |
|
|
|
other problems are a result of an old version of Ant on your |
|
|
|
system as well.</p> |
|
|
|
|
|
|
|
</subsection> |
|
|
|
|
|
|
|
<subsection name="Read the Manual"> |
|
|
|
<p> |
|
|
|
The first step to take when you have a problem with Ant is to read |
|
|
|