Hi,
I've got a problem with the ant command. I am using ant 1.5.2 with Java. I've got a build.xml-file, changed some Java-Code and now want to use the ant command, in that directory, where the build-file is.
Here is the error message:
C:\Oliver\jengine2\source\build>ant
Buildfile: build.xml
setpaths:
[echo] from build.properties : jboss_home : /C:/Oliver/jengine2/run/server/
default/lib
init:
compile:
[javac] Modern compiler is not available - using classic compiler
[javac] Compiling 1 source file to C:\Oliver\jengine2\source\binaries
BUILD FAILED
C:\Oliver\jengine2\source\build\build.xml:41: 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: 0 seconds
I've got the tools.jar-file in my classpath, I've set my JAVA_HOME-Variable, but I have NO idea how to go on...
Hope somebody can help me...
Regards from Germany
OLLI
I've got a problem with the ant command. I am using ant 1.5.2 with Java. I've got a build.xml-file, changed some Java-Code and now want to use the ant command, in that directory, where the build-file is.
Here is the error message:
C:\Oliver\jengine2\source\build>ant
Buildfile: build.xml
setpaths:
[echo] from build.properties : jboss_home : /C:/Oliver/jengine2/run/server/
default/lib
init:
compile:
[javac] Modern compiler is not available - using classic compiler
[javac] Compiling 1 source file to C:\Oliver\jengine2\source\binaries
BUILD FAILED
C:\Oliver\jengine2\source\build\build.xml:41: 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: 0 seconds
I've got the tools.jar-file in my classpath, I've set my JAVA_HOME-Variable, but I have NO idea how to go on...
Hope somebody can help me...
Regards from Germany
OLLI