ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lybarger <mlybar...@gmail.com>
Subject Re: slightly ot - setting java.endorsed.dirs for ibm jdk under ant build
Date Tue, 19 Jul 2005 18:39:44 GMT
is it possible to set the ANT_OPTS inside the build.xml? or a property file 
perhaps?..

On 7/19/05, Mark Lybarger <mlybarger@gmail.com> wrote:
> 
> that works nicely, thanks a bundle.
> 
> On 7/19/05, Jeffrey E Care <carej@us.ibm.com> wrote:
> > 
> > -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 ( carej@us.ibm.com)
> > WebSphere Build SWAT Team Lead
> > WebSphere Build Tooling Lead (Project Mantis)
> > https://w3.opensource.ibm.com/projects/mantis
> > 
> > 
> > Mark Lybarger <mlybarger@gmail.com> 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
> > 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
> > 
> > 
>

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