Re: DynamicSelectionListTestCase
On 19.11.2003 16:22, Torsten Curdt wrote: AFAICS the above would be enough, if the JVM were not forked (test-build.xml). So the problem was in the generated block-build.xml The junit fork missed the So the woody tests are fine now :) Ah, the blocks have their own test target. But the XMidiGeneratorTestCase still fails :( The XMidiGenerator seems to be broken, because the samples do also not work. Plus I guess in the block-anteater-tests the the following line might be wrong, too: Saw this too and wondered, but I don't know what's in ${anteater.home}/lib, never tried it. Joerg
Re: DynamicSelectionListTestCase
But as I said in the other mail the JVM is forked in the test-build.xml: So I don't expect the correct Xalan version to be used. see my other mail :) -- Torsten
Re: DynamicSelectionListTestCase
Joerg Heinicke wrote: On 19.11.2003 14:34, Ugo Cei wrote: ...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). So the problem was in the generated block-build.xml The junit fork missed the So the woody tests are fine now :) But the XMidiGeneratorTestCase still fails :( Plus I guess in the block-anteater-tests the the following line might be wrong, too: cheers -- Torsten
Re: DynamicSelectionListTestCase
On 19.11.2003 15:39, Torsten Curdt wrote: ...wait a minute: shouldn't our build system be using the versions from the endorsed dir??? Well, I am currently under windows and the build.bat does: call %ANT_HOME%\bin\ant -Djava.endorsed.dirs=lib\endorsed Which could not be more explicit IMO. Anyone an idea? Maybe we could output the version numbers of the used Xerces and Xalan on the build process. That might help finding such classpath issues You can test it with the environment check (either XSLT or Java): http://xml.apache.org/xalan-j/faq.html#environmentcheck But as I said in the other mail the JVM is forked in the test-build.xml: So I don't expect the correct Xalan version to be used. Joerg
Re: DynamicSelectionListTestCase
Ugo Cei wrote: ...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. Well, I am currently under windows and the build.bat does: call %ANT_HOME%\bin\ant -Djava.endorsed.dirs=lib\endorsed Which could not be more explicit IMO. Anyone an idea? Maybe we could output the version numbers of the used Xerces and Xalan on the build process. That might help finding such classpath issues -- Torsten
Re: DynamicSelectionListTestCase
On 19.11.2003 14:34, Ugo Cei wrote: ...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
Re: DynamicSelectionListTestCase
...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. Ugo -- Ugo Cei - Consorzio di Bioingegneria e Informatica Medica P.le Volontari del Sangue, 2 - 27100 Pavia - Italy Phone: +39.0382.525100 - E-mail: [EMAIL PROTECTED]
Re: DynamicSelectionListTestCase
Torsten Curdt wrote: Ugo Cei wrote: Torsten Curdt wrote: Could someone more into woody please check the DynamicSelectionListTestCase ...it causes a NPE http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106750239117652&w=2 Thanks! ...I missed that one ...wait a minute: shouldn't our build system be using the versions from the endorsed dir??? -- Torsten
Re: DynamicSelectionListTestCase
Ugo Cei wrote: Torsten Curdt wrote: Could someone more into woody please check the DynamicSelectionListTestCase ...it causes a NPE http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106750239117652&w=2 Thanks! ...I missed that one -- Torsten
Re: DynamicSelectionListTestCase
Torsten Curdt wrote: Could someone more into woody please check the DynamicSelectionListTestCase ...it causes a NPE http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=106750239117652&w=2 Ugo
DynamicSelectionListTestCase
Could someone more into woody please check the DynamicSelectionListTestCase ...it causes a NPE Thanks -- Torsten BTW: is there a way excuting just a specific testcase?