Maven and Wonder
Maven and Wonder
- Subject: Maven and Wonder
- From: "Markus Stoll, junidas GmbH" <email@hidden>
- Date: Tue, 05 Feb 2019 16:53:34 +0100
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden