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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to