Re: Need help with ANT javac classpath

Dominique Devienne <[email protected]>
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <CAFCRh-_WCL2kOkAmQWFpxm-QsUWuECwn_KnUymnhDa55X1myRg@mail.gmail.com>
On Mon, Sep 15, 2014 at 5:15 PM, WebServices Development <
[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.