...wait a minute: shouldn't our build system be using the versions from the endorsed dir???
Of course, but cocoon.sh explicitly does:
ENDORSED_LIBS="$COCOON_HOME/lib/endorsed" ENDORSED="-Djava.endorsed.dirs=$ENDORSED_LIBS"
whereas build.sh does:
ANT_OPTS=-Djava.endorsed.dirs=lib/endorsed export ANT_OPTS
Probably the latter is not enough, sincerely I don't know.
AFAICS the above would be enough, if the JVM were not forked (test-build.xml).
Joerg
