Hi,
We're trying to setup StrutsTestCase but we get a NullPointerException telling
us that the struts-config.xml probably cannot be found.
The tests are succesfull in Eclipse but not with Maven 2
info:
Maven 2.0.7
StrutsTestCase 2.1.4-1.2-2.4
EasyMock 2.3
Surefire 2.4.2
I've tried:
* adding additionalClasspahtElements for surefire
* use the setContext directory
* added testResources
* manualy copy paste the struts-config.xml (and other resources like the
web.xml) to several locations
I see in the target directory the presence of the struts-config.xml in the
WEB-INF directory but for some reason no luck. We have another project that is
still using Maven 1.1 and it works for them.
Any ideas, suggestions?
Thanks,
Maarten
____________________________________________________________________________________
You rock. That's why Blockbuster's offering you one month of Blockbuster Total
Access, No Cost.
http://tc.deals.yahoo.com/tc/blockbuster/text5.com