You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by bs...@manu.com on 2000/11/01 13:00:18 UTC
build.xml changing as I compile
Does ANT attempt to change the build.xml file while the builds are running?
I have the build.xml file up in my editor (Slickedit) and the editor keeps
reporting that another process is attempting to change the file.
Bob
Re: Can't find compiler error
Posted by Stefan Bodewig <bo...@bost.de>.
>>>>> "DM" == Dan MacKay <da...@kingston.hummingbird.com> writes:
DM> [javac] Modern compiler is not available - using classic compiler
DM> BUILD FAILED
DM> E:\src\tmp\DalBuild.xml:72: Cannot use classic compiler, as it is
DM> not available
This usually means tools.jar is not in your CLASSPATH. The wrapper
scripts for Ant are supposed to make this happen automatically if your
JAVA_HOME environment variable has been set correctly.
Stefan
RE: Can't find compiler error
Posted by ja...@livemedia.com.
Try comparing the exec paths on both systems.
james@livemedia.com
-----Original Message-----
From: Dan MacKay [mailto:dan.mackay@kingston.hummingbird.com]
Sent: Wednesday, November 01, 2000 5:25 AM
To: ant-user@jakarta.apache.org
Subject: Can't find compiler error
Hi all,
I am sorry to pester you again. I think I have seen this question posted
here before but here we go again. I have ant working fine on the machine
that I have been prototyping build on. You know the drill - everything is
compiling and jar'ing and JUnit is running the correct test suites when it
is supposed to - So I thought that it would be a good time to show the boss
how easy it is to set up and use and move it over to a production machine.
Everything went fine, setting up the machine took about 15 mins, until I
went to build and I got this error that I have not seen before.
compile:
[javac] Compiling 33 source files to E:\src\tmp\classes
[javac] Modern compiler is not available - using classic compiler
BUILD FAILED
E:\src\tmp\DalBuild.xml:72: Cannot use classic compiler, as it is not
available
Total time: 5 seconds
E:\src\tmp>
I am using ant 1.2 and JDK1.3.0-C on both machines.
Any taker? Thanks
Dan
Can't find compiler error
Posted by Dan MacKay <da...@kingston.hummingbird.com>.
Hi all,
I am sorry to pester you again. I think I have seen this question posted
here before but here we go again. I have ant working fine on the machine
that I have been prototyping build on. You know the drill - everything is
compiling and jar'ing and JUnit is running the correct test suites when it
is supposed to - So I thought that it would be a good time to show the boss
how easy it is to set up and use and move it over to a production machine.
Everything went fine, setting up the machine took about 15 mins, until I
went to build and I got this error that I have not seen before.
compile:
[javac] Compiling 33 source files to E:\src\tmp\classes
[javac] Modern compiler is not available - using classic compiler
BUILD FAILED
E:\src\tmp\DalBuild.xml:72: Cannot use classic compiler, as it is not
available
Total time: 5 seconds
E:\src\tmp>
I am using ant 1.2 and JDK1.3.0-C on both machines.
Any taker? Thanks
Dan
RE: build.xml changing as I compile
Posted by ja...@livemedia.com.
i would imagine that ant is trying to lock the file to ensure that it is not
changed while a build is in progress. Just a guess.
james@livemedia.com
-----Original Message-----
From: bsimonof@manu.com [mailto:bsimonof@manu.com]
Sent: Wednesday, November 01, 2000 4:00 AM
To: ant-user@jakarta.apache.org
Subject: build.xml changing as I compile
Does ANT attempt to change the build.xml file while the builds are running?
I have the build.xml file up in my editor (Slickedit) and the editor keeps
reporting that another process is attempting to change the file.
Bob