ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: Anyone got any workaround ideas on the broken Jaxb stuff?
Date Wed, 02 Apr 2003 16:41:04 GMT
We recently upgraded to the 1.0 too, and saw the java.endorsed.dirs thing in
the install notes, but we didn't do it, and it's fine... JAXB is not
distributed stand-alone anymore, and this is probably a requirement for
something else than JAXB (in JWSDP).

All we have to do to generate the sources with JAXB is use the 'xjcjar' of
my task, and thus rely on the Class-Path: attribute of that JAR. Of course,
you must conserve the JWSDP layout for this to work correctly.

    <jaxb destDir="${src}"

Hope that helps. --DD

-----Original Message-----
From: webhiker [] 
Sent: Wednesday, April 02, 2003 3:22 AM
To: Ant Users List
Subject: Anyone got any workaround ideas on the broken Jaxb stuff?

Just wondering if anyones found a decent fix for the silly parser 
dependancies of the xjc task ( which requires 
manually setting ANT_OPTS to contain a special -Djava.endorsed.dirs to 
find it's xalan.jar and xerces.jar rubbish.

Is there no other way to set the endorsed dirs from within the build.xml 
file? I think the problem is from the fact that the xjc task is in the 
same JVM as Ant, and thus the endorsed dirs cannot be modified.

I'd appreciate any intelligent workarounds.


View raw message