ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Naveen_JaiDayal <Naveen_JaiDa...@satyam.com>
Subject RE: Ant build problem URGENT!!!!!!
Date Tue, 17 Sep 2002 12:29:20 GMT
Hi Jan

I am not using any IDE. I am running Ant from Command Line.
This is the output of Ant from command line.

+++++++++++++++++++++++++++++++++++++++++++++++++++
D:\testing\navTestSite>ant
Buildfile: build.xml

prepare:

compile:
    [javac] Modern compiler is not available - using classic compiler
    [javac] Compiling 24 source files to D:\Cockpit-WebSite\WEB-INF\classes

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.

Total time: 1 second
+++++++++++++++++++++++++++++++++++++++++++++++++++
Thanks

Naveen

-----Original Message-----
From: Jan S√łgaard [mailto:JSH@gopinocchio.com] 
Sent: Tuesday, September 17, 2002 5:52 PM
To: Ant Users List
Subject: RE: Ant build problem URGENT!!!!!!

Hi Naveen

Are you using any IDE for this compile, or are you running ANT from a
command line?

If you are using a Eclipse/WSAD IDE, the problem can be the integration with
Eclipse and ANT, 
see this link. http://www.eclipse.org/eclipse/faq/eclipse-faq.html and look
under "Getting started,  21"

BR Jan

-----Original Message-----
From: Naveen_JaiDayal [mailto:Naveen_JaiDayal@satyam.com]
Sent: 17. september 2002 13:51
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>
************************************************************************** 
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.
**************************************************************************

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message