ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/xdocs faq.xml
Date Tue, 13 Jul 2004 11:54:07 GMT
peterreilly    2004/07/13 04:54:07

  Modified:    xdocs    faq.xml
  Log:
  opps: forgot to commit the faq.xml for the faq.html
  
  Revision  Changes    Path
  1.57      +29 -1     ant/xdocs/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvs/ant/xdocs/faq.xml,v
  retrieving revision 1.56
  retrieving revision 1.57
  diff -u -r1.56 -r1.57
  --- faq.xml	25 Jun 2004 13:42:10 -0000	1.56
  +++ faq.xml	13 Jul 2004 11:54:07 -0000	1.57
  @@ -787,6 +787,34 @@
           WEB-INF will look correct.</p>
         </answer>
       </faq>
  +
  +    <faq id="NoClassDefFoundError">
  +      <question>I installed Ant 1.6.x and now get
  +        <code>Exception in thread "main" java.lang.NoClassDefFoundError:
  + org/apache/tools/ant/launch/Launcher</code>
  +      </question>
  +      <answer>
  +        <p>
  +          The cause of this is that there is an old version of ant somewhere in the
  +          class path or configuration.
  +        </p>
  +        <p>
  +          A version of this problem may be seen on some linux systems.
  +          Some linux systems (Fedora Core 2 for example), comes with a version
  +          of ant pre-installed. There is a configuration file called
  +          <code>/etc/ant.conf</code> which if present, the ant shell
  +          script will 'dot' include. On Fedora Core 2, the /etc/ant.conf
  +          file resets the <code>ANT_HOME</code> environment variable to
  +          <code>/usr/share/ant</code>. This causes the problem that
  +          an old version of ant (1.5.x in this cause) will be used
  +          with a new version of the ant script file.
  +        </p>
  +        <p>
  +          One can check if this is the case by doing
  +          <code>ant --noconfig -version</code>.
  +        </p>
  +      </answer>
  +    </faq>
     </faqsection>
   
     <faqsection title="Ant and IDEs/Editors">
  @@ -1514,4 +1542,4 @@
       </faq>
     </faqsection>
   
  -</document>
  \ No newline at end of file
  +</document>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message