ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ray Tayek <rta...@mediaone.net>
Subject .bat file for ant
Date Sun, 30 Dec 2001 13:26:58 GMT
hi, using:

set JAVA_HOME=C:\jdk1.3.1_01
set ANT_HOME=D:\java\jakarta-ant-1.4
java -cp D:\java\jakarta-ant-1.4\lib\ant.jar;. org.apache.tools.ant.Main

in a batch file to run the ant sample. works fine. but the same file 
running from a different directory gets a:

D:\java\java_xml_pack-fall01\jaxp-1.1.3\examples\SAXTagCount>java -cp 
D:\java\jkarta-ant-1.4\lib\ant.jar;. org.apache.tools.ant.Main
Buildfile: build.xml

compile:
     [javac] Modern compiler is not available - using classic compiler
     [javac] Compiling 1 source file

BUILD FAILED

D:\java\java_xml_pack-fall01\jaxp-1.1.3\examples\SAXTagCount\build.xml:28: 
Cannot use classic compiler, as it is not available A common solution is to 
set the environment variable JAVA_HOME to your jdk directory.

anybody have a clue as to why he is confused?

thanks

---
ray tayek http://home.earthlink.net/~rtayek/
orange county java users group http://www.ocjug.org/
want privacy? http://www.freedom.net/
hate spam? http://samspade.org/ssw/


--
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