[seam-commits] Seam SVN: r8423 - in branches/Seam_2_0: examples and 1 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Jun 26 10:54:42 EDT 2008


Author: jbalunas at redhat.com
Date: 2008-06-26 10:54:42 -0400 (Thu, 26 Jun 2008)
New Revision: 8423

Modified:
   branches/Seam_2_0/build.xml
   branches/Seam_2_0/examples/build.xml
   branches/Seam_2_0/examples/wiki/build.xml
Log:
Added jvm property so that JBoss embedded executes correctly during test suite execution - -Dsun.lang.ClassLoader.allowArraySyntax=true

Modified: branches/Seam_2_0/build.xml
===================================================================
--- branches/Seam_2_0/build.xml	2008-06-26 11:47:40 UTC (rev 8422)
+++ branches/Seam_2_0/build.xml	2008-06-26 14:54:42 UTC (rev 8423)
@@ -640,6 +640,8 @@
            <jvmarg line="-Djava.awt.headless=true" />
            <jvmarg line="-Demma.coverage.out.file=${coverage.ec}" />
            <jvmarg line="-Djava.endorsed.dirs=${endorsed.dir}" />
+		   <!--added for JDK6 compatibility with JBoss embedded-->
+		   <jvmarg line="-Dsun.lang.ClassLoader.allowArraySyntax=true"/>
            <jvmarg line="${testng.jvmargs}" />
 			<classpath>
 				<path path="${classes.test.core.dir}" />

Modified: branches/Seam_2_0/examples/build.xml
===================================================================
--- branches/Seam_2_0/examples/build.xml	2008-06-26 11:47:40 UTC (rev 8422)
+++ branches/Seam_2_0/examples/build.xml	2008-06-26 14:54:42 UTC (rev 8423)
@@ -925,6 +925,8 @@
             <jvmarg line="-Djava.awt.headless=true" />
 			<jvmarg line="-Demma.coverage.out.file=${coverage.ec}" />
 			<jvmarg line="-Djava.endorsed.dirs=${endorsed.dir}" />
+		    <!--added for JDK6 compatibility with JBoss embedded-->
+		    <jvmarg line="-Dsun.lang.ClassLoader.allowArraySyntax=true"/>
 			<jvmarg line="${testng.jvmargs}" />
 			<classpath>
 			   <path refid="test.classpath" />
@@ -942,6 +944,8 @@
             <jvmarg line="-Djava.awt.headless=true" />
 			<jvmarg line="-Demma.coverage.out.file=${coverage.ec}" />
 			<jvmarg line="-Djava.endorsed.dirs=${endorsed.dir}" />
+		    <!--added for JDK6 compatibility with JBoss embedded-->
+		    <jvmarg line="-Dsun.lang.ClassLoader.allowArraySyntax=true"/>
 			<jvmarg line="${testng.jvmargs}" />
 			<classpath>
 				<path refid="test.classpath" />

Modified: branches/Seam_2_0/examples/wiki/build.xml
===================================================================
--- branches/Seam_2_0/examples/wiki/build.xml	2008-06-26 11:47:40 UTC (rev 8422)
+++ branches/Seam_2_0/examples/wiki/build.xml	2008-06-26 14:54:42 UTC (rev 8423)
@@ -538,6 +538,7 @@
             <jvmarg line="${testng.jvmargs}"/>
 			<jvmarg line="-Demma.coverage.out.file=${coverage.ec}" />
         	<!-- Needed for running Embedded JBoss under JDK 6 -->
+            <jvmarg line="-Dsun.lang.ClassLoader.allowArraySyntax=true"/>
         	<jvmarg line="-Djava.endorsed.dirs=${seam.dir}/classes/endorsed" />
         </testng>
         <echo message="Please read the test output in directory: ${test.output.dir}"/>




More information about the seam-commits mailing list