Hi Stefan, thank you for your quick reply!
Tried to fix the XML namespace problem by setting the endorsed path for the xml and Xerces libs for Java 1.4 but that wasn't successful. So I tried the second approach and skipped all tests in the maven build. That worked immediately! Normaly I have very bad feelings when skipping unit tests. But this time it really looks like a Java 1.4 xml issue as the normal build with Java 1.5 was successful. If I find some time I will try to fix it and then report it to the mailing list. regards Marcus -----Ursprüngliche Nachricht----- Von: Stefan Guggisberg [mailto:[EMAIL PROTECTED] Gesendet: Montag, 27. August 2007 12:11 An: users@jackrabbit.apache.org Betreff: Re: version 1.3.1 BUILD FAILED while unit tests e.g. testExportDocView_handler_session_skipBinary_noRecurse hi marcus On 8/24/07, Trommen, Marcus <[EMAIL PROTECTED]> wrote: > > Hello, > > > > while source build of JackRabbit for Sun Java 1.4.2_06 (target > > system > > need) I run into BUILD FAILED problem (details see below). this issue has been reported earlier, see http://www.nabble.com/-VOTE--Release-Apache-Jackrabbit-1.3.1-tf4121202.html#a11838838 i quickly tested with maven 2.0.7, java 1.4.2_03 on win2k. the build finished succesfully. seems like this is an issue with older xml jars on the classpath. btw: you can skip the tests by typing "mvn -Dmaven.test.skip=true install". the build should finish successfully. cheers stefan > > > > Any suggestions or advice is greatly appreciated! > > > > Best regards, > > Marcus Trommen > > > > -- > > Marcus Trommen > > [EMAIL PROTECTED] > > > > > > PROBLEM DETAILS > > > > 1) Build environment: > > Maven version: 2.0.7 > > Java version: 1.4.2_06 > > OS name: "windows xp" version: "5.1" arch: "x86" > > > > 2) from Subversion I have checked out JackRabbit as tagged version > > 1.3.1 > > > > 3) as in readme file suggested I run from command line > > mvn install > > > > But after a while maven quited the running job with a BUILD > > FAILED message. > > You'll find the relevant console output below. > > > > ------------------------------------------------------- > > T E S T S > > ------------------------------------------------------- > > Running org.apache.jackrabbit.core.util.TestAll > > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.11 > > sec Running org.apache.jackrabbit.core.nodetype.compact.TestAll > > Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > > 0.078 sec Running org.apache.jackrabbit.test.TestAll > > [Fatal Error] :1:10: Attribute name "is" associated with an element > > type "this" must be followed by the ' = ' character. > > > > [Fatal Error] :1:10: Attribute name "is" associated with an element > > type "this" must be followed by the ' = ' character. > > > > [Fatal Error] :-1:-1: Premature end of file. > > [Fatal Error] :-1:-1: Premature end of file. > > Tests run: 1055, Failures: 8, Errors: 0, Skipped: 0, Time elapsed: > > 82.657 sec <<< FAILURE! > > Running org.apache.jackrabbit.core.xml.TestAll > > Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > > 0.125 sec Running org.apache.jackrabbit.core.query.TestAll > > Tests run: 102, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > > 15.359 sec > > Running org.apache.jackrabbit.core.observation.TestAll > > Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > > 0.422 sec Running org.apache.jackrabbit.core.config.TestAll > > Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > > 0.875 sec Running org.apache.jackrabbit.core.nodetype.xml.TestAll > > Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > > 0.719 sec Running org.apache.jackrabbit.core.TestAll > > Tests run: 29, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > > 0.828 sec Running org.apache.jackrabbit.core.state.TestAll > > Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: > > 0.015 sec > > > > Results : > > Failed tests: > > > > testExportDocView_handler_session_skipBinary_noRecurse(org.apache.jack > > rabbit.test.api.ExportDocViewTest) > > > > testExportDocView_handler_session_skipBinary_recurse(org.apache.jackra > > bbit.test.api.ExportDocViewTest) > > > > testExportDocView_handler_session_saveBinary_noRecurse(org.apache.jack > > rabbit.test.api.ExportDocViewTest) > > > > testExportDocView_handler_session_saveBinary_recurse(org.apache.jackra > > bbit.test.api.ExportDocViewTest) > > > > testExportDocView_stream_session_skipBinary_recurse(org.apache.jackrab > > bit.test.api.ExportDocViewTest) > > > > testExportDocView_stream_session_skipBinary_noRecurse(org.apache.jackr > > abbit.test.api.ExportDocViewTest) > > > > testExportDocView_stream_session_saveBinary_noRecurse(org.apache.jackr > > abbit.test.api.ExportDocViewTest) > > > > testExportDocView_stream_session_saveBinary_recurse(org.apache.jackrab > > bit.test.api.ExportDocViewTest) >