ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: A timestamp problem when building jar/war files in ANT
Date Thu, 07 Nov 2002 07:20:54 GMT
On Wed, 6 Nov 2002, Michael Young <> wrote:

> Basically we call org.apache.ant.Main directly and passing to it a
> java.home property via "-Djava.home=%JAVA_HOME%".  For some reasons,
> this causes Ant to look for %JAVA_HOME%/lib/tzmappings which does
> not exist because it's in %JAVA_HOME%/jre/lib.

Here is the clue for you - for some reason Sun's JVMs >= 1.2 (and
probably all others derived from Sun's code= set the system property
java.home to %JAVA_HOME%/jre, at least for the definition of JAVA_HOME
that Ant expects.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message