On Wed, 6 Nov 2002, Michael Young <[EMAIL PROTECTED]> 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>

Reply via email to