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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to