[seam-commits] Seam SVN: r8443 - in branches/Seam_2_0_FP: examples and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Jul 8 09:39:57 EDT 2008


Author: manaRH
Date: 2008-07-08 09:39:57 -0400 (Tue, 08 Jul 2008)
New Revision: 8443

Modified:
   branches/Seam_2_0_FP/build.xml
   branches/Seam_2_0_FP/examples/build.xml
   branches/Seam_2_0_FP/readme.txt
Log:
SEAMFP-9

Modified: branches/Seam_2_0_FP/build.xml
===================================================================
--- branches/Seam_2_0_FP/build.xml	2008-07-08 13:01:13 UTC (rev 8442)
+++ branches/Seam_2_0_FP/build.xml	2008-07-08 13:39:57 UTC (rev 8443)
@@ -603,6 +603,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_FP/examples/build.xml
===================================================================
--- branches/Seam_2_0_FP/examples/build.xml	2008-07-08 13:01:13 UTC (rev 8442)
+++ branches/Seam_2_0_FP/examples/build.xml	2008-07-08 13:39:57 UTC (rev 8443)
@@ -931,6 +931,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" />
@@ -948,6 +950,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_FP/readme.txt
===================================================================
--- branches/Seam_2_0_FP/readme.txt	2008-07-08 13:01:13 UTC (rev 8442)
+++ branches/Seam_2_0_FP/readme.txt	2008-07-08 13:39:57 UTC (rev 8443)
@@ -31,10 +31,6 @@
 
 Then checkout the report in the /test-report directory.
 
-Note: If you use JVM 6 instead of targeted JVM 5, TestNG tests should fail. 
-      JVM 6 needs to add the following parameter:
-       "-Dsun.lang.ClassLoader.allowArraySyntax=true" to various build.xml files to execute
-       TestNG tests correctly.
 
 Running the TestNG Tests in Eclipse
 -----------------------------------




More information about the seam-commits mailing list