[jboss-user] [JBoss Seam] - Re: Trouble Getting the Most Basic SeamTest to Work
neilac333
do-not-reply at jboss.com
Mon Nov 5 16:38:14 EST 2007
I was actually going to try that next, but I somehow managed to get the test to work. Here is the classpath I got in my Ant script to get things to work:
| <path id="seam.test.class.path.libs">
| <pathelement path="${seam-hibernate.lib.dir}/bootstrap" />
| <fileset dir="${seam-hibernate.lib.dir}" includes="jboss-embedded-all.jar,thirdparty-all.jar"/>
| <fileset dir="${sun-jsf.lib.dir}"/>
| <fileset dir="${commons.lib.dir}"/>
| <fileset dir="${seam-hibernate.lib.dir}" excludes="jboss-container.jar,hibernate*,jboss-seam.jar"/>
| <fileset dir="${seam-hibernate.lib.dir}" includes="hibernate*,jboss-archive-browsing.jar"/>
| <fileset dir="${seam-hibernate.lib.dir}" includes="jboss-seam.jar"/>
| </path>
|
...where seam-hibernate.lib.dir is the lib directory that comes with Seam.
I based this on the wiki sample which I believe you wrote, Pete. I don't know why it works, but it works.
Now I am having another issue regarding DBUnit in my test that I may have to post later.
Anyway, thanks for your help. And congrats to you and the guys on Seam 2.0 GA.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101978#4101978
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101978
More information about the jboss-user
mailing list