[seam-commits] Seam SVN: r8425 - in trunk: examples and 1 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Jun 26 11:29:17 EDT 2008


Author: jbalunas at redhat.com
Date: 2008-06-26 11:29:17 -0400 (Thu, 26 Jun 2008)
New Revision: 8425

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

Modified: trunk/build.xml
===================================================================
--- trunk/build.xml	2008-06-26 15:05:33 UTC (rev 8424)
+++ trunk/build.xml	2008-06-26 15:29:17 UTC (rev 8425)
@@ -680,6 +680,8 @@
 		<testng outputdir="${test.dir}">
 			<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"/>
 			<classpath>
 				<path path="${classes.test.core.dir}" />
 				<path path="${classes.test.dir}" />

Modified: trunk/examples/build.xml
===================================================================
--- trunk/examples/build.xml	2008-06-26 15:05:33 UTC (rev 8424)
+++ trunk/examples/build.xml	2008-06-26 15:29:17 UTC (rev 8425)
@@ -948,6 +948,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" />
@@ -961,11 +963,13 @@
 	<target name="testclass" depends="buildtest, copyjbossembedded,getemma" description="Run a specific test">
 		<taskdef resource="testngtasks" classpathref="build.classpath" />
 		<testng outputdir="${test-report.dir}" testname="${className}" suitename="${className}" >
-            <jvmarg value="-Xmx800M" />
-            <jvmarg value="-Djava.awt.headless=true" />
-			<jvmarg value="-Demma.coverage.out.file=${coverage.ec}" />
-			<jvmarg value="-Djava.endorsed.dirs=${endorsed.dir}" />
-			<jvmarg value="${testng.jvmargs}" />
+            <jvmarg line="-Xmx800M" />
+            <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" />
             	<path refid="runtime.emma.path" />

Modified: trunk/examples/wiki/build.xml
===================================================================
--- trunk/examples/wiki/build.xml	2008-06-26 15:05:33 UTC (rev 8424)
+++ trunk/examples/wiki/build.xml	2008-06-26 15:29:17 UTC (rev 8425)
@@ -498,6 +498,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