Browse Source

It is a good idea to look for a different version of Ant before reporting a bug

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276876 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 20 years ago
parent
commit
17f55de7cf
4 changed files with 69 additions and 0 deletions
  1. +10
    -0
      docs/faq.html
  2. +22
    -0
      docs/problems.html
  3. +11
    -0
      xdocs/faq.xml
  4. +26
    -0
      xdocs/problems.xml

+ 10
- 0
docs/faq.html View File

@@ -250,6 +250,9 @@
</ul>
<h4 class="toc">It doesn't work (as expected)</h4>
<ul>
<li><a href="#genral-advice">
General Advice
</a></li>
<li><a href="#always-recompiles">
Why does Ant always recompile all my Java files?
</a></li>
@@ -990,6 +993,13 @@ shell-prompt&gt; m4 foo.m4 &gt; foo
&lt;/macrodef&gt;
</pre>
<p class="faq">
<a name="genral-advice"></a>
General Advice
</p>
<p>There are many reasons why Ant doesn't behave as
expected, not all of them are due to Ant bugs. See our <a href="problems.html">Having Problems?</a> page for hints that
may help pinning down the reasons for your problem.</p>
<p class="faq">
<a name="always-recompiles"></a>
Why does Ant always recompile all my Java files?
</p>


+ 22
- 0
docs/problems.html View File

@@ -184,6 +184,28 @@
you in the right direction.
</p>
<h4 class="subsection">
<a name="Ensure that you are actually running the version of Ant that you think you do"></a>
Ensure that you are actually running the version of Ant that you think you do
</h4>
<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 />
<font face="verdana" size="-1">ant -version</font>
<br /><br />
and
<br /><br />
<font face="verdana" size="-1">ant -diagnostics</font>
<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>
<h4 class="subsection">
<a name="Read the Manual"></a>
Read the Manual
</h4>


+ 11
- 0
xdocs/faq.xml View File

@@ -623,6 +623,17 @@ shell-prompt> m4 foo.m4 > foo
</faqsection>

<faqsection title="It doesn&apos;t work (as expected)">
<faq id="genral-advice">
<question>General Advice</question>
<answer>

<p>There are many reasons why Ant doesn&apos;t behave as
expected, not all of them are due to Ant bugs. See our <a
href="problems.html">Having Problems?</a> page for hints that
may help pinning down the reasons for your problem.</p>
</answer>
</faq>

<faq id="always-recompiles">
<question>Why does Ant always recompile all my Java files?</question>
<answer>


+ 26
- 0
xdocs/problems.xml View File

@@ -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


Loading…
Cancel
Save