This content has been marked as final.
Show 3 replies
-
1. Re: Seam test with Java 1.6 in JBoss 4.2.3
jusyes Sep 9, 2008 5:38 AM (in response to susnet.susanne.susnet.se)should be fine, i have jboss 4.2 running using jdk 1.6 and seam application works.
Haven't tried it using embedded container. -
2. Re: Seam test with Java 1.6 in JBoss 4.2.3
susnet.susanne.susnet.se Sep 10, 2008 11:57 PM (in response to susnet.susanne.susnet.se)Are you running Seam Test on JBoss 4.2.2 or 4.2.3 and it works fine?
Is there anyone else who tried the latest embedded JBoss with Seam Test and JDK 1.6?
-
3. Re: Seam test with Java 1.6 in JBoss 4.2.3
stefanotravelli Sep 11, 2008 3:25 AM (in response to susnet.susanne.susnet.se)In order to make Seam test to work with JDK6 I had to add this settings:
<testng outputdir="${basedir}/test-report"> <classpath refid="test.path"/> <!--<jvmarg value="-Demma.coverage.out.file=${coverage.ec}" />--> <jvmarg line="-Djava.awt.headless=true"/> <!--added for JDK6 compatibility with JBoss embedded--> <jvmarg line="-Dsun.lang.ClassLoader.allowArraySyntax=true"/> <xmlfileset dir="${test.dir}" includes="*Test.xml"/> </testng>
I work with Seam 2.1 beta but now I cannot remember the when I updated my project library, so I can't be sure on the jboss embedded version.