thanks. that worked.
-----Original Message-----
From: Alexey Solofnenko [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 4:37 PM
To: 'Ant Users List'
Subject: RE: don't want to use JAVA_HOME
You need to add c:\jdk1.3.1_02\lib\tools.jar into classpath.
- Alexey.
--
{ http://trelony.cjb.net/ } Alexey N. Solofnenko
{ http://www.inventigo.com/ } Inventigo LLC
Pleasant Hill, CA (GMT-8 usually)
-----Original Message-----
From: Robert Priest [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 1:30 PM
To: 'Ant Users List'
Subject: don't want to use JAVA_HOME
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]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>