[jboss-svn-commits] JBL Code SVN: r17710 - labs/jbosstm/trunk/atsintegration.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Jan 11 04:41:47 EST 2008


Author: adinn
Date: 2008-01-11 04:41:46 -0500 (Fri, 11 Jan 2008)
New Revision: 17710

Modified:
   labs/jbosstm/trunk/atsintegration/build.xml
Log:
updated atsintegration lib dependencies to conform AS 5.0 - part of fix for JBTM-123

Modified: labs/jbosstm/trunk/atsintegration/build.xml
===================================================================
--- labs/jbosstm/trunk/atsintegration/build.xml	2008-01-11 06:25:42 UTC (rev 17709)
+++ labs/jbosstm/trunk/atsintegration/build.xml	2008-01-11 09:41:46 UTC (rev 17710)
@@ -76,6 +76,7 @@
         </fail>
 
         <property name="jboss.lib.dir" location="${jboss.home}/lib"/>
+        <property name="jboss.client.lib.dir" location="${jboss.home}/client"/>
         <property name="jboss.server.dir" location="${jboss.home}/server/${jboss.server}"/>
         <property name="jboss.server.lib.dir" location="${jboss.server.dir}/lib"/>
 
@@ -120,9 +121,28 @@
 
         <!-- libs from JBoss App Server installation. Note: these jars were refactored between
           AS 4.x and AS 5.0. The list below is a hybrid to allow building against either version. -->
+	<!--
         <property name="jboss.libs" value="jboss-common.jar jboss-system.jar jboss-jmx.jar jboss-logging-spi.jar jboss-common-core.jar jboss-j2se.jar jboss-system-jmx.jar"/>
         <property name="jboss.server.jta.libs" value="jmx-adaptor-plugin.jar jboss-transaction.jar"/>
         <property name="jboss.server.jts.libs" value="jboss-iiop.jar jacorb.jar"/>
+	-->
+	<!--
+	    as a jbossas component we would like to use just the
+	    integration jar here. however it does not contain some
+	    stuff we need e.g. rmi, system, logger classes etc, so we
+	    pick up jbossall-client instead. also, pending some
+	    refactoring in the AS we still depend upon class
+	    org.jboss.system.ServiceMBeanSupport which is not in the
+	    integration/client jars. we can find it in the lib dir in
+	    jboss-system-jmx.jar. finally, for a jts build we still
+	    need the jacorb and iiop libs which are in server/all/lib
+	-->
+
+        <property name="jboss.libs" value="jboss-system-jmx.jar"/>
+        <property name="jboss.client.libs" value="jbossall-client.jar"/>
+        <property name="jboss.server.jta.libs" value=""/>
+        <property name="jboss.server.jts.libs" value="jboss-iiop.jar jacorb.jar"/>
+
         <condition property="jboss.server.libs" value="${jboss.server.jta.libs} ${jboss.server.jts.libs}">
             <isset property="com.hp.mwlabs.ts.build.jts"/>
         </condition>
@@ -134,6 +154,7 @@
 				<include name="**/*.zip"/>
 			</fileset>
 			<filelist dir="${jboss.lib.dir}" files="${jboss.libs}"/>
+			<filelist dir="${jboss.client.lib.dir}" files="${jboss.client.libs}"/>
             <filelist dir="${jboss.server.lib.dir}" files="${jboss.server.libs}"/>
         </path>
         <property name="build.classpath" refid="build.classpath"/>




More information about the jboss-svn-commits mailing list