Author: jbalunas(a)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}"/>
Show replies by date