DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4194>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4194 Problem running ant Summary: Problem running ant Product: Ant Version: 1.4 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Build Process AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I cannot run ant because I receive the message: "Modern compiler is not available - using classic compiler" ... and fails. I have set the environment variables JAVA_HOME and ANT_HOME and JDK1.3.1 is properly installed as shown beneath. When I check the ant version I get 1.3 dispite the fact that I installed ant1.4. Could you please help me with this problem? Thanks. Slavic [ email: [EMAIL PROTECTED] ] ****************************** C:\>ant -version Ant version 1.3 compiled on March 2 2001 C:\ApacheGroup\ant1.4\test>dir Volume in drive C has no label. Volume Serial Number is C8D1-9104 Directory of C:\ApacheGroup\ant1.4\test 10/16/2001 12:13p <DIR> . 10/16/2001 12:13p <DIR> .. 10/16/2001 12:13p 162 ASimpleHelloObject.java 10/15/2001 09:07p 999 build.xml 2 File(s) 1,161 bytes 2 Dir(s) 653,651,968 bytes free C:\ApacheGroup\ant1.4\test>ant Buildfile: build.xml init: ASimpleHelloObject: compile: [javac] Modern compiler is not available - using classic compiler [javac] Compiling 1 source file to C:\ApacheGroup\ant1.4\test BUILD FAILED C:\ApacheGroup\ant1.4\test\build.xml:22: Cannot use classic compiler, as it is n ot available A common solution is to set the environment variable JAVA_HOME to y our jdk directory. Total time: 1 second C:\ApacheGroup\ant1.4\test> Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\>dir %JAVA_HOME% Volume in drive C has no label. Volume Serial Number is C8D1-9104 Directory of C:\Java\JDK1.3.1 10/02/2001 04:33p <DIR> . 10/02/2001 04:33p <DIR> .. 10/16/2001 10:53a <DIR> bin 08/08/2001 02:13p 4,078 COPYRIGHT 10/02/2001 03:30p <DIR> demo 10/02/2001 04:47p <DIR> docs 10/02/2001 03:30p <DIR> include 10/02/2001 03:30p <DIR> include-old 10/03/2001 04:53p <DIR> jre 10/02/2001 03:30p <DIR> lib 08/08/2001 02:13p 11,456 LICENSE 08/08/2001 02:13p 12,369 readme.html 08/08/2001 02:13p 3,709 README.txt 08/08/2001 02:13p 19,638,746 src.jar 10/02/2001 03:31p 121,503 Uninst.isu 6 File(s) 19,791,861 bytes 9 Dir(s) 653,508,608 bytes free C:\>java -version java version "1.3.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01) Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode) C:\>javac Usage: javac <options> <source files> where possible options include: -g Generate all debugging info -g:none Generate no debugging info -g:{lines,vars,source} Generate only some debugging info -O Optimize; may hinder debugging or enlarge class file -nowarn Generate no warnings -verbose Output messages about what the compiler is doing -deprecation Output source locations where deprecated APIs are us ed -classpath <path> Specify where to find user class files -sourcepath <path> Specify where to find input source files -bootclasspath <path> Override location of bootstrap class files -extdirs <dirs> Override location of installed extensions -d <directory> Specify where to place generated class files -encoding <encoding> Specify character encoding used by source files -target <release> Generate class files for specific VM version C:\>ant -version Ant version 1.3 compiled on March 2 2001 C:\> C:\>dir %ANT_HOME% Volume in drive C has no label. Volume Serial Number is C8D1-9104 Directory of C:\ApacheGroup\ant1.4 10/16/2001 12:07p <DIR> . 10/16/2001 12:07p <DIR> .. 10/16/2001 11:53a <DIR> bin 10/16/2001 11:53a <DIR> docs 10/11/2001 03:58p 3,254 KEYS 10/16/2001 11:57a <DIR> lib 10/11/2001 03:58p 2,706 LICENSE 10/11/2001 03:58p 2,706 README 10/16/2001 12:49p <DIR> test 10/11/2001 03:58p 24,307 WHATSNEW 4 File(s) 32,973 bytes 6 Dir(s) 653,508,608 bytes free C:\>
