[jboss-svn-commits] JBL Code SVN: r11582 - labs/jbosstm/workspace/jhalliday/txbridge.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed May 2 08:45:06 EDT 2007
Author: jhalliday
Date: 2007-05-02 08:45:06 -0400 (Wed, 02 May 2007)
New Revision: 11582
Added:
labs/jbosstm/workspace/jhalliday/txbridge/BOF-4182.odp
labs/jbosstm/workspace/jhalliday/txbridge/README.txt
labs/jbosstm/workspace/jhalliday/txbridge/build.xml
Log:
Added skeleton JavaOne presentation and additional files for the demo.
Added: labs/jbosstm/workspace/jhalliday/txbridge/BOF-4182.odp
===================================================================
(Binary files differ)
Property changes on: labs/jbosstm/workspace/jhalliday/txbridge/BOF-4182.odp
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: labs/jbosstm/workspace/jhalliday/txbridge/README.txt
===================================================================
--- labs/jbosstm/workspace/jhalliday/txbridge/README.txt (rev 0)
+++ labs/jbosstm/workspace/jhalliday/txbridge/README.txt 2007-05-02 12:45:06 UTC (rev 11582)
@@ -0,0 +1,30 @@
+
+This is the prototype transaction bridge for JavaOne 2007.
+
+jonathan.halliday at redhat.com, 2007-04-30
+
+To build the bridge itself:
+
+ Requires java 5, ant, JBossAS and JBossTS. You'll probably have to build the last 2 from source
+ to get sufficiently recent versions. In particular JBossTS XTS 4.2.3.GA wont work.
+ Tested with JBossAS 4_2 branch and JBossTS trunk both as of 2007-04-27
+
+ edit build.xml to set properties locating the JBossAS and JBossTS XTS installs.
+ run 'ant'
+
+ This produces a build/txbridge.jar file that is used by the demo app.
+
+To build the demo app:
+
+ You need to build the bridge first, see above.
+
+ This is a modified version of the demo that ships with XTS. You should probably run the original
+ version first to make sure your installation works and familiarize yourself with the applicaiton.
+
+ cd demo
+ edit build.xml to set properties for install locations, as above.
+ edit jboss.properties for URLs if running the demo on anything other than the default location
+ (localhost:8080/xtsdemoservices/)
+ run 'ant deploy' to build the demo and deploy it into the server.
+
+ The original demo works on platforms other than JBoss. The modified version probably does not.
Added: labs/jbosstm/workspace/jhalliday/txbridge/build.xml
===================================================================
--- labs/jbosstm/workspace/jhalliday/txbridge/build.xml (rev 0)
+++ labs/jbosstm/workspace/jhalliday/txbridge/build.xml 2007-05-02 12:45:06 UTC (rev 11582)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ * JBoss, Home of Professional Open Source
+ * Copyright 2007, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ * (C) 2007,
+ * @author JBoss Inc.
+-->
+
+<project name="TxBridge" default="dist" basedir=".">
+ <description>
+ Transaction Bridge
+ </description>
+
+ <property name="jboss.server.dir" location="/home/jhalli/IdeaProjects/jboss/jbossas42/build/output/jboss-4.2.0.GA/server/default"/>
+ <property name="xts.home" location="/home/jhalli/IdeaProjects/jboss/jbossts/XTS/xts-install/"/>
+
+ <property name="src" location="src"/>
+ <property name="lib" location="lib"/>
+ <property name="resources" location="resources"/>
+ <property name="build" location="build"/>
+
+ <path id="build-prereqs">
+ <fileset dir="${jboss.server.dir}/lib">
+ <include name="jboss-j2ee.jar"/>
+ <include name="log4j.jar"/>
+ </fileset>
+ <fileset dir="${jboss.server.dir}/deploy/jbossws.sar">
+ <include name="jboss-jaxws.jar"/>
+ <include name="saaj-api.jar"/>
+ </fileset>
+ <fileset dir="${xts.home}/lib">
+ <include name="*.jar"/>
+ <include name="ext/jbossjts.jar"/>
+ <include name="ext/jbossts-common.jar"/>
+ </fileset>
+
+ </path>
+
+ <target name="clean" description="clean up">
+ <delete dir="${build}"/>
+ </target>
+
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${build}"/>
+ </target>
+
+ <target name="compile" depends="init"
+ description="compile the source ">
+ <mkdir dir="${build}/classes"/>
+ <javac srcdir="${src}" destdir="${build}/classes">
+ <classpath refid="build-prereqs"/>
+ </javac>
+ </target>
+
+ <target name="dist" depends="compile"
+ description="generate the distribution">
+ <jar jarfile="${build}/txbridge.jar">
+ <fileset dir="${build}/classes">
+ <include name="org/jboss/txbridge/*"/>
+ </fileset>
+ </jar>
+ </target>
+
+</project>
+
More information about the jboss-svn-commits
mailing list