[jboss-cvs] JBossAS SVN: r114719 - branches/JBPAPP_5/testsuite/imports/config.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Feb 13 09:50:31 EST 2014


Author: pjelinek
Date: 2014-02-13 09:50:31 -0500 (Thu, 13 Feb 2014)
New Revision: 114719

Modified:
   branches/JBPAPP_5/testsuite/imports/config/tests-clustering.xml
Log:
JBPAPP-10987: fix clustering tests on Windows

Modified: branches/JBPAPP_5/testsuite/imports/config/tests-clustering.xml
===================================================================
--- branches/JBPAPP_5/testsuite/imports/config/tests-clustering.xml	2014-02-13 09:54:54 UTC (rev 114718)
+++ branches/JBPAPP_5/testsuite/imports/config/tests-clustering.xml	2014-02-13 14:50:31 UTC (rev 114719)
@@ -629,6 +629,21 @@
    	
       <mkdir dir="${build.reports}"/>
       <mkdir dir="${build.testlog}"/>
+
+      <!-- work around Windows's inability to handle commands longer than 8k chars -->
+      <manifestclasspath property="jbossqa.classpath" jarfile="pathing.jar" maxParentLevels="10">
+          <classpath>
+             <pathelement location="${build.classes}"/>
+             <pathelement location="${build.resources}"/>
+             <path refid="tests.classpath"/>
+          </classpath>
+      </manifestclasspath>
+      <jar destfile="pathing.jar">
+          <manifest>            
+              <attribute name="Class-Path" value="${jbossqa.classpath}"/>
+          </manifest>
+      </jar>
+
       <junit dir="${module.output}"
          printsummary="${junit.printsummary}"
          haltonerror="${junit.haltonerror}"
@@ -678,9 +693,7 @@
          <jvmarg value="-Xnoagent"/-->
 
          <classpath>
-            <pathelement location="${build.classes}"/>
-            <pathelement location="${build.resources}"/>
-            <path refid="tests.classpath"/>
+            <pathelement location="pathing.jar"/>
          </classpath>
 
          <!-- definition of the property for keeping results between configuration -->



More information about the jboss-cvs-commits mailing list