[jboss-user] [JBoss Seam] - Re: persistence.xml and TestNG

pete.muir@jboss.org do-not-reply at jboss.com
Mon Oct 29 08:25:26 EDT 2007


How are you running the test - from seam-gen'd build.xml? Or eclipse plugin?  You need to make sure that on your classpath for the test is a file exactly /META-INF/persistence.xml - seam-gen's build.xml copies /resources/META-INF/persistence-test.xml to /test-build/META-INF/persistence.xml and adds test-build to the classpath.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4099820#4099820

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4099820



More information about the jboss-user mailing list