ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <ddevie...@gmail.com>
Subject Re: Need help with ANT javac classpath
Date Mon, 15 Sep 2014 15:29:54 GMT
On Mon, Sep 15, 2014 at 5:15 PM, WebServices Development <
WebServices_Development@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
> is  -  createBinder() in ObjectFactory cannot override createBinder() in
> JAXBContext
>

Did you fork="true" too, for <javac>? That way you can have better control
of the environment the JDK javac (implemented in Java) runs with, separate
the from environment Ant itself runs in.

Also look into
http://docs.oracle.com/javase/6/docs/technotes/guides/standards/

A quick Google also turned up
http://stackoverflow.com/questions/16215409/is-it-possible-to-replace-the-version-of-the-jaxb-implementation-in-java-jre-1-6

--DD

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