Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 88120 invoked from network); 17 Sep 2002 12:30:21 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 17 Sep 2002 12:30:21 -0000 Received: (qmail 3147 invoked by uid 97); 17 Sep 2002 12:30:50 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 3131 invoked by uid 97); 17 Sep 2002 12:30:50 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 3119 invoked by uid 98); 17 Sep 2002 12:30:49 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: From: Naveen_JaiDayal To: Ant Users List Subject: RE: Ant build problem URGENT!!!!!! Date: Tue, 17 Sep 2002 17:59:20 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C25E45.D8B3C690" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C25E45.D8B3C690 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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=F8gaard [mailto:JSH@gopinocchio.com]=20 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,=20 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 =20 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. =20 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. =20 BUILD FAILED =20 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. =20 Please anybody help me here why this is happening because I have set = the JAVA_HOME property in=20 my environment variables properly. It is JAVA_HOME=3DD:\JDK1.3.=20 =20 What is this classic/modern compiler problem? =20 Thanks a Lot =20 Naveen =20 ************************************************************************= **=20 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: = For additional commands, e-mail: = ************************************************************************= **=20 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. ************************************************************************= ** ------_=_NextPart_001_01C25E45.D8B3C690--