You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Anthony Cotton <tc...@bvg.com> on 2000/07/19 22:13:30 UTC

Ant 1.1 Problem

Hi all,

Pulled down the new Ant 1.1 today and am having problems 
not picking up environment variables. 
I'm NT4 SP5/JDK1.3/Tomcat 3.1/Ant 1.1 and I set up a Task 
in my build.xml to simply ECHO the following;

   java.home - comes up C:\ProgramFiles\JavaSoft\JRE\1.3 
               when should be d:\jakarta-ant
   ant.home - is picking up my environment variable properly
   tomcat.home - comes up ${tomcat.home}

I can set properties in my build.xml to define my missing 
tomcat.home but I can't seem to override java.home and my 
compilations are failing on import problems.

Any suggestions are greatly appreciated.

TIA,
Tony Cotton