ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Priest <Robert.Pri...@bentley.com>
Subject don't want to use JAVA_HOME
Date Thu, 30 May 2002 20:30:06 GMT
I am using ant 1.5.beta1

I am calling ant like so:

c:\jdk1.3.1_02\bin\java -Dant.home=D:\Test\jakarta\jakarta-ant-1.5Beta1\
org.apache.tools.ant.Main 


but that gives me the following error when it runs:

he\catalina\authenticator\BasicAuthenticator.java
    [javac] Modern compiler not found - looking for classic compiler

D:\pw\development\src\dms\web\src\java\buildwebdav.xml:24: Cannot use
classic co
mpiler, as it is not available.  A common solution is to set the environment
var
iable JAVA_HOME to your jdk directory.




but I don't want to have to set JAVA_HOME. 

Is there another way to rectify this problem?


here is what one of the <javac> tasks I run looks like:

 <javac srcdir="${WEB_SOURCE}" destdir="${WEB_OUT}"
     includes="patches/cocoon/1.8.2/**,
               patches/slide/1.0.16/**,
               patches/tomcat/4.0.3/**,
               com/projectwise/webdav/**,
               com/projectwise/wrappers/**,
               com/projectwise/utils/**,
               com/projectwise/stores/**"
     listfiles="yes"
     />
    </target>

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