bodewig     2004/09/21 05:07:54

  Modified:    docs     Tag: ANT_16_BRANCH faq.html problems.html
               xdocs    Tag: ANT_16_BRANCH faq.xml problems.xml
  Log:
  merge
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.77.2.18 +10 -0     ant/docs/faq.html
  
  Index: faq.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/faq.html,v
  retrieving revision 1.77.2.17
  retrieving revision 1.77.2.18
  diff -u -r1.77.2.17 -r1.77.2.18
  --- faq.html  16 Jul 2004 07:25:04 -0000      1.77.2.17
  +++ faq.html  21 Sep 2004 12:07:53 -0000      1.77.2.18
  @@ -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>
  @@ -972,6 +975,13 @@
   &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>
  
  
  
  1.49.2.5  +22 -0     ant/docs/problems.html
  
  Index: problems.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/problems.html,v
  retrieving revision 1.49.2.4
  retrieving revision 1.49.2.5
  diff -u -r1.49.2.4 -r1.49.2.5
  --- problems.html     29 Jun 2004 15:03:48 -0000      1.49.2.4
  +++ problems.html     21 Sep 2004 12:07:54 -0000      1.49.2.5
  @@ -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>
  
  
  
  No                   revision
  No                   revision
  1.38.2.17 +11 -0     ant/xdocs/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvs/ant/xdocs/faq.xml,v
  retrieving revision 1.38.2.16
  retrieving revision 1.38.2.17
  diff -u -r1.38.2.16 -r1.38.2.17
  --- faq.xml   16 Jul 2004 07:25:04 -0000      1.38.2.16
  +++ faq.xml   21 Sep 2004 12:07:54 -0000      1.38.2.17
  @@ -622,6 +622,17 @@
     </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>
  
  
  
  1.14.2.2  +26 -0     ant/xdocs/problems.xml
  
  Index: problems.xml
  ===================================================================
  RCS file: /home/cvs/ant/xdocs/problems.xml,v
  retrieving revision 1.14.2.1
  retrieving revision 1.14.2.2
  diff -u -r1.14.2.1 -r1.14.2.2
  --- problems.xml      16 Feb 2004 16:45:09 -0000      1.14.2.1
  +++ problems.xml      21 Sep 2004 12:07:54 -0000      1.14.2.2
  @@ -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
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to