ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <>
Subject Re: slightly ot - setting java.endorsed.dirs for ibm jdk under ant build
Date Tue, 19 Jul 2005 17:34:23 GMT
-D options given to the ant script are treated as Ant property 
declarations, not JVM properties. You should be able to use the ANT_OPTS 
environment variable to pass options to the VM.

Jeffrey E. Care (
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)

Mark Lybarger <> wrote on 07/19/2005 12:43:04 PM:

> i've got an ant build script. our "default" jdk is IBM jdk 1.4.2. our 
> app requires a specific version of xalan.jar to build. we can build just 

> fine on intel box by specifying sun's jvm. when deploying to jboss we 
> the endorsed.dirs to use our xalan.jar, and can run ok under IBM's jvm. 
> need (someone on the team wants) to be able to build on the power5 
> which only includes IBM's jvm. i've tried to run ant like:
> ant -Djava.endorsed.dirs=/home/me/tmp/
> where the tmp folder includes the needed xalan.jar. this doesn't seem to 

> work to get me to compile the application. if anyone has suggestions on 
> i can specify the java.endorsed.dirs to run this build, i'd be most 
> appreciated.
> ~mark

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message