Can this prerequisite (and a tip) be documented on the
http://mule.mulesource.org/display/MULE/Building+from+Source page?
Thanks,
Andrew
On Nov 19, 2007 9:31 PM, Dirk Olmes <
dirk@...> wrote:
> complain loudly via m-a-v should any dependency try to do so. This is the
> correct thing to do on JDK 1.5/1.6 but will cause trouble when building &
> running on JDK 1.4. To fix this, you MUST drop a valid JAXP implementation
> into your JDK 1.4 jre/lib/endorsed directory. This can be either Apache
> Xerces or Sun's JAXP reference implementation (which is just a
> rebundled/relocated Xerces plus some Sun QA).
If you're like me no fan of putting stuff in the JRE's endorsed dir,
it's also sufficient to put the jars into a separate directory and use
-Djava.endorsed.dirs=/path/to/endorsed/dir in your MAVEN_OPTS. Works
fine for me.
Don't forget to add this to your IDE launch configurations, too ...
-dirk