[jboss-cvs] JBossAS SVN: r66649 - branches/JBPAPP_4_2/ejb3.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Nov 1 09:58:35 EDT 2007


Author: wolfc
Date: 2007-11-01 09:58:35 -0400 (Thu, 01 Nov 2007)
New Revision: 66649

Modified:
   branches/JBPAPP_4_2/ejb3/build-test.xml
Log:
JBPAPP-347: Fixed dd for service test

Modified: branches/JBPAPP_4_2/ejb3/build-test.xml
===================================================================
--- branches/JBPAPP_4_2/ejb3/build-test.xml	2007-11-01 13:57:53 UTC (rev 66648)
+++ branches/JBPAPP_4_2/ejb3/build-test.xml	2007-11-01 13:58:35 UTC (rev 66649)
@@ -234,6 +234,7 @@
    <property name="build.stylesheets" value="${module.output}/stylesheets"/>
    <!-- build.resources is needed for the test-configs directory used by the create-config macro -->
    <property name="build.resources" value="${module.source}/resources"/>
+   <property name="target.resources" value="${module.output}/resources"/>
 
    <!-- Install/Release structure -->
    <property name="install.id" value="${module.name}-${module.version}"/>
@@ -3056,9 +3057,21 @@
    </target>
 -->
 
+   <target name="_service_jbm" if="build.soa">
+      <mkdir dir="${target.resources}/test/service"/>
+      <xslt style="${resources}/test/mq2jbm.xsl" 
+      	in="${resources}/test/service/test-destination-service.xml" 
+      	out="${target.resources}/test/service/test-destination-service.xml"/>
+   </target>
+   
+   <target name="_service_mq" unless="build.soa">
+      <mkdir dir="${target.resources}/test/service"/>
+      <copy todir="${target.resources}/test/service" file="${resources}/test/service/test-destination-service.xml"/>
+   </target>
+   
    <target name="service"
       description="Builds all jar files."
-      depends="compile-classes">
+      depends="compile-classes,_service_jbm,_service_mq">
 
       <mkdir dir="${build.lib}"/>
 
@@ -3078,6 +3091,8 @@
             <include name="META-INF/ejb-jar.xml"/>
             <include name="META-INF/jboss.xml"/>
             <include name="META-INF/persistence.xml"/>
+         </fileset>
+         <fileset dir="${target.resources}/test/service">
             <include name="test-destination-service.xml"/>
          </fileset>
          <fileset dir="${resources}/test">




More information about the jboss-cvs-commits mailing list