I've hit a roadblock and haven't been able to find a solution through the wiki, mailing list or google.
I have a persistence.xml file which contains hibernate configuration 
information,  http://pastie.org/737850
It is located in src/test/resources/META-INF/

my buildfile has the following two lines:

compile.with COMMONS, DB, JERSEY, JUNIT, LOG4J, HIBERNATE, BOUNCYCASTLE, JDOM, 
GUICE
test.with COMMONS, DB, JERSEY, JUNIT, LOG4J, HIBERNATE, BOUNCYCASTLE, JDOM, 
DOM4J, HSQLDB, GUICE

the tests are failing because it can't find the persistence.xml file. How and 
where does the test task load the
resources? I tried doing some hacks like importing it into the classpath but 
that doesn't seem to help:


Java.classpath << _('src/test/resource/META-INF/persistence.xml')
test.with COMMONS, DB, JERSEY, JUNIT, LOG4J, HIBERNATE, BOUNCYCASTLE, JDOM, 
DOM4J, HSQLDB, GUICE

Any thoughts?

Thanks
jesus rodriguez

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to