ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peterrei...@apache.org>
Subject Re: slightly ot - setting java.endorsed.dirs for ibm jdk under ant build
Date Tue, 19 Jul 2005 17:33:05 GMT
try:

export ANT_OPTS="-Djava.endorsed.dirs=/home/me/tmp"
ant

peter
Mark Lybarger wrote:

>i've got an ant build script. our "default" jdk is IBM jdk 1.4.2. our web 
>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 use 
>the endorsed.dirs to use our xalan.jar, and can run ok under IBM's jvm. i 
>need (someone on the team wants) to be able to build on the power5 machine 
>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 how 
>i can specify the java.endorsed.dirs to run this build, i'd be most 
>appreciated.
>
>~mark
>
>  
>


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


Mime
View raw message