Need help with ANT javac classpath

2014-09-15 Thread WebServices Development
I have an old application which is using JAXB version 1.0. When I pull in the projects in Eclipse, it compiles fine because it references the jaxb jars from my web-inf/lib. When I am defining an ANT javac task for it, I get compilation errors because the jaxb classes from rt.jar take prefere

Re: Need help with ANT javac classpath

2014-09-15 Thread Dominique Devienne
On Mon, Sep 15, 2014 at 5:15 PM, WebServices Development < webservices_developm...@csx.com> wrote: > P.S - I tried adding includejavaruntime="false" and > includeantruntime="false" attributes - both together as well as > individually - to the javac task - but I still get the error. The error >

RE: Need help with ANT javac classpath

2014-09-15 Thread WebServices Development
Thanks. This is a common build script that we have, so I didn't add fork for the javac task - as it would affect other builds as well, that use the latest java version and follow the default build. If it is not possible at all to incorporate something in the common build, I will take a look

RE: Need help with ANT javac classpath

2014-09-15 Thread Martin Gainty
> From: webservices_developm...@csx.com > To: user@ant.apache.org > Subject: RE: Need help with ANT javac classpath > Date: Mon, 15 Sep 2014 16:06:55 + > > Thanks. > > This is a common build script that we have, so I didn't add fork for the > javac task - as it would affect other builds