You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2002/07/05 11:08:39 UTC

Re: DO NOT REPLY [Bug 9929] - Cannot build ANT with AXIS build.xml

On Thu, 04 Jul 2002, Martin Gainty <mg...@hotmail.com> wrote:

> 3)Set JAVA_HOME to location of  base of JDK

required, yes.

> 4)Set location of JAVA_HOME to PATH and CLASSPATH

Having JAVA_HOME\bin in PATH may be a good idea, but generally this
shouldn't have been necessary as ant.bat explicitly adds
JAVA_HOME\lib\tools.jar to CLASSPATH and invokes
JAVA_HOME\bin\java.exe to run Ant.

> 1)be able to accomodate new locations of Javac.exe assuming that
> would not break the dependency with Java.exe (and other java
> tools)..This location seems unnecessarily static..

In what way?  All you should have to do is to change the value of
JAVA_HOME.  I do this every day to switch between four different JDKs
on my Linux box and the batch file looks as if it should work as well.

Maybe I'm misunderstanding what you are after.

> 2)Ant should have an -ALL flag which will recompile all Java files
> that Ant encounters

Simply delete the generated class files before compiling if you want a
full compile.

Can we close the issues in bugzilla now?

Cheers

        Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>