Re: Maven Unit tests with EOF

2020-01-22 Thread Dennis Scheffer via Webobjects-dev
Hi everyone, > // That's the main bundle when running tests from Eclipse > Path mainBundlePath = Paths.get("build/your-project.woa"); > > if (Files.notExists(mainBundlePath)) { > // Maven doesn't create a build directory. The WOA bundle goes into the > target folder instead. > mainBundlePath

Re: Maven Unit tests with EOF

2020-01-22 Thread Aaron Rosenzweig via Webobjects-dev
Markus, moin moin! Yes it’s been a long time :-) Thanks for the tip - I located the thread you mentioned where Hugi recommended "JarResourceRequestHandler()” - I think he might be onto something with respect to Jars but that particular thing is for serving static resources not for NSBundle. I’d

Re: Maven Unit tests with EOF

2020-01-22 Thread Henrique Prange via Webobjects-dev
Hey Aaron, This error rings a bell. I don't recall all the details. It looks like the collectMainProps method is trying to find the Properties file of your project in the wrong place. When you build your project in Eclipse with WOLips, it generates a build folder containing your project's WOA

Re: Maven Unit tests with EOF

2020-01-22 Thread Paul Hoadley via Webobjects-dev
Hi Aaron, On 23 Jan 2020, at 03:39, Aaron Rosenzweig via Webobjects-dev wrote: > I think because it is wanting to treat it as a bundle but it isn’t and so… > I’m not sure where to go from here. Any advice? I have no advice for your specific problem, but on the off chance you haven't heard of

Maven Unit tests with EOF

2020-01-22 Thread Aaron Rosenzweig via Webobjects-dev
Hi, I’m trying to run maven unit tests with the surefire plugin that make use of EOF but it’s not working out. I can run them in Eclipse with a direct launch as a bundless build and it works. I make a call in the static initializer of the test case to: ERXExtensions.initApp(ACUnitTestingApplic