Hi,

finally I started mavenizing my Wonder projects (and I am very grateful for all 
the work done here).
I observed few things that required patching Wonder and I wonder whether I 
missed something.

1. When I start one of the example application (from maven build) directly, it 
creates URLs for the ERXStaticResourceRequestHandler that have a file reference 
like this:

jar:file:///<path to jar>!/path/to/resource/in/jar

and ERXStaticResourceRequestHandler was not handling this correctly. I created 
a patch for this, but I am puzzled why this might be needed as I expected to be 
one of the last ones to go Maven.


2. wounit tests executed from surefireplugin in maven.

The default way the test is setup (to execute the tests from test-classes), 
NSBundle won't find its resources, so MockEditingContext wont find the 
EOModels. I created a patch to enable NSBundle to handle this setup. But I 
guess, I am missing something here, too.
But I could't find anything about how to setup surefire / junit / wounit tests 
from Maven for Wonder / WebObjects.

Maybe someone can give me some hints. If I did not miss anything, I will be 
glad to supply my patches to Wonder, but still I fear they might not be needed 
at all...

Regards, Markus


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to