getResources() returns null in parent project

2008-10-27 Thread Petr Nejedly
Hi all, I've been struggling with this for a few days now. We have a parent project including several sub-projects. We have tests runing in both test and integration-test phases. In one of Seam 2.1 test framework classes they are calling getClass().getResource(/). This works well on Windows

Re: Test classpath problem in multi module project

2008-02-28 Thread Petr Nejedly
Thanks Stefan, Very helpful. Just a question: You said you're using only one persistence.xml for both, testing and live deployment. How do you specify different Hibernate properties for those, eg dialect (Oracle vs HSQLDB), auto create schema (on vs off), etc? Cheers, Petr The

Test classpath problem in multi module project

2008-02-26 Thread Petr Nejedly
Hi guys, I'm trying to solve this issue for a few days and haven't been able to crack it so far. The scenario is following: I have a parent project that includes sub-modules, each having their own pom.xml. Each of these modules produces an ejb3 package. I want to be able to run