Bug in NXRuntimeTestCase

View: New views
2 Messages — Rating Filter:   Alert me  

Bug in NXRuntimeTestCase

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
It seems NXRuntimeTestCase has a bug in initUrls(). It doesn't work for maven-surefire-plugin 2.4.3 where useManifestOnlyJar=true by default. In this case the manifest classpath entry already contains 'file:' in front of every jar so adding one more 'file:' results in wrong URL.
As a workaround you can set useSystemClassLoader=false.
Regards,
Oleg
--
Posted by "olegga" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2589#7289>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Re: Bug in NXRuntimeTestCase

by jiveforums-ecm :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

It should be already fixed on 5.2.1-SNAPSHOT: http://hg.nuxeo.org/nuxeo/nuxeo-runtime/rev/f226edaa920c
Tell us if there is any problem left.

Thomas
--
Posted by "troger" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: <http://www.nuxeo.org/discussions/thread.jspa?threadID=2589#7291>
_______________________________________________
ECM mailing list
ECM@...
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm