ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
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 <javaone@onyourside.net> 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.

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message