[jboss-cvs] JBossAS SVN: r91239 - in trunk/testsuite: imports/sections and 1 other directory.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jul 14 15:23:10 EDT 2009


Author: pgier
Date: 2009-07-14 15:23:10 -0400 (Tue, 14 Jul 2009)
New Revision: 91239

Modified:
   trunk/testsuite/build.xml
   trunk/testsuite/imports/sections/classloader.xml
   trunk/testsuite/imports/sections/isolation.xml
   trunk/testsuite/imports/sections/jsf.xml
   trunk/testsuite/imports/sections/web.xml
Log:
[JBBUILD-531] Use refIds from maven ant tasks instead of libraries.ent.

Modified: trunk/testsuite/build.xml
===================================================================
--- trunk/testsuite/build.xml	2009-07-14 18:58:31 UTC (rev 91238)
+++ trunk/testsuite/build.xml	2009-07-14 19:23:10 UTC (rev 91239)
@@ -121,12 +121,12 @@
     
     <!-- The combined library classpath -->
     <path id="library.classpath">
-      <path refid="apache.avalon.classpath"/>
+      <fileset refid="apache-avalon:avalon-framework:jar"/>
       <path refid="apache.commons.classpath"/>
       <fileset refid="apache-httpclient:commons-httpclient:jar"/>
-      <path refid="apache.codec.classpath"/>
-      <path refid="apache.log4j.classpath"/>
-      <path refid="apache.jaxme.classpath"/>
+      <fileset refid="commons-codec:commons-codec:jar"/>
+      <fileset refid="log4j:log4j:jar"/>
+      <fileset refid="apache-jaxme:jaxmexs:jar"/>
       <path refid="apache.scout.classpath"/>
       <path refid="apache.xerces.classpath"/>
       <path refid="org.apache.classpath"/>
@@ -175,7 +175,7 @@
       <!-- needed for messaging JMS provider tests -->
       <path refid="jboss.messaging.classpath"/>
       <!-- needed for proxy tests -->
-      <path refid="apache.bcel.classpath"/>
+      <fileset refid="bcel:bcel:jar"/>
       <!-- needed for security login module tests -->
       <path refid="hsqldb.hsqldb.classpath"/>
       <!-- Need hibernate jar for hibernate-based tests -->

Modified: trunk/testsuite/imports/sections/classloader.xml
===================================================================
--- trunk/testsuite/imports/sections/classloader.xml	2009-07-14 18:58:31 UTC (rev 91238)
+++ trunk/testsuite/imports/sections/classloader.xml	2009-07-14 19:23:10 UTC (rev 91239)
@@ -224,9 +224,7 @@
         <!-- Need to include log4j.jar to allow the singleton config to be
          reinitialized in the context of the war to find the war log4j.xml.
          -->
-        <lib dir="${apache.log4j.lib}">
-          <include name="*.jar" />
-        </lib>
+        <lib refid="log4j:log4j:jar"/>
         <classes dir="${build.classes}">
           <include
              name="org/jboss/test/classloader/scoping/override/web/comlog/*"/>
@@ -321,9 +319,7 @@
         <fileset dir="${build.resources}/classloader/leak/war">
           <include name="simple.jsp"/>
         </fileset>
-    	<lib dir="${apache.logging.lib}">
-    		<include name="commons-logging.jar"/>
-    	</lib>
+        <lib refid="commons-logging:commons-logging:jar"/>
     </war>
     <war destfile="${build.lib}/classloader-leak-simple-ejb.war"
         webxml="${build.resources}/classloader/leak/war/ejb2/WEB-INF/web.xml">
@@ -350,9 +346,7 @@
         <fileset dir="${build.resources}/classloader/leak/war/ejb2">
           <include name="*.jsp"/>
         </fileset>
-    	<lib dir="${apache.logging.lib}">
-    		<include name="commons-logging.jar"/>
-    	</lib>
+        <lib refid="commons-logging:commons-logging:jar"/>
     </war>
     <jar destfile="${build.lib}/classloader-leak-ejb.jar"
     	manifest="${build.resources}/classloader/leak/ejb/META-INF/MANIFEST.MF">
@@ -401,8 +395,9 @@
   		</fileset>
     </ear> 		
   	<mkdir dir="${build.resources}/classloader/leak/ear/lib"/>
