[Anthill] Ant sub-process environment missing

Tovsen, Neal Neal.Tovsen at ecolab.com
Tue Jun 28 13:49:10 CDT 2005


[simultaneous reply]

> Never seen this personally, but a couple ideas:
> 1. Are the environment variables set as system and not for a
particular user? Just double > checking.

Yup. System environment variables, not user variables.

> 2. (workaround) define the needed environment variables directly in
ant.bat 
> 3. (workaround) drop a copy of tools.jar in ANT_HOME/lib
> Scott Stirling
> Framingham, MA

#2 works. In fact, I don't know why I didn't try this before, so thanks!
I declared JAVA_HOME in the ant.bat, and my project compiles. However,
this may be an OK work-around but I wouldn't consider it an acceptable
permanent fix...there's definitely something goofy  in the shell
environment being spawned by the Anthill WAR.

> Since command execution is so different between the recent versions,
would you remind me > which version of Anthill you are running?
> Eric

Thanks for the info, Eric! I'll look at the links in more detail. We're
using anthill-1.8.0.264.tar.gz, and Sun JDK 1.5.0_02.

Neal



More information about the Anthill mailing list