ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duane Mattos <DMat...@maplesoft.com>
Subject RE: Ant build problem URGENT!!!!!!
Date Tue, 17 Sep 2002 18:13:59 GMT
Do a java -version and see if you are using the java in your JAVA_HOME or if you
are using the java that comes with Windows.  

Also there is a test in ant.bat where it checks the OS variable.  You can either
eliminate the test or see if setting OS to Windows_NT makes a difference.

Hope that helps.

dM

-----Original Message-----
From: Naveen_JaiDayal [mailto:Naveen_JaiDayal@satyam.com]
Sent: Tuesday, September 17, 2002 7:51 AM
To: ant-user@jakarta.apache.org
Subject: Ant build problem URGENT!!!!!!


Hi All
 
I have started using Ant1.5 just today. I have installed everything as per
the manual says.
My OS version is Win2k, JDK version is 1.3 etc.
 
I tried to build a small web application. The Ant utility created the whole
target dir structure, copied
every thing there. After that it started to compile the java files and gave
this error.
 
BUILD FAILED
 
D:\testing\navTestSite\build.xml:104: Cannot use classic compiler, as it is
not available A common
solution is to set the environment variable JAVA_HOME to your jdk directory.
 
Please anybody help me here why this is happening because I have set the
JAVA_HOME property in 
my environment variables properly. It is JAVA_HOME=D:\JDK1.3. 
 
What is this classic/modern compiler problem?
 
Thanks a Lot
 
Naveen
 
************************************************************************** 
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message