-  	<copy todir="${build.resources}/classloader/leak/ear/lib"
-  	    file="${apache.logging.lib}/commons-logging.jar"/>
+  	<copy todir="${build.resources}/classloader/leak/ear/lib">
+      <fileset refid="commons-logging:commons-logging:jar"/>
+    </copy>
   	<ear destfile="${build.lib}/classloader-leak-in-ear.ear"
   	  appxml="${build.resources}/classloader/leak/ear/META-INF/application-jcl.xml">
   		<fileset dir="${build.lib}">

Modified: trunk/testsuite/imports/sections/isolation.xml
===================================================================
--- trunk/testsuite/imports/sections/isolation.xml	2009-07-14 18:58:31 UTC (rev 91238)
+++ trunk/testsuite/imports/sections/isolation.xml	2009-07-14 19:23:10 UTC (rev 91239)
@@ -59,9 +59,7 @@
          <classes dir="${build.resources}/isolation/c/war/WEB-INF/classes">
             <include name="**/*"/>
          </classes>
-         <lib dir="${apache.log4j.lib}">
-            <include name="log4j.jar"/>
-         </lib>
+         <lib refid="log4j:log4j:jar"/>
       </war>
       
       <!-- build isolationC.ear -->

Modified: trunk/testsuite/imports/sections/jsf.xml
===================================================================
--- trunk/testsuite/imports/sections/jsf.xml	2009-07-14 18:58:31 UTC (rev 91238)
+++ trunk/testsuite/imports/sections/jsf.xml	2009-07-14 19:23:10 UTC (rev 91239)
@@ -1,6 +1,6 @@
 <project name="tests-jsf-jars">
    <!-- jsf test -->
-   <target name="_jars-jsf">
+   <target name="_jars-jsf" depends="init">
      <mkdir dir="${build.lib}"/>
      <!-- build jbosstest-jsf.war -->
      <war destfile="${build.lib}/jbosstest-jsf.war"
@@ -21,26 +21,14 @@
      <!-- make WAR for testing legacy WARs that bundle MyFaces -->
      <war destfile="${build.lib}/bundled-myfaces-hellojsf.war"
        webxml="${build.resources}/web/WEB-INF/bundled-myfaces-jsf.xml">
-       <lib dir="${apache.myfaces.lib}">
-            <include name="myfaces-api-1.1.3.jar"/>
-            <include name="myfaces-impl-1.1.3.jar"/>
-            <include name="jstl-1.1.0.jar"/>
-       </lib>
-       <lib dir="${apache.beanutils.lib}">
-            <include name="commons-beanutils.jar"/>
-       </lib>
-       <lib dir="${apache.codec.lib}">
-            <include name="commons-codec.jar"/>
-       </lib>
-       <lib dir="${apache.collections.lib}">
-            <include name="commons-collections.jar"/>
-       </lib>
-       <lib dir="${apache.digester.lib}">
-            <include name="commons-digester.jar"/>
-       </lib>
-       <lib dir="${apache.lang.lib}">
-            <include name="commons-lang.jar"/>
-       </lib>
+       <lib refid="apache-myfaces:myfaces-api:jar"/>
+       <lib refid="apache-myfaces:myfaces-impl:jar"/>
+       <!--<lib refid="javax.servlet:jstl:jar"/>-->
+       <lib refid="commons-beanutils:commons-beanutils:jar"/>
+       <lib refid="commons-codec:commons-codec:jar"/>
+       <lib refid="commons-collections:commons-collections:jar"/>
+       <lib refid="commons-digester:commons-digester:jar"/>
+       <lib refid="commons-lang:commons-lang:jar"/>
        <lib dir="${commons.el.lib}">
             <include name="commons-el.jar"/>
        </lib>

Modified: trunk/testsuite/imports/sections/web.xml
===================================================================
--- trunk/testsuite/imports/sections/web.xml	2009-07-14 18:58:31 UTC (rev 91238)
+++ trunk/testsuite/imports/sections/web.xml	2009-07-14 19:23:10 UTC (rev 91239)
@@ -764,9 +764,7 @@
          <webinf dir="${build.resources}/web/class-loading">
             <include name="jboss-web.xml"/>
          </webinf>
-         <lib dir="${apache.log4j.lib}">
-            <include name="log4j.jar" />
-         </lib>
+         <lib refid="log4j:log4j:jar"/>
          <lib dir="${build.lib}">
             <include name="jbosstest-web-util.jar"/>
             <include name="resources.jar"/>




More information about the jboss-cvs-commits mailing list