ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KC Baltz <KBa...@responsenetworks.com>
Subject RE: beginner needs help(Ant related)
Date Sat, 30 Dec 2000 16:23:16 GMT
I think the previous solution is correct.  Ant can't find ant.jar.  However,
let me share a tip with you.  I perform all of my work involving Ant without
having CLASSPATH set.  All you need to have set is JAVA_HOME=x:\jdk1.3 and
ANT_HOME=x:\jakarta-ant.  That's it.  Ant and a well built build.xml
preclude the need for a CLASSPATH.

K.C.

> -----Original Message-----
> From: SoftwareSolutions@endurance.co.uk
> [mailto:SoftwareSolutions@endurance.co.uk]
> Sent: Friday, December 29, 2000 12:03 PM
> To: ant-user@jakarta.apache.org
> Subject: beginner needs help(Ant related)
> 
> 
> Dear helper,
> 
> I have downloaded Tomcat and have correctly configured
> 
> It displays the following classpath:
> 
> Using CLASSPATH: 
> e:\foo\jakarta-tomcat-3.2.1\classes;e:\foo\jakarta-tomcat-3.2.1
> \lib\ant.jar;e:\foo\jakarta-tomcat-3.2.1\lib\jasper.jar;e:\foo
> \jakarta-tomcat-3.
> 2.1\lib\jaxp.jar;e:\foo\jakarta-tomcat-3.2.1\lib\parser.jar;e:
> \foo\jakarta-tomca
> t-3.2.1\lib\servlet.jar;e:\foo\jakarta-tomcat-3.2.1\lib\webser
> ver.jar;C:\SilverS
> tream30\COMPILECACHE\LOCALHOST\DEVELOP_BEANS\CLASSES;C:\Silver
> Stream30\LIB\Silve
> rServerAll.zip;c:\SilverStream30\lib\servlet.jar;c:\SilverStre
> am30\jre\lib\rt.ja
> r;c:\SilverStream30\lib\silverdesignerall.zip;c:\SilverStream3
> 0\Docs\help\books\
> TechCode\jsptech6;c:\SilverStream30\jre\lib\ext\jndi.jar;c:\Si
> lverStream30\lib\j
> avax_sql.zip;;e:\jdk1.3\lib\tools.jar
> 
> I am getting the following when I try to build the sample application:
> 
> E:\foo\jakarta-tomcat-3.2.1\doc\appdev\sample>build
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/tools/ant/
> Main
> 
> 
> Regards Charles
> 
> Your email address says a lot about you.
> Express yourself @ another.com
> http://another.com/jump.jsp?destDesc=another.com/login.jsp?sig=393
> 
> 

Mime
View raw message