Thanks Jason!
I figured out my problem: I have Tomcat installed
under D:\Program Files\. "Program Files" is the
problem. Ant not able to find files under "Program
Files".
Now I can execute build, but still get error message
when compiling: "[javac] Modern compiler is not
available" 
Any idea of what is happening? I  have JDK1.3 and have
my JAVA_HOME set properly. I have no problem compiling
other java files. However, I did have Visual Cafe
version 3 installed in my machine which use JDK1.1.
Will this be a problem? It looks like to me it is not
the source of the problem since my JAVA_HOME is set to
the JDK1.3 directory. 

--- "Winters, Jason" <[EMAIL PROTECTED]>
wrote:
> You need to have Ant installed on your computer.  
> Make sure that you have ANT_HOME set to the correct 
> location.  For more information look at the Ant 
> documentation at
> http://jakarta.apache.org/ant/manual/index.html
> 
> Jason
> 
> -----Original Message-----
> From: Vicky Yu [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 12, 2001 8:53 PM
> To: [EMAIL PROTECTED]
> Subject: Problem using ant to build a WAR file
> 
> 
> I am a beginner of Tomcat.
> I am trying to use ant to build a WAR file. I have a
> project dir. outside Tomcat home and have copied the
> sample "hello world" with the build.bat,
> build.xml..all others from sample dir in that
> project
> dir. and tried to build the WAR file. When I execute
> build, I got the java.lang class not found exception
> from org.apache.tools.ant.Main. 
> I think I have set my TOMCAT_HOME and JAVA_HOME in
> the
> classpath properly. I am using jdk1.3 as my
> JAVA_HOME.
> Any ideas of what's going wrong? Is jdk1.3 ok? Do I
> need to download Ant seperately? Thanks!
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great
> prices.
> http://auctions.yahoo.com/
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, email:
> [EMAIL PROTECTED]
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices.
http://auctions.yahoo.com/

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

Reply via email to