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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...