[jboss-user] [JBoss Seam] - Re: Maven, Seam, TestNG - IntegrationTests

pete.muir@jboss.org do-not-reply at jboss.com
Fri Sep 28 09:59:35 EDT 2007


I don't know how to best set this up in a maven project, but as I just added to the seam-gen src/test/readme.txt file you need to make sure your test classpath looks like this

lib/test/jboss-embedded-all.jar
lib/test/hibernate-all.jar
lib/test/thirdparty-all.jar
lib/test/jboss-deployers.jar
${everything else normally in your compile classpath + the test classes + testng}

The order of the classpath is very very important here - the test/*.jar *must* come before everything else otherwise jboss embedded won't work.

I'll try to blog about this soon.

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

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



More information about the jboss-user mailing list