[jboss-svn-commits] JBL Code SVN: r24298 - in labs/jbosstm/trunk/atsintegration: classes/com/arjuna/ats/jbossatx/jta and 1 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Dec 8 06:00:39 EST 2008


Author: jhalliday
Date: 2008-12-08 06:00:39 -0500 (Mon, 08 Dec 2008)
New Revision: 24298

Modified:
   labs/jbosstm/trunk/atsintegration/build.xml
   labs/jbosstm/trunk/atsintegration/classes/com/arjuna/ats/jbossatx/jta/TransactionManagerService.java
   labs/jbosstm/trunk/atsintegration/classes/com/arjuna/ats/jbossatx/jts/TransactionManagerService.java
Log:
Update build for AS 5.0.0.GA  JBTM-446


Modified: labs/jbosstm/trunk/atsintegration/build.xml
===================================================================
--- labs/jbosstm/trunk/atsintegration/build.xml	2008-12-08 08:59:59 UTC (rev 24297)
+++ labs/jbosstm/trunk/atsintegration/build.xml	2008-12-08 11:00:39 UTC (rev 24298)
@@ -76,9 +76,8 @@
         </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"/>
+        <property name="jboss.common.lib.dir" location="${jboss.home}/common/lib"/>
+        <property name="jboss.server.all.lib.dir" location="${jboss.home}/server/all/lib"/>
 
         <property name="com.arjuna.mw.installationdirectory" value="install"/>
         <property name="com.arjuna.mw.sourceid" value="unknown"/>
@@ -132,16 +131,23 @@
         -->
 
         <!-- jboss-common-core.jar has UnexpectedThrowable, jboss-logging-spi.jar has Logger, jboss-main.jar has ServerConfig -->
-        <property name="jboss.libs" value="jboss-common-core.jar jboss-logging-spi.jar jboss-main.jar"/>
+        <property name="jboss.libs" value="jboss-common-core.jar jboss-logging-spi.jar jboss-bootstrap.jar"/>
         <!-- jboss-integration.jar has the transactions SPI, jmx-adaptor-plugin.jar has RMIAdaptor -->
-        <property name="jboss.server.jta.libs" value="jboss-integration.jar jmx-adaptor-plugin.jar"/>
-        <property name="jboss.server.jts.libs" value="jboss-iiop.jar jacorb.jar"/>
+        <property name="jboss.common.shared.jta.libs" value="jboss-integration.jar jmx-adaptor-plugin.jar"/>
 
+        <property name="jboss.common.shared.jts.libs" value="jboss-iiop.jar"/>
+        <property name="jboss.server.all.jts.libs" value="jacorb.jar"/>
 
-        <condition property="jboss.server.libs" value="${jboss.server.jta.libs} ${jboss.server.jts.libs}">
+        <condition property="jboss.common.shared.libs" value="${jboss.common.shared.jta.libs} ${jboss.common.shared.jts.libs}">
             <isset property="com.hp.mwlabs.ts.build.jts"/>
         </condition>
-        <property name="jboss.server.libs" value="${jboss.server.jta.libs}"/>
+        <property name="jboss.common.shared.libs" value="${jboss.common.shared.jta.libs}"/>
+
+        <condition property="jboss.server.all.libs" value="${jboss.server.all.jts.libs}">
+            <isset property="com.hp.mwlabs.ts.build.jts"/>
+        </condition>
+        <property name="jboss.server.all.libs" value=""/>
+
         <!-- Classpath -->
         <path id="build.classpath">
             <fileset dir="${com.arjuna.mwlabs.installation.lib.directory}">
@@ -149,8 +155,9 @@
 				<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}"/>
+            <filelist dir="${jboss.common.lib.dir}" files="${jboss.common.shared.libs}"/>
+            <filelist dir="${jboss.server.all.lib.dir}" files="${jboss.server.all.libs}"/>
+
         </path>
         <property name="build.classpath" refid="build.classpath"/>
 

Modified: labs/jbosstm/trunk/atsintegration/classes/com/arjuna/ats/jbossatx/jta/TransactionManagerService.java
===================================================================
--- labs/jbosstm/trunk/atsintegration/classes/com/arjuna/ats/jbossatx/jta/TransactionManagerService.java	2008-12-08 08:59:59 UTC (rev 24297)
+++ labs/jbosstm/trunk/atsintegration/classes/com/arjuna/ats/jbossatx/jta/TransactionManagerService.java	2008-12-08 11:00:39 UTC (rev 24298)
@@ -30,7 +30,7 @@
  */
 package com.arjuna.ats.jbossatx.jta;
 
-import org.jboss.system.server.ServerConfig;
+import org.jboss.bootstrap.spi.ServerConfig;
 import org.jboss.tm.*;
 
 import org.jboss.logging.Logger;

Modified: labs/jbosstm/trunk/atsintegration/classes/com/arjuna/ats/jbossatx/jts/TransactionManagerService.java
===================================================================
--- labs/jbosstm/trunk/atsintegration/classes/com/arjuna/ats/jbossatx/jts/TransactionManagerService.java	2008-12-08 08:59:59 UTC (rev 24297)
+++ labs/jbosstm/trunk/atsintegration/classes/com/arjuna/ats/jbossatx/jts/TransactionManagerService.java	2008-12-08 11:00:39 UTC (rev 24298)
@@ -30,7 +30,7 @@
  */
 package com.arjuna.ats.jbossatx.jts;
 
-import org.jboss.system.server.ServerConfig;
+import org.jboss.bootstrap.spi.ServerConfig;
 import org.jboss.iiop.CorbaORBService;
 import org.jboss.tm.*;
 import org.jboss.logging.Logger;
@@ -224,7 +224,7 @@
         {
             org.omg.CosTransactions.TransactionFactory factory = com.arjuna.ats.jts.OTSManager.get_factory();
             final int resolver = com.arjuna.ats.jts.TransactionServer.getResolver();
-    
+
             com.arjuna.ats.jts.TransactionServer.registerTransactionManager(resolver, ORB.getInstance("jboss-atx"), factory);
         }
         catch (final Exception ex)




More information about the jboss-svn-commits mailing list