[jboss-svn-commits] JBL Code SVN: r37329 - in labs/jbosstm/trunk: ArjunaCore and 19 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Aug 2 11:59:27 EDT 2011
Author: tomjenkinson
Date: 2011-08-02 11:59:25 -0400 (Tue, 02 Aug 2011)
New Revision: 37329
Removed:
labs/jbosstm/trunk/ArjunaCore/arjuna/build.xml
labs/jbosstm/trunk/ArjunaCore/build.xml
labs/jbosstm/trunk/ArjunaCore/txoj/build.xml
labs/jbosstm/trunk/ArjunaJTA/build.xml
labs/jbosstm/trunk/ArjunaJTA/jdbc/build.xml
labs/jbosstm/trunk/ArjunaJTA/jta/build.xml
labs/jbosstm/trunk/ArjunaJTS/build.xml
labs/jbosstm/trunk/ArjunaJTS/jacorb/idl/build.xml
labs/jbosstm/trunk/ArjunaJTS/jtax/build.xml
labs/jbosstm/trunk/ArjunaJTS/jts/build.xml
labs/jbosstm/trunk/ArjunaJTS/orbportability/build.xml
labs/jbosstm/trunk/antbuildsystem/build.xml
labs/jbosstm/trunk/atsintegration/build.xml
labs/jbosstm/trunk/atsintegration/docbuild/build.xml
labs/jbosstm/trunk/build.xml
labs/jbosstm/trunk/common/build.xml
labs/jbosstm/trunk/docs/build.xml
labs/jbosstm/trunk/maven/build.xml
labs/jbosstm/trunk/rhq-plugin/build.xml
labs/jbosstm/trunk/sharedbuild.xml
labs/jbosstm/trunk/txbridge/build.xml
labs/jbosstm/trunk/txbridge/tests/build.xml
Log:
removed the old ant build system
Deleted: labs/jbosstm/trunk/ArjunaCore/arjuna/build.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/arjuna/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/ArjunaCore/arjuna/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,145 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2009, 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) 2009,
- @author JBoss, a division of Red Hat.
--->
-<project name="module-arjuna" default="dist.leafnode" basedir=".">
-
- <property name="modulename" value="arjuna"/>
-
- <property name="global.ext.libs" value="hornetq-core.jar"/>
-
- <import file="../../sharedbuild.xml"/>
-
- <target name="init" depends="sharedbuild.init">
-
- <import-module.macro module="common"/>
- <import-module.macro module="common_tests"/>
-
- </target>
-
- <!-- one of the recovery tests implements a byteman helper class which extends the default
- helper so we need to add the byteman library to the classpath when compiling the tests -->
- <target name="compile-tests">
- <compile-tests.macro>
- <additional.classpath>
- <fileset dir="${global.ext.lib.dir}" includes="${global.ext.libs} byteman.jar byteman-bmunit.jar byteman-install.jar byteman-submit.jar"/>
- </additional.classpath>
- </compile-tests.macro>
- </target>
-
- <target name="compile">
- <compile.macro>
- <additional.classpath>
- <!-- jconsole performance graphing support
- -->
- <fileset dir="${sharedbuild.base.dir}/ext/" includes="orson-0.5.0.jar"/>
- <fileset dir="${sharedbuild.base.dir}/ext/" includes="jcommon-1.0.10.jar"/>
- <fileset dir="${sharedbuild.base.dir}/ext/" includes="jfreechart-1.0.6.jar"/>
- <pathelement location="${jconsole.jar}"/>
- </additional.classpath>
- </compile.macro>
- </target>
-
- <!--
- run tests that match a given pattern, for example
- ant testone -DONECLASS="**/*ObjectStoreAPIJMXTest.java"
- To run under the debugger pass the following to the run.tests.macro macro:
- <additional.jvmargs>
- <jvmarg value="-Xdebug"/>
- <jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"/>
- </additional.jvmargs>
- -->
- <target name="testone">
- <run.tests.macro>
- <tests>
- <fileset dir="tests/classes" includes="${ONECLASS}"/>
- </tests>
- </run.tests.macro>
- </target>
-
- <target name="run.tests">
- <run.tests.macro>
- <tests>
- <fileset dir="tests/classes" includes="**/*.java">
- <exclude name="**/resources/**"/>
- <exclude name="**/DummyCheckedAction.java"/>
- <exclude name="**/MyAccess.java"/>
- <exclude name="**/Worker.java"/>
- <exclude name="**/BasicCrashRecord.java"/>
- <exclude name="**/DummyRecoveryModule.java"/>
- <exclude name="**/CrashAbstractRecord*.java"/>
- <exclude name="**/RecoveryTransaction.java"/>
- <exclude name="**/UserDefFirst0Setup.java"/>
- <exclude name="**/CachedTest.java"/>
-
- <!-- LogStressTest2 takes too long - needs moving to /qa -->
- <exclude name="**/LogStressTest2.java"/>
- <!-- tests which have been modified to run using byteman scripts -->
- <exclude name="**/reaper/ReaperMonitorTest.java"/>
- <exclude name="**/reaper/ReaperTestCase3.java"/>
- <exclude name="**/reaper/ReaperTestCase2.java"/>
- <exclude name="**/reaper/ReaperTestCase.java"/>
- <exclude name="**/objectstore/LogStoreRecoveryTest.java"/>
- <exclude name="**/objectstore/LogStoreTest2.java"/>
-
- <exclude name="**/recovery/RecoveryManagerStartStopTest.java"/>
- <!-- auxilairy code used by reaper test classes -->
- <exclude name="**/reaper/ReaperTestCaseControl.java"/>
- </fileset>
- </tests>
- </run.tests.macro>
- <!-- reaper tests run using script reaper.txt -->
- <run.tests.macro>
- <tests>
- <fileset dir="tests/classes">
- <include name="**/reaper/ReaperMonitorTest.java"/>
- <include name="**/reaper/ReaperTestCase.java"/>
- <include name="**/reaper/ReaperTestCase2.java"/>
- <include name="**/reaper/ReaperTestCase3.java"/>
- </fileset>
- </tests>
-
- <!--<additional.jvmargs>-->
- <!--<jvmarg value="-Dorg.jboss.byteman.dump.generated.classes"/>-->
- <!--<jvmarg value="-Dorg.jboss.byteman.dump.generated.classes.directory=dump"/>-->
- <!--<jvmarg value="-Xdebug"/>-->
- <!--<jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"/>-->
- <!--</additional.jvmargs>-->
-
- </run.tests.macro>
- <!-- object store tests run using script objectstore.txt -->
- <run.tests.macro>
- <tests>
- <fileset dir="tests/classes">
- <include name="**/objectstore/LogStoreRecoveryTest.java"/>
- <include name="**/objectstore/LogStoreTest2.java"/>
- </fileset>
- </tests>
- </run.tests.macro>
- <run.tests.macro>
- <tests>
- <fileset dir="tests/classes" includes="**/recovery/RecoveryManagerStartStopTest.java"/>
- </tests>
- </run.tests.macro>
-
- <emma.report.macro/>
-
- </target>
-
-</project>
Deleted: labs/jbosstm/trunk/ArjunaCore/build.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/ArjunaCore/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,150 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2009, 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) 2009,
- @author JBoss, a division of Red Hat.
--->
-<project name="module-arjunacore" default="dist" basedir=".">
-
- <property name="modulename" value="arjunacore"/>
-
- <import file="../sharedbuild.xml"/>
-
- <property name="component-module-list" value="../common,arjuna,txoj"/>
-
- <target name="dist" depends="dist.compositenode, install.docs, install.scripts, install.services, install.etc">
- </target>
-
- <target name="clean" depends="sharedbuild.clean">
- <delete dir="docs/failure_recovery_guide/target"/>
- <delete dir="docs/development_guide/target"/>
- </target>
-
- <target name="htdocs">
- <htdocs.composite.macro>
- <packagesets>
- <packageset dir="../common/classes" excludes="**/internal/**"/>
- <packageset dir="arjuna/classes" excludes="**/internal/**"/>
- <packageset dir="txoj/classes" excludes="**/internal/**"/>
- </packagesets>
- </htdocs.composite.macro>
- </target>
-
- <target name="install.scripts">
-
- <property name="scripts.dest.dir" value="${build.dir}/install/bin"/>
- <property name="product_name" value="${modulename}"/>
- <property name="home_directory" value="JBOSSCORE_HOME"/>
- <property name="orbprefix" value="without"/>
- <property name="extra_scripts" value="the_jts_overrides_this_property"/>
-
- <mkdir dir="${scripts.dest.dir}"/>
-
- <copy todir="${scripts.dest.dir}" filtering="true" overwrite="true" >
- <fileset dir="scripts">
- <include name="start-recovery-manager.bat"/>
- <include name="start-recovery-manager.sh"/>
- <include name="run-tools.bat"/>
- <include name="run-tools.sh"/>
- <include name="${extra_scripts}"/>
- </fileset>
- <filterset>
- <filter token="PRODUCT_NAME" value="${product_name}"/>
- <filter token="HOME_DIRECTORY" value="${home_directory}"/>
- </filterset>
- </copy>
-
- <copy todir="${scripts.dest.dir}" filtering="true" overwrite="true" >
- <fileset dir="scripts">
- <include name="${orbprefix}orb-setup-env.*"/>
- </fileset>
-
- <globmapper from="${orbprefix}orb-*" to="*"/>
-
- <filterset>
- <filter token="PRODUCT_NAME" value="${product_name}"/>
- <filter token="HOME_DIRECTORY" value="${home_directory}"/>
- </filterset>
- </copy>
-
- </target>
-
- <target name="install.docs">
-
- <property name="dest.dir" value="docs"/>
-
- <if>
- <istrue value="${publican}" />
- <then>
- <exec dir="docs/failure_recovery_guide" executable="publican" failonerror="true">
- <arg value="build"/>
- <arg value="--langs=en-US"/>
- <arg value="--formats=pdf,html"/>
- </exec>
- <exec dir="docs/development_guide" executable="publican" failonerror="true">
- <arg value="build"/>
- <arg value="--langs=en-US"/>
- <arg value="--formats=pdf,html"/>
- </exec>
- <copy todir="${build.dir}/install/${dest.dir}" overwrite="true" flatten="true">
- <fileset dir="." includes="**/*.pdf"/>
- </copy>
- </then>
- </if>
-
- </target>
-
- <target name="install.services">
-
- <property name="services.dest.dir" value="${build.dir}/install/services"/>
- <property name="product_name" value="${modulename}"/>
-
- <mkdir dir="${services.dest.dir}"/>
- <mkdir dir="${services.dest.dir}/logs"/>
- <mkdir dir="${services.dest.dir}/lib"/>
- <mkdir dir="${services.dest.dir}/config"/>
-
- <mkdir dir="${build.dir}/services"/>
- <javac srcdir="arjuna/services/classes" destdir="${build.dir}/services" debug="${debug}"
- deprecation="${deprecation}" includeantruntime="false">
- <classpath>
- <fileset dir="arjuna/build/lib" includes="arjuna.jar"/>
- <fileset dir="." includes="${lib.dir}/ext/*"/>
- <fileset dir="${global.ext.lib.dir}" includes="wrapper.jar"/>
- </classpath>
- </javac>
- <jar basedir="${build.dir}/services" destfile="${services.dest.dir}/lib/${product_name}-services.jar"/>
-
- <copy file="${global.ext.lib.dir}/wrapper.jar" todir="${services.dest.dir}/../lib/ext"/>
-
- <install.services.files.macro services.dest.dir="${services.dest.dir}" productname="${product_name}" modulename="arjuna"/>
-
- </target>
-
- <target name="install.etc">
-
- <property name="etc.dest.dir" value="${basedir}/${build.dir}/install/etc"/>
-
- <delete dir="${etc.dest.dir}"/>
- <mkdir dir="${etc.dest.dir}"/>
-
- <copy file="arjuna/etc/log4j.properties" todir="${etc.dest.dir}"/>
- <copy file="jbossts-properties-arjunacore.xml" tofile="${etc.dest.dir}/jbossts-properties.xml"/>
-
- </target>
-
-</project>
Deleted: labs/jbosstm/trunk/ArjunaCore/txoj/build.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaCore/txoj/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/ArjunaCore/txoj/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,58 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2009, 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) 2009,
- @author JBoss, a division of Red Hat.
--->
-<project name="module-txoj" default="dist.leafnode" basedir=".">
-
- <property name="modulename" value="txoj"/>
-
- <import file="../../sharedbuild.xml"/>
-
- <target name="init" depends="sharedbuild.init">
-
- <import-module.macro module="common"/>
- <import-module.macro module="common_tests"/>
- <import-module.macro module="arjuna"/>
-
- </target>
-
- <target name="run.tests">
-
- <run.tests.macro>
- <tests>
- <fileset dir="tests/classes" includes="**/*.java">
- <!-- Were refactored to true classes as used in multiple places -->
- <exclude name="**/AbortObject.java"/>
- <exclude name="**/CommitObject.java"/>
- <exclude name="**/ThreadObject1.java"/>
- <exclude name="**/ThreadObject2.java"/>
- <exclude name="**/DummyLockManager.java"/>
- <exclude name="**/DummyTOModule.java"/>
- <exclude name="**/MyRecoveredTO.java"/>
-
- <exclude name="**/common/**"/>
- </fileset>
- </tests>
- </run.tests.macro>
-
- <emma.report.macro/>
-
- </target>
-
-</project>
\ No newline at end of file
Deleted: labs/jbosstm/trunk/ArjunaJTA/build.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/ArjunaJTA/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,125 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2009, 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) 2009,
- @author JBoss, a division of Red Hat.
--->
-<project name="module-jbossjta" default="dist" basedir=".">
-
- <property name="modulename" value="jbossjta"/>
-
- <import file="../sharedbuild.xml"/>
-
- <property name="component-module-list" value="../common,../ArjunaCore/arjuna,../ArjunaCore/txoj,jta,jdbc"/>
-
- <target name="dist" depends="dist.compositenode, install.docs, install.scripts, install.services, install.etc">
- <copy file="INSTALL" todir="${build.dir}/install"/>
- </target>
-
- <target name="clean" depends="sharedbuild.clean">
- <delete dir="docs/quick_start/target"/>
- <delete dir="docs/administration_guide/target"/>
- <delete dir="docs/installation_guide/target"/>
- <delete dir="docs/development_guide/target"/>
- </target>
-
- <target name="htdocs">
- <htdocs.composite.macro>
- <packagesets>
- <packageset dir="../common/classes" excludes="**/internal/**"/>
- <packageset dir="../ArjunaCore/arjuna/classes" excludes="**/internal/**"/>
- <packageset dir="../ArjunaCore/txoj/classes" excludes="**/internal/**"/>
- <packageset dir="jta/classes" excludes="**/internal/**"/>
- <packageset dir="jdbc/classes" excludes="**/internal/**"/>
- </packagesets>
- </htdocs.composite.macro>
- </target>
-
- <target name="install.docs">
-
- <property name="dest.dir" value="docs"/>
-
- <if>
- <istrue value="${publican}" />
- <then>
- <exec dir="docs/administration_guide" executable="publican" failonerror="true">
- <arg value="build"/>
- <arg value="--langs=en-US"/>
- <arg value="--formats=pdf,html"/>
- </exec>
- <exec dir="docs/installation_guide" executable="publican" failonerror="true">
- <arg value="build"/>
- <arg value="--langs=en-US"/>
- <arg value="--formats=pdf,html"/>
- </exec>
- <exec dir="docs/quick_start" executable="publican" failonerror="true">
- <arg value="build"/>
- <arg value="--langs=en-US"/>
- <arg value="--formats=pdf,html"/>
- </exec>
- <exec dir="docs/development_guide" executable="publican" failonerror="true">
- <arg value="build"/>
- <arg value="--langs=en-US"/>
- <arg value="--formats=pdf,html"/>
- </exec>
- <copy todir="${build.dir}/install/${dest.dir}" overwrite="true" flatten="true">
- <fileset dir="." includes="**/*.pdf"/>
- </copy>
- </then>
- </if>
-
- <ant dir="../ArjunaCore" target="install.docs"/>
- <copy todir="${build.dir}/install/${dest.dir}" overwrite="true" flatten="true">
- <fileset dir="../ArjunaCore" includes="**/*.pdf"/>
- </copy>
-
- <ant dir="../docs" target="install.common.docs">
- <property name="dest.dir" value="build"/>
- </ant>
- <copy todir="${build.dir}/install/${dest.dir}" overwrite="true" flatten="true">
- <fileset dir="../docs" includes="**/*.pdf"/>
- </copy>
- </target>
-
- <target name="install.scripts">
- <ant dir="../ArjunaCore" target="install.scripts" inheritall="false">
- <property name="scripts.dest.dir" value="${basedir}/${build.dir}/install/bin"/>
- <property name="product_name" value="${modulename}"/>
- <property name="home_directory" value="JBOSSTA_HOME"/>
- </ant>
- </target>
-
- <target name="install.services">
- <ant dir="../ArjunaCore" target="install.services" inheritall="false">
- <property name="services.dest.dir" value="${basedir}/${build.dir}/install/services"/>
- <property name="product_name" value="${modulename}"/>
- </ant>
- </target>
-
- <target name="install.etc">
-
- <property name="etc.dest.dir" value="${basedir}/${build.dir}/install/etc"/>
-
- <ant dir="../ArjunaCore" target="install.etc" inheritall="false">
- <property name="etc.dest.dir" value="${etc.dest.dir}"/>
- </ant>
-
- <copy file="jbossts-properties-arjunajta.xml" tofile="${etc.dest.dir}/jbossts-properties.xml" overwrite="true"/>
-
- </target>
-
-</project>
Deleted: labs/jbosstm/trunk/ArjunaJTA/jdbc/build.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/jdbc/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/ArjunaJTA/jdbc/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,57 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2009, 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) 2009,
- @author JBoss, a division of Red Hat.
--->
-<project name="module-jdbc" default="dist.leafnode" basedir=".">
-
- <property name="modulename" value="jdbc"/>
-
- <property name="global.ext.libs" value="jboss-transaction-api_1.1_spec.jar"/>
-
- <import file="../../sharedbuild.xml"/>
-
- <target name="init" depends="sharedbuild.init">
-
- <import-module.macro module="common"/>
- <import-module.macro module="common_tests"/>
- <import-module.macro module="arjuna"/>
- <import-module.macro module="jta"/>
-
- </target>
-
- <target name="run.tests">
- <run.tests.macro>
- <tests>
- <fileset dir="tests/classes" includes="**/*.java">
- <exclude name="**/utils/plugins/**"/>
- <exclude name="**/DBPlugin.java"/>
-
-
- <exclude name="**/JDBC2Test.java"/>
- <exclude name="**/JDBC3Test.java"/>
- <exclude name="**/*JNDISetup.java"/>
- </fileset>
- </tests>
- </run.tests.macro>
-
- <emma.report.macro/>
-
- </target>
-
-</project>
\ No newline at end of file
Deleted: labs/jbosstm/trunk/ArjunaJTA/jta/build.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaJTA/jta/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/ArjunaJTA/jta/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,65 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2009, 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) 2009,
- @author JBoss, a division of Red Hat.
--->
-<project name="module-jta" default="dist.leafnode" basedir=".">
-
- <property name="modulename" value="jta"/>
-
- <property name="global.ext.libs" value="jboss-transaction-api_1.1_spec.jar,ironjacamar-spec-api.jar"/>
-
- <import file="../../sharedbuild.xml"/>
-
- <target name="init" depends="sharedbuild.init">
-
- <import-module.macro module="common"/>
- <import-module.macro module="common_tests"/>
- <import-module.macro module="arjuna"/>
-
- </target>
-
- <target name="run.tests">
- <!-- we need to run the CrashRecovery test using a byteman script -->
- <run.tests.macro script="recovery.txt">
- <tests>
- <fileset dir="tests/classes" includes="**/recovery/CrashRecovery.java">
- </fileset>
- </tests>
- </run.tests.macro>
- <run.tests.macro>
- <tests>
- <fileset dir="tests/classes" includes="**/*.java">
- <!-- exclude tests which were run above using byteman scripts -->
- <exclude name="**/recovery/CrashRecovery.java"/>
- <!-- exclude tests which we don't want to run -->
- <exclude name="**/common/**"/>
- <exclude name="**/LastOnePhaseResource.java"/>
- <exclude name="**/DummyXARecoveryResource.java"/>
- <exclude name="**/TestSynchronization.java"/>
- <exclude name="**/TestXAResource.java"/>
- </fileset>
- </tests>
- </run.tests.macro>
-
- <emma.report.macro/>
-
- </target>
-
-</project>
-
\ No newline at end of file
Deleted: labs/jbosstm/trunk/ArjunaJTS/build.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/ArjunaJTS/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,203 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2009, 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) 2009,
- @author JBoss, a division of Red Hat.
--->
-<project name="module-jbossjts" default="dist" basedir=".">
-
- <!--
- old system: from clean, j6, 'ant jts': 69 s
- new system: from clean, j6: 'ant': 45 s
- TODO: for each module, add test execution
-
-
-./ArjunaJTS/jtax/build/reports/TEST-com.hp.mwtests.ts.jta.jts.lastresource.LastResourceAllowedTestCase.txt
-./ArjunaJTS/jtax/build/reports/TEST-com.hp.mwtests.ts.jta.jts.lastresource.LastResourceDisallowTestCase.txt
-./ArjunaJTS/jtax/build/reports/TEST-com.hp.mwtests.ts.jta.jts.subordinate.SubordinateTestCase.txt
-
- -->
- <property name="modulename" value="jbossjts"/>
-
- <import file="../sharedbuild.xml"/>
-
- <property name="component-module-list" value="../common,../ArjunaCore/arjuna,../ArjunaCore/txoj,../ArjunaJTA/jta,../ArjunaJTA/jdbc,orbportability,jts,jtax"/>
-
- <target name="dist" depends="dist.compositenode, install.docs, install.scripts, install.services, install.etc, install.jacorb, install.trailmap, install.idl">
- <copy file="INSTALL" todir="${build.dir}/install"/>
- </target>
-
- <target name="clean" depends="sharedbuild.clean">
- <ant dir="trailmap" antfile="build_docs.xml" inheritall="false" target="clean"/>
- <delete>
- <fileset dir="." includes="**/idl-compiler.*"/>
- </delete>
- <delete dir="docs/quick_start/target"/>
- <delete dir="docs/orbportability/target"/>
- <delete dir="docs/administration_guide/target"/>
- <delete dir="docs/development_guide/target"/>
- </target>
-
- <target name="htdocs">
- <htdocs.composite.macro>
- <packagesets>
- <packageset dir="../common/classes" excludes="**/internal/**"/>
-
- <packageset dir="../ArjunaCore/arjuna/classes" excludes="**/internal/**"/>
- <packageset dir="../ArjunaCore/txoj/classes" excludes="**/internal/**"/>
-
- <packageset dir="../ArjunaJTA/jta/classes" excludes="**/internal/**"/>
- <packageset dir="../ArjunaJTA/jdbc/classes" excludes="**/internal/**"/>
-
- <packageset dir="../ArjunaJTS/orbportability/classes" excludes="**/internal/**"/>
- <packageset dir="../ArjunaJTS/jts/classes" excludes="**/internal/**"/>
- <packageset dir="../ArjunaJTS/jtax/classes" excludes="**/internal/**"/>
- </packagesets>
- </htdocs.composite.macro>
- </target>
-
- <target name="install.docs">
-
- <property name="dest.dir" value="docs"/>
-
- <if>
- <istrue value="${publican}" />
- <then>
- <exec dir="docs/quick_start" executable="publican" failonerror="true">
- <arg value="build"/>
- <arg value="--langs=en-US"/>
- <arg value="--formats=pdf,html"/>
- </exec>
- <exec dir="docs/orbportability" executable="publican" failonerror="true">
- <arg value="build"/>
- <arg value="--langs=en-US"/>
- <arg value="--formats=pdf,html"/>
- </exec>
- <exec dir="docs/administration_guide" executable="publican" failonerror="true">
- <arg value="build"/>
- <arg value="--langs=en-US"/>
- <arg value="--formats=pdf,html"/>
- </exec>
- <exec dir="docs/development_guide" executable="publican" failonerror="true">
- <arg value="build"/>
- <arg value="--langs=en-US"/>
- <arg value="--formats=pdf,html"/>
- </exec>
- <copy todir="${build.dir}/install/${dest.dir}" overwrite="true" flatten="true">
- <fileset dir="." includes="**/*.pdf"/>
- </copy>
- </then>
- </if>
-
- <copy todir="${build.dir}/install/${dest.dir}" overwrite="true">
- <fileset dir="docs" includes="images/*"/>
- <fileset dir="docs" includes="index.html"/>
- </copy>
-
- <ant dir="../ArjunaJTA" target="install.docs"/>
-
- <copy todir="${build.dir}/install/${dest.dir}" overwrite="true" flatten="true">
- <fileset dir="../ArjunaJTA" includes="**/*.pdf"/>
- </copy>
- <copy todir="${build.dir}/install/${dest.dir}" overwrite="true" flatten="true">
- <fileset dir="../ArjunaCore" includes="**/*.pdf"/>
- </copy>
- </target>
-
- <target name="install.scripts">
- <ant dir="../ArjunaCore" target="install.scripts" inheritall="false">
- <property name="scripts.dest.dir" value="${basedir}/${build.dir}/install/bin"/>
- <property name="product_name" value="${modulename}"/>
- <property name="home_directory" value="JBOSSTS_HOME"/>
- <property name="orbprefix" value="with"/>
- <property name="extra_scripts" value="start-transaction-service.*"/>
- </ant>
- </target>
-
- <target name="install.services">
-
- <property name="services.dest.dir" value="${basedir}/${build.dir}/install/services"/>
-
- <ant dir="../ArjunaCore" target="install.services" inheritall="false">
- <property name="services.dest.dir" value="${services.dest.dir}"/>
- <property name="product_name" value="${modulename}"/>
- </ant>
-
- <copy todir="${services.dest.dir}/bin">
- <fileset dir="services/bin" includes="**"/>
- </copy>
-
- <copy todir="${services.dest.dir}" filtering="on" overwrite="true">
- <fileset dir="services" includes="installer/**"/>
- <filterset>
- <filter token="HOME_DIRECTORY" value="JBOSSTS_HOME"/>
- </filterset>
- </copy>
-
- <!-- TODO jbossjts-serices.jar -->
-
- <install.services.files.macro services.dest.dir="${services.dest.dir}" productname="${product_name}" modulename="jts"/>
-
- </target>
-
- <target name="install.etc">
-
- <property name="etc.dest.dir" value="${basedir}/${build.dir}/install/etc"/>
-
- <ant dir="../ArjunaJTA" target="install.etc" inheritall="false">
- <property name="etc.dest.dir" value="${etc.dest.dir}"/>
- </ant>
-
- <copy file="jbossts-properties-arjunajts.xml" tofile="${etc.dest.dir}/jbossts-properties.xml" overwrite="true"/>
-
- </target>
-
- <target name="install.jacorb">
- <copy todir="${build.dir}/install/">
- <fileset dir="${basedir}" includes="jacorb/**"/>
- </copy>
- </target>
-
- <target name="install.trailmap">
-
- <!-- build the trail map html pages from xml src -->
- <ant dir="trailmap" antfile="build_docs.xml" />
-
- <copy todir="${build.dir}/install/trail_map">
- <fileset dir="trailmap">
- <include name="build.xml"/>
- <include name="README.txt"/>
- <include name="html/**"/>
- <include name="src/**"/>
- </fileset>
- </copy>
- </target>
-
- <target name="install.idl">
- <mkdir dir="${build.dir}/install/idl"/>
- <copy todir="${build.dir}/install/idl">
- <fileset dir="jts/idl/arjuna">
- <include name="ArjunaOTS.idl"/>
- </fileset>
- <fileset dir="jts/idl/omg">
- <include name="CosTransactions.idl"/>
- <include name="XA.idl"/>
- </fileset>
- </copy>
- </target>
-
-</project>
Deleted: labs/jbosstm/trunk/ArjunaJTS/jacorb/idl/build.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jacorb/idl/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/ArjunaJTS/jacorb/idl/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,567 +0,0 @@
-<?xml version="1.0"?>
-
-<!DOCTYPE project [ <!ENTITY common SYSTEM "../etc/common.xml"> ]>
-
-<project name="idl" default="all" basedir="..">
-
- <!-- ==================================================== -->
- <!-- JacORB idl build file -->
- <!-- $Id: build.xml,v 1.61 2008-11-18 13:33:50 nick.cross Exp $ -->
- <!-- ==================================================== -->
-
- &common;
-
- <target name="local-init" depends="init, load-taskdef" >
- <presetdef name="idl-javac">
- <jacorb-javac javac-src="${src.generated}" />
- </presetdef>
-
- <presetdef name="idl-jacidl-jacorb">
- <jacidl
- srcdir="${idl}/jacorb"
- includepath="${idl}/omg"
- destdir="${src.generated}">
- </jacidl>
- </presetdef>
-
- <presetdef name="idl-jacidl-omg">
- <jacidl generateir="true"
- srcdir="${idl}/omg"
- includepath="${idl}/omg"
- destdir="${src.generated}">
- <i2jpackage names=":org.omg"/>
- </jacidl>
- </presetdef>
- </target>
-
-
- <!-- top-level targets -->
-
- <target name="all"
- depends="corba,names,security,events,dds,transactions,concurrency,collections,jacorb,notification,property" />
-
- <target name="services"
- depends="events,collections,transactions,concurrency,property" />
-
-
- <!-- ==================================================== -->
- <!-- CORBA -->
- <!-- ==================================================== -->
-
- <target name="corba"
- depends="orb,sysex,portableserver,dynany,iop,rtcorba,etf,iiop,giop,conf,messaging,interceptor,compile"/>
-
- <target name="compile">
- <idl-javac javac-includes="org/omg/CORBA/**/*.java,
- org/omg/DynamicAny/**/*.java,
- org/omg/CORBA_2_3/**/*.java,
- org/omg/CORBA_2_5/**/*.java,
- org/omg/IOP/**/*.java,
- org/omg/RTCORBA/**/*.java,
- org/omg/ETF/**/*.java,
- org/omg/GIOP/**/*.java,
- org/omg/IIOP/**/*.java,
- org/omg/CONV_FRAME/**/*.java,
- org/omg/Dynamic/**/*.java,
- org/omg/Messaging/**/*.java,
- org/omg/PortableInterceptor/**/*.java" />
- </target>
-
-
- <!-- standard classes defined by the IDL language mapping -->
- <!-- are copied from a directory containing OMG-provided files -->
-
- <target name="orb" depends="local-init">
- <idl-jacidl-omg
- includes="Corba.idl" />
-
- <delete file="${src.generated}/org/omg/CORBA/Policy.java"/>
- <delete file="${src.generated}/org/omg/CORBA/TypeCode.java"/>
- <delete file="${src.generated}/org/omg/CORBA/TypeCodeHelper.java"/>
- <delete file="${src.generated}/org/omg/CORBA/TypeCodeHolder.java"/>
- <delete file="${src.generated}/org/omg/CORBA/TypeCodePOA.java"/>
- <delete file="${src.generated}/org/omg/CORBA/TypeCodePOATie.java"/>
- <delete file="${src.generated}/org/omg/CORBA/_TypeCodeStub.java"/>
- <delete file="${src.generated}/org/omg/CORBA/PolicyOperations.java"/>
-
- <!-- interface ORB is defined in _orb.idl to provide the wrapping -->
- <!-- for the exceptions InvalidName and InvalidTypeCode. Deleting -->
- <!-- this here to avoid confusing the compiler. -->
- <delete>
- <fileset dir="${src.generated}/org/omg/CORBA"
- includes="ORB*,_ORBStub.java" />
- </delete>
-
- <mkdir dir="${src.generated}/org"/>
-
- <copy todir="${src.generated}">
- <fileset dir="${src}/omg-02-01-02">
- <include name="**/*.java"/>
- </fileset>
- </copy>
-
- <delete file="${src.generated}/org/omg/CORBA/ORB.java"/>
- <delete file="${src.generated}/org/omg/CORBA/TypeCodePackage/BadKindHolder.java"/>
- <delete file="${src.generated}/org/omg/CORBA/TypeCodePackage/BoundsHolder.java"/>
-
- <copy file="${src}/java_mapping/CORBA/ORB.java"
- tofile="${src.generated}/org/omg/CORBA/ORB.java"
- />
- <copy file="${src}/java_mapping/CORBA/Any.java"
- tofile="${src.generated}/org/omg/CORBA/Any.java"
- />
- <copy file="${src}/java_mapping/CORBA/LocalObject.java"
- tofile="${src.generated}/org/omg/CORBA/LocalObject.java"
- />
- <copy file="${src}/java_mapping/CORBA/ORBPackage/InvalidNameHelper.java"
- tofile="${src.generated}/org/omg/CORBA/ORBPackage/InvalidNameHelper.java"
- />
- <copy file="${src}/java_mapping/CORBA/ORBPackage/ObjectIdHelper.java"
- tofile="${src.generated}/org/omg/CORBA/ORBPackage/ObjectIdHelper.java"
- />
- <copy file="${src}/java_mapping/CORBA/ORBPackage/ObjectIdListHelper.java"
- tofile="${src.generated}/org/omg/CORBA/ORBPackage/ObjectIdListHelper.java"
- />
- <copy file="${src}/java_mapping/CORBA/ORBPackage/ObjectIdListHolder.java"
- tofile="${src.generated}/org/omg/CORBA/ORBPackage/ObjectIdListHolder.java"
- />
- <copy file="${src}/java_mapping/CORBA/FixedHolder.java"
- tofile="${src.generated}/org/omg/CORBA/FixedHolder.java"
- />
- <copy file="${src}/java_mapping/CORBA/SetOverrideType.java"
- tofile="${src.generated}/org/omg/CORBA/SetOverrideType.java"
- overwrite="yes"
- />
- <copy file="${src}/java_mapping/CORBA/TRANSACTION_MODE.java"
- tofile="${src.generated}/org/omg/CORBA/TRANSACTION_MODE.java"
- />
- <copy file="${src}/java_mapping/CORBA/TRANSACTION_UNAVAILABLE.java"
- tofile="${src.generated}/org/omg/CORBA/TRANSACTION_UNAVAILABLE.java"
- />
- <copy file="${src}/java_mapping/CORBA/CODESET_INCOMPATIBLE.java"
- tofile="${src.generated}/org/omg/CORBA/CODESET_INCOMPATIBLE.java"
- />
- </target>
-
-
- <!-- System Exceptions are generated separately to obtain their Helper -->
- <!-- classes. The Exception classes and Holder classes are discarded. -->
-
- <target name="sysex" depends="local-init">
- <mkdir dir="${src.generated}/temp"/>
-
- <idl-jacidl-omg
- includes="**/SystemException.idl"
- destdir="${src.generated}/temp"/>
-
- <copy todir="${src.generated}" overwrite="yes">
- <fileset dir="${src.generated}/temp">
- <include name="**/CompletionStatus*.java"/>
- <include name="**/*Helper.java"/>
- </fileset>
- </copy>
-
- <delete dir="${src.generated}/temp"/>
-
- <copy file="${src}/java_mapping/CORBA/SystemExceptionHelper.java"
- todir="${src.generated}/org/omg/CORBA"
- />
- </target>
-
-
- <!-- the remaining OMG classes are generated by compiling -->
- <!-- their original IDL definitions -->
-
- <target name="iop" depends="local-init">
- <idl-jacidl-omg includes="IOP.idl" />
- </target>
-
- <target name="rtcorba" depends="local-init">
- <idl-jacidl-omg
- includes="RTCORBA.idl"
- />
- </target>
-
- <target name="etf" depends="local-init">
- <idl-jacidl-omg
- includes="ETF.idl"
- />
- </target>
-
- <target name="iiop" depends="local-init">
- <idl-jacidl-omg
- includes="IIOP.idl"
- />
- </target>
-
- <target name="giop" depends="local-init">
- <!-- Compile two times with different preprocessor flags set, so structs -->
- <!-- for both GIOP 1.0 / 1.1 and GIOP 1.2 get generated -->
- <idl-jacidl-omg includes="GIOP.idl" >
- <define key="GIOP_1_1" value=""/>
- </idl-jacidl-omg>
- <idl-jacidl-omg includes="GIOP.idl" >
- <define key="GIOP_1_2" value=""/>
- </idl-jacidl-omg>
- </target>
-
- <target name="conf" depends="local-init">
- <idl-jacidl-omg
- noskel="true"
- includes="CONV_FRAME.idl"
- />
- </target>
-
- <target name="messaging" depends="local-init">
- <idl-jacidl-omg
- noskel="true"
- nostub="true"
- includes="Messaging.idl"
- />
- </target>
-
- <target name="interceptor" depends="time,messaging">
- <idl-jacidl-omg
- noskel="true"
- nostub="true"
- includes="Dynamic.idl,PortableInterceptor.idl"
- />
- </target>
-
- <target name="portableserver" depends="local-init">
- <delete
- file="${src.generated}/org/omg/PortableServer/POAOperations.java"/>
- <delete
- file="${src.generated}/org/omg/PortableServer/POA.java"/>
- <delete
- file="${src.generated}/org/omg/PortableServer/POAManagerPackage/State.java"/>
- <delete
- file="${src.generated}/org/omg/PortableServer/CurrentOperations.java"/>
-
- <idl-jacidl-omg
- noskel="true"
- forceOverwrite="true"
- includes="PortableServer.idl"/>
-
- <idl-jacidl-omg
- forceOverwrite="true"
- includes="BiDirPolicy.idl"/>
-
- <copy overwrite="yes" file="${src}/java_mapping/PortableServer/_ServantLocatorLocalBase.java"
- tofile="${src.generated}/org/omg/PortableServer/_ServantLocatorLocalBase.java"/>
- <idl-javac
- javac-includes="org/omg/PortableServer/**/*.java,org/omg/BiDirPolicy/**/*.java"/>
- </target>
-
-
- <target name="dynany">
- <idl-jacidl-omg
- includes="DynamicAny.idl" />
-
- <idl-javac
- javac-includes="org/omg/DynamicAny/**/*.java"/>
- </target>
-
- <!-- ==================================================== -->
- <!-- OMG Object services -->
- <!-- ==================================================== -->
-
- <!-- name service -->
-
- <target name="names" depends="local-init">
- <idl-jacidl-omg
- includes="CosNaming.idl"
- />
-
- <idl-javac
- javac-includes="org/omg/CosNaming/**/*.java" />
- </target>
-
- <!-- -->
- <!-- property service -->
- <!-- -->
-
- <target name="property">
- <idl-jacidl-omg
- includes="CosPropertyService.idl"
- />
-
- <idl-javac
- javac-includes="org/omg/CosPropertyService/**/*.java"/>
- </target>
-
- <!-- -->
- <!-- event service -->
- <!-- -->
-
- <target name="events" depends="local-init,comm,admin">
- <idl-javac
- javac-includes="org/omg/CosEventChannelAdmin/**,org/omg/CosEventComm/**"/>
- </target>
-
- <target name="admin">
- <idl-jacidl-omg
- includes="CosEventChannelAdmin.idl"
- />
- </target>
-
- <target name="comm">
- <idl-jacidl-omg
- includes="CosEventComm.idl"
- />
- </target>
-
- <!-- -->
- <!-- data distribution service -->
- <!-- -->
-
- <target name="dds" depends="local-init">
- <idl-jacidl-omg
- includes="dds_dcps.idl" />
- <idl-javac
- javac-includes="org/omg/dds/**/*.java"/>
- </target>
-
-
- <!-- -->
- <!-- transaction service -->
- <!-- -->
-
- <target name="transactions" depends="local-init">
- <idl-jacidl-omg
- includes="CosTransactions.idl"
- />
-
- <idl-javac
- javac-includes="org/omg/CosTransactions/**/*.java"/>
- </target>
-
- <!-- -->
- <!-- collection service -->
- <!-- -->
-
-
- <target name="collections" depends="local-init">
- <idl-jacidl-omg
- includes="CosCollection.idl"
- />
-
- <idl-javac
- javac-includes="org/omg/CosCollection/**/*.java" />
- </target>
-
- <!-- -->
- <!-- concurrency service -->
- <!-- -->
-
- <target name="concurrency">
- <idl-jacidl-omg
- includes="CosConcurrencyControl.idl"
- />
-
- <idl-javac
- javac-includes="org/omg/CosConcurrencyControl/**/*.java"/>
- </target>
-
- <target name="basic">
- <idl-jacidl-omg
- includes="CosTrading.idl"
- />
- </target>
-
- <target name="repository">
- <idl-jacidl-omg
- includes="CosTradingRepos.idl"
- />
- </target>
-
- <target name="dynamic">
- <idl-jacidl-omg
- includes="CosTradingDynamic.idl"
- />
- </target>
-
- <!-- -->
- <!-- Notification service -->
- <!-- -->
-
- <target name="notification"
- depends="local-init,notif,typed,jms-interop"
- description="Compile Notification Service IDL">
- <idl-javac
- javac-includes="org/omg/CosNotification/*.java,org/omg/CosNotify**/*.java,org/omg/CosTyped*/**/*.java"/>
- </target>
-
- <target name="notif">
- <idl-jacidl-omg
- includes="CosNotification.idl,
- CosNotifyChannelAdmin.idl,
- CosNotifyComm.idl,
- CosNotifyFilter.idl" />
- <idl-jacidl-jacorb
- includes="notification.idl"/>
- </target>
-
- <target name="typed">
- <idl-jacidl-omg
- includes="CosTypedNotifyChannelAdmin.idl,
- CosTypedNotifyComm.idl,
- CosTypedEventChannelAdmin.idl,
- CosTypedEventComm.idl"
- />
- </target>
-
- <target name="jms-interop">
- <idl-jacidl-omg
- includes="CosBridgeAdmin.idl"
- />
- </target>
-
- <!-- -->
- <!-- security service -->
- <!-- -->
-
- <target name="security"
- depends="local-init,time,secbasic,level1,level2,secadmin,replaceable,ssliop,csi">
- <idl-javac
- javac-includes="org/omg/TimeBase/**,org/omg/Security/**,org/omg/Security**/**,org/omg/SSLIOP/**"/>
- </target>
-
- <target name="secbasic">
- <idl-jacidl-omg
- noskel="true"
- nostub="true"
- sloppynames="true"
- includes="Security.idl"
- />
- </target>
-
- <target name="time">
- <idl-jacidl-omg
- noskel="true"
- nostub="true"
- includes="TimeBase.idl, CosTime.idl"
- />
- </target>
-
- <target name="level1">
- <idl-jacidl-omg
- noskel="true"
- nostub="true"
- sloppynames="true"
- includes="SecurityLevel1.idl"
- />
- </target>
-
- <target name="level2">
- <idl-jacidl-omg
- noskel="true"
- nostub="true"
- sloppynames="true"
- includes="SecurityLevel2.idl"
- />
- </target>
-
- <target name="secadmin">
- <idl-jacidl-omg
- noskel="true"
- nostub="true"
- sloppynames="true"
- includes="SecurityAdmin.idl"
- />
- </target>
-
- <target name="replaceable">
- <idl-jacidl-omg
- noskel="true"
- nostub="true"
- sloppynames="true"
- includes="SecurityReplaceable.idl"
- />
- </target>
-
- <target name="ssliop">
- <idl-jacidl-omg
- noskel="true"
- nostub="true"
- sloppynames="true"
- includes="SSLIOP.idl" />
- </target>
-
- <!-- -->
- <!-- CSI v2 -->
- <!-- -->
-
- <target name="csi">
- <idl-jacidl-omg
- noskel="true"
- nostub="true"
- sloppynames="true"
- includes="CSI.idl"
- />
-
- <idl-jacidl-omg
- noskel="true"
- nostub="true"
- sloppynames="true"
- includes="CSIIOP.idl"
- />
-
- <idl-jacidl-omg
- noskel="true"
- nostub="true"
- sloppynames="true"
- includes="GSSUP.idl"
- />
-
- <idl-jacidl-omg generateir="true"
- includes="ATLAS.idl"
- />
-
- <idl-javac
- javac-includes="org/omg/CSI/**,org/omg/CSIIOP/**,org/omg/GSSUP/**,org/omg/ATLAS/**" />
- </target>
-
- <!-- ==================================================== -->
- <!-- CORBA -->
- <!-- ==================================================== -->
-
- <target name="jacorb" depends="imr,proxy,sasPolicy,sslPolicy"/>
-
-
- <target name="imr">
- <idl-jacidl-jacorb
- includes="imr.idl">
- </idl-jacidl-jacorb>
-
- <idl-javac
- javac-includes="org/jacorb/imr/**" />
- </target>
-
-
- <target name="proxy">
- <idl-jacidl-jacorb
- includes="Proxy.idl"/>
- <idl-javac
- javac-includes="org/jacorb/proxy/**" />
- </target>
-
-
- <target name="sasPolicy">
- <idl-jacidl-jacorb
- sloppynames="true"
- includes="SASPolicy.idl" />
-
- <idl-javac
- javac-includes="org/jacorb/sasPolicy/**" />
- </target>
-
- <target name="sslPolicy">
- <idl-jacidl-jacorb
- sloppynames="true"
- includes="SSLPolicy.idl"/>
-
- <idl-javac
- javac-includes="org/jacorb/ssl/**"/>
- </target>
-</project>
Deleted: labs/jbosstm/trunk/ArjunaJTS/jtax/build.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jtax/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/ArjunaJTS/jtax/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,74 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2009, 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) 2009,
- @author JBoss, a division of Red Hat.
--->
-<project name="module-jtax" default="dist.leafnode" basedir=".">
-
- <property name="modulename" value="jtax"/>
-
- <property name="global.ext.libs" value="jboss-transaction-api_1.1_spec.jar,ironjacamar-spec-api.jar"/>
-
- <import file="../sharedbuild.xml"/>
-
- <target name="init" depends="sharedbuild.init">
-
- <import-module.macro module="common"/>
- <import-module.macro module="arjuna"/>
- <import-module.macro module="jta"/>
- <import-module.macro module="jta_tests"/>
- <import-module.macro module="orbportability"/>
- <import-module.macro module="jts"/>
-
- </target>
-
- <target name="compile-tests-idl" depends="taskdefs">
-
- <idl-build-list inproperty="idl.buildlist">
- <element src="${basedir}/${tests.dir}/idl/test.idl" package="Example"
- mappings="CosTransactions=org.omg;TestModule=com.hp.mwtests.ts.jts;CORBA=org.omg"/>
- </idl-build-list>
-
- <idl-compiler orb="JacORB"
- buildlist="${idl.buildlist}"
- destdir="${basedir}/${build.dir}/tests/generatedclasses"
- parameters="include='idl/omg/;idl/arjuna;${jacorb.home}/idl/omg',classpath='${jacorb.classpath}'"/>
- </target>
-
- <target name="run.tests">
- <run.tests.macro>
- <additional.classpath>
- <path refid="jacorb.classpath"/>
- </additional.classpath>
- <tests>
- <fileset dir="tests/classes">
- <exclude name="**/common/**"/>
- <exclude name="**/ExampleXAResource.java"/>
- <exclude name="**/JTSTestCase.java"/>
- <exclude name="**/LastOnePhaseResource.java"/>
-
- <exclude name="**/implicit/**"/>
- </fileset>
- </tests>
- </run.tests.macro>
-
- <emma.report.macro/>
-
- </target>
-
-</project>
\ No newline at end of file
Deleted: labs/jbosstm/trunk/ArjunaJTS/jts/build.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/jts/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/ArjunaJTS/jts/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,125 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2009, 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) 2009,
- @author JBoss, a division of Red Hat.
--->
-<project name="module-jts" default="dist.leafnode" basedir=".">
-
- <property name="modulename" value="jts"/>
-
- <import file="../sharedbuild.xml"/>
-
- <target name="init" depends="sharedbuild.init">
-
- <import-module.macro module="common"/>
- <import-module.macro module="common_tests"/>
- <import-module.macro module="arjuna"/>
- <import-module.macro module="txoj"/>
- <import-module.macro module="orbportability"/>
-
- </target>
-
- <target name="compile" depends="sharedbuild-jts.compile">
- <!-- TODO fix me - how to chain macros? or just pass additional.src.dirs -->
- <javac srcdir="services/classes" destdir="${build.dir}/classes" debug="${debug}"
- deprecation="${deprecation}" excludes="${excluded.classes}" includeantruntime="false">
- <classpath>
- <fileset dir="${build.dir}/lib/ext/" includes="*"/>
- <fileset dir="." includes="${lib.dir}/ext/*"/>
- <fileset dir="${global.ext.lib.dir}" includes="${global.ext.libs}"/>
- <path refid="jacorb.classpath"/>
- </classpath>
- </javac>
-
- <delete file="${build.dir}/lib/${modulename}.jar"/>
- <jar jarfile="${build.dir}/lib/${modulename}.jar"
- basedir="${build.dir}/classes"/>
- </target>
-
- <target name="compile-idl" depends="sharedbuild-jts.compile-tests-idl">
-
- <idl-build-list inproperty="idl.buildlist">
- <element src="${basedir}/idl/omg/CosTransactions.idl" package="org.omg"
- mappings="CosTransactions=org.omg"/>
- <element src="${basedir}/idl/arjuna/ArjunaOTS.idl" package="com.arjuna"
- mappings="CosTransactions=org.omg;ArjunaOTS=com.arjuna;CORBA=org.omg"/>
- <element src="${basedir}/idl/omg/XA.idl" package="org.omg"
- mappings="XA=org.omg"/>
- </idl-build-list>
-
- <idl-compiler orb="JacORB"
- buildlist="${idl.buildlist}" verbose="true"
- destdir="${basedir}/${build.dir}/generatedclasses"
- parameters="include='${basedir}/idl/omg/;${basedir}/idl/arjuna;${jacorb.home}/idl/omg',classpath='${jacorb.classpath}'"/>
- </target>
-
- <target name="compile-tests-idl" depends="sharedbuild-jts.compile-tests-idl">
-
- <idl-build-list inproperty="idl.buildlist">
- <element src="${basedir}/${tests.dir}/idl/TestModule.idl" package="com.hp.mwtests.ts.jts"
- mappings="CosTransactions=org.omg;TestModule=com.hp.mwtests.ts.jts;CORBA=org.omg"/>
- </idl-build-list>
-
- <idl-compiler orb="JacORB"
- buildlist="${idl.buildlist}"
- destdir="${basedir}/${build.dir}/tests/generatedclasses"
- parameters="include='${basedir}/idl/omg/;${basedir}/idl/arjuna;${jacorb.home}/idl/omg',classpath='${jacorb.classpath}'"/>
- </target>
-
- <target name="run.tests">
- <run.tests.macro>
- <additional.classpath>
- <path refid="jacorb.classpath"/>
- </additional.classpath>
- <tests>
- <fileset dir="tests/classes">
- <exclude name="**/exceptions/**"/>
- <exclude name="**/orbspecific/resources/**"/>
- <exclude name="**/resources/**"/>
- <exclude name="**/utils/ResourceTrace.java"/>
- <exclude name="**/utils/Util.java"/>
-
- <exclude name="**/TransactionTest2.java"/>
- <exclude name="**/CheckedTransactions.java"/>
- <exclude name="**/GridTest.java"/>
- <exclude name="**/remote/**"/>
-
- <exclude name="**/DefaultTimeout.java"/>
-
- <exclude name="**/RecoveryEnablementUnitTest.java"/>
- </fileset>
- </tests>
- </run.tests.macro>
-
- <run.tests.macro>
- <additional.classpath>
- <path refid="jacorb.classpath"/>
- </additional.classpath>
- <tests>
- <fileset dir="tests/classes">
- <!-- on its own as needs custom orb config -->
- <include name="**/RecoveryEnablementUnitTest.java"/>
- </fileset>
- </tests>
- </run.tests.macro>
-
- <emma.report.macro/>
-
- </target>
-
-</project>
\ No newline at end of file
Deleted: labs/jbosstm/trunk/ArjunaJTS/orbportability/build.xml
===================================================================
--- labs/jbosstm/trunk/ArjunaJTS/orbportability/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/ArjunaJTS/orbportability/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,100 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2009, 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) 2009,
- @author JBoss, a division of Red Hat.
--->
-<project name="module-orbportability" default="dist.leafnode" basedir=".">
-
- <property name="modulename" value="orbportability"/>
-
- <import file="../sharedbuild.xml"/>
-
- <target name="init" depends="sharedbuild.init">
-
- <import-module.macro module="common"/>
- <import-module.macro module="common_tests"/>
- <import-module.macro module="arjuna"/>
-
- </target>
-
- <target name="taskdefs">
- <!-- Note these classpaths use the classes dir not the orbportability.jar due to a file locking issue
- that may cause generateresourcebundle to fail on windows machines. -->
- <taskdef name="idl-compiler" classname="com.arjuna.orbportability.common.ant.IDLCompiler" classpath="${build.dir}/classes;config"/>
- <taskdef name="idl-build-list" classname="com.arjuna.orbportability.common.ant.IDLBuildList" classpath="${build.dir}/classes"/>
- <taskdef name="idl-build-list-element" classname="com.arjuna.orbportability.common.ant.IDLBuildListElement" classpath="${build.dir}/classes"/>
- </target>
-
- <target name="compile" depends="init">
- <compile.macro includeant="true" includeemma="false"/>
- </target>
-
- <target name="compile-tests" depends="compile-tests-idl">
- <compile-tests.macro>
- <additional.src.dirs>
- <src location="${build.dir}/tests/generatedclasses"/>
- </additional.src.dirs>
- </compile-tests.macro>
- </target>
-
- <target name="compile-tests-idl" depends="taskdefs">
-
- <!-- working dir for the compiler is the dir in which ant was invoked, as we need to anchor with ${basedir} explicitly -->
-
- <idl-build-list inproperty="idl.buildlist">
- <element src="${basedir}/${tests.dir}/idl/orbtests.idl" mappings="orbtests=com.hp.mwtests.orbportability.orbspecific" package="com.hp.mwtests.orbportability.orbspecific"/>
- </idl-build-list>
-
- <idl-compiler orb="JacORB"
- buildlist="${idl.buildlist}"
- destdir="${basedir}/${build.dir}/tests/generatedclasses"
- parameters="include='${jacorb.home}/idl/omg/',classpath='${jacorb.classpath}'"/>
-
- </target>
-
- <target name="run.tests">
- <run.tests.macro>
- <additional.classpath>
- <path refid="jacorb.classpath"/>
- </additional.classpath>
- <tests>
- <fileset dir="tests/classes">
- <exclude name="**/initialisation/postinit/**"/>
- <exclude name="**/initialisation/postset/**"/>
- <exclude name="**/initialisation/preinit/**"/>
- <exclude name="**/initialisation/TestAttributeCallback.java"/>
- <exclude name="**/SimpleObjectImpl.java"/>
- <exclude name="**/TestAttributeCallback.java"/>
- <exclude name="**/PrePostTestCallback.java"/>
-
-
- <!-- these ones need fixing -->
- <exclude name="**/PropertyInitTest.java"/>
- <exclude name="**/PropertyInitTest3.java"/>
-
- </fileset>
- </tests>
- </run.tests.macro>
-
- <emma.report.macro/>
-
- </target>
-
-</project>
-
-
Deleted: labs/jbosstm/trunk/antbuildsystem/build.xml
===================================================================
--- labs/jbosstm/trunk/antbuildsystem/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/antbuildsystem/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,36 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2009, 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) 2009,
- @author JBoss, a division of Red Hat.
--->
-<project name="module-buildsystem" default="dist.leafnode" basedir=".">
-
- <property name="modulename" value="buildsystem"/>
-
- <property name="global.ext.libs" value="junit.jar"/>
-
- <import file="../sharedbuild.xml"/>
-
- <target name="compile" depends="init">
- <compile.macro includeant="true" includeemma="false"/>
- </target>
-
- <target name="compile-tests"/>
- <target name="run.tests"/>
-
-</project>
\ No newline at end of file
Deleted: labs/jbosstm/trunk/atsintegration/build.xml
===================================================================
--- labs/jbosstm/trunk/atsintegration/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/atsintegration/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,81 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2009, 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) 2009,
- @author JBoss, a division of Red Hat.
--->
-<project name="module-atsintegration" default="dist.leafnode" basedir=".">
-
- <property name="modulename" value="jbossatx"/>
-
- <property name="global.ext.libs" value="jboss-transaction-api_1.1_spec.jar,ironjacamar-spec-api.jar"/>
-
- <property name="component-module-list" value="../atsintegration"/>
-
- <import file="../sharedbuild.xml"/>
-
- <target name="init" depends="sharedbuild.init, init.jts">
-
- <import-module.macro module="common"/>
- <import-module.macro module="arjuna"/>
- <import-module.macro module="jta"/>
-
- <property name="exclude-these-classes" value="**/jts/** ${excluded.classes}"/>
-
- </target>
-
- <target name="clean">
- <delete dir="${build.dir}"/>
- </target>
-
- <target name="init.jts" unless="no_jts">
- <import-module.macro module="jts"/>
- <import-module.macro module="jtax"/>
- <import-module.macro module="orbportability"/>
-
- <property environment="env"/>
- <copy todir="${build.dir}/lib/ext" flatten="true"
- file="${sharedbuild.base.dir}/ArjunaJTS/jacorb/lib/jacorb.jar"/>
-
- <property name="exclude-these-classes" value="${excluded.classes}"/>
- </target>
-
- <target name="compile">
-
- <property environment="env"/>
-
- <compile.macro excluded.classes="${exclude-these-classes}">
- <additional.classpath>
- <fileset dir="${global.ext.lib.dir}">
- <!-- jboss-logmanager.jar for linking the CLF integration code. -->
- <include name="jboss-logmanager.jar"/>
- <include name="jboss-transaction-spi.jar"/>
- <include name="jboss-corba-ots-spi.jar"/>
- <!-- jbosssx has security (needed for recovery module only) -->
- <include name="jbosssx.jar"/>
- </fileset>
- </additional.classpath>
- </compile.macro>
-
- </target>
-
- <target name="compile-tests"/>
- <target name="run.tests"/>
-
- <target name="dist" depends="install.lib"/>
-
-</project>
\ No newline at end of file
Deleted: labs/jbosstm/trunk/atsintegration/docbuild/build.xml
===================================================================
--- labs/jbosstm/trunk/atsintegration/docbuild/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/atsintegration/docbuild/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,50 +0,0 @@
-<?xml version="1.0"?>
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2006, 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) 2005-2006,
- @author JBoss Inc.
--->
-<project name="jbossatx-examples-docs" default="docs" basedir=".">
- <property name="docs.dir" value="docs"/>
- <property name="xsl.dir" value="xsl"/>
- <property name="html.dir" value="html"/>
- <property name="xsl.file" value="ATL_LookAndFeel.xsl"/>
- <target name="clean">
- <delete dir="${html.dir}" quiet="true"/>
- <delete>
- <fileset dir="${docs.dir}" includes="**/*.bak"/>
- <fileset dir="${xsl.dir}" includes="**/*.bak"/>
- </delete>
- </target>
- <target name="prepare" depends="clean">
- <mkdir dir="${html.dir}"/>
- </target>
- <target name="docs" depends="prepare">
- <copy todir="${html.dir}">
- <fileset dir="${docs.dir}">
- <include name="**/*.css"/>
- <include name="**/*.gif"/>
- <include name="**/*.jpg"/>
- <include name="**/*.GIF"/>
- </fileset>
- </copy>
- <style processor="trax" style="${xsl.dir}/${xsl.file}" basedir="${docs.dir}" includes="*.xml" destdir="${html.dir}" extension=".html">
- <param name="rootpath" expression="."/>
- </style>
- </target>
-</project>
Deleted: labs/jbosstm/trunk/build.xml
===================================================================
--- labs/jbosstm/trunk/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,159 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2006, 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) 2005-2006,
- @author JBoss Inc.
- (C) 2009 @author Red Hat Middleware LLC.
--->
-<project name="jbossts" default="jbossall">
-
- <taskdef resource="net/sf/antcontrib/antlib.xml">
- <classpath>
- <pathelement location="antbuildsystem/ant-contrib-1.0b3.jar"/>
- </classpath>
- </taskdef>
-
- <property environment="env"/>
-
- <target name="help">
- <echo>
- Targets supported in this build.xml file
- clean - clean projects
- core - build the core transaction engine
- jta - build the standalone jta transaction engine
- jts - build the standalone jts transaction engine
- jbossjta - build the jboss integrated jta transaction engine
- jbossjts - build the jboss integrated jts transaction engine
- </echo>
- </target>
-
- <macrodef name="install.macro">
- <attribute name="src.module"/>
- <sequential>
- <delete dir="install"/>
- <copy todir="install">
- <fileset dir="@{src.module}/build/install"/>
- </copy>
- </sequential>
- </macrodef>
-
- <target name="jts" depends="clean, init_dependencies, antbuildsystem">
- <ant dir="ArjunaJTS"/>
- <install.macro src.module="ArjunaJTS"/>
- <ant dir="qa"/>
- </target>
-
- <target name="jta" depends="clean, init_dependencies, antbuildsystem">
- <ant dir="ArjunaJTA"/>
- <install.macro src.module="ArjunaJTA"/>
- <ant dir="qa"/>
- </target>
-
- <target name="core" depends="clean, init_dependencies, antbuildsystem">
- <ant dir="ArjunaCore"/>
- <install.macro src.module="ArjunaCore"/>
- <ant dir="qa"/>
- </target>
-
- <macrodef name="atsinstall.macro">
- <attribute name="build.type"/>
- <sequential>
- <copy file="atsintegration/build/install/lib/jbossatx.jar"
- tofile="install/lib/jboss@{build.type}-integration.jar"/>
- </sequential>
- </macrodef>
-
- <target name="jbossjts" depends="clean, jts">
- <ant dir="atsintegration" target="dist"/>
- <atsinstall.macro build.type="jts"/>
- </target>
-
- <target name="jbossjta" depends="clean, jta">
- <ant dir="atsintegration" target="dist">
- <property name="no_jts" value="true"/>
- </ant>
- <atsinstall.macro build.type="jta"/>
- </target>
-
- <target name="jbossall" depends="jbossjts">
- <ant dir="XTS" target="clean"/>
- <ant dir="XTS" target="install"/>
- <ant dir="rhq-plugin" target="dist"/>
- <ant dir="txbridge" target="clean"/>
- <ant dir="txbridge" target="dist"/>
- <ant dir="docs" target="install.docs">
- <property name="dest.dir" value="../install/docs"/>
- </ant>
- </target>
-
- <target name="antbuildsystem" depends="clean">
- <ant dir="antbuildsystem"/>
- </target>
-
- <target name="clean">
- <delete dir="${basedir}/build/extlib" failonerror="false"/>
- <ant dir="maven" target="clean"/>
- <ant dir="antbuildsystem" target="clean"/>
- <ant dir="common" target="clean"/>
- <ant dir="ArjunaCore" target="clean"/>
- <ant dir="ArjunaJTA" target="clean"/>
- <ant dir="qa" target="clean"/>
-
- <if>
- <available file="XTS"/>
- <then>
- <ant dir="XTS" target="clean"/>
- </then>
- </if>
-
- <if>
- <available file="ArjunaJTS"/>
- <then>
- <ant dir="ArjunaJTS" target="clean"/>
- </then>
- </if>
-
- <if>
- <available file="rhq-plugin"/>
- <then>
- <ant dir="rhq-plugin" target="clean"/>
- </then>
- </if>
-
- <if>
- <available file="txbridge"/>
- <then>
- <ant dir="txbridge" target="clean"/>
- </then>
- </if>
-
- <ant dir="atsintegration" target="clean"/>
- <ant dir="docs" target="clean"/>
-
- <delete dir="build"/>
- <delete dir="install"/>
- <delete file="idl-compiler.out"/>
- <delete file="idl-compiler.err"/>
- </target>
-
- <target name="init_dependencies">
- <ant dir="maven"/>
- </target>
-
-</project>
-
-
Deleted: labs/jbosstm/trunk/common/build.xml
===================================================================
--- labs/jbosstm/trunk/common/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/common/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,47 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2009, 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) 2009,
- @author JBoss, a division of Red Hat.
--->
-<project name="module-common" default="dist.leafnode" basedir=".">
-
- <property name="modulename" value="common"/>
-
- <import file="../sharedbuild.xml"/>
-
- <target name="run.tests">
-
- <copy todir="${build.dir}/tests" flatten="true">
- <fileset dir="${tests.dir}" includes="**/logging_msg*"/>
- <fileset dir="${tests.dir}" includes="**/test-product.xml"/>
- </copy>
-
- <run.tests.macro>
- <tests>
- <fileset dir="tests" includes="**/*.java">
- <exclude name="**/Dummy*.java"/>
- <exclude name="**/MyLogger.java"/>
- </fileset>
- </tests>
- </run.tests.macro>
-
- <emma.report.macro/>
-
- </target>
-
-</project>
\ No newline at end of file
Deleted: labs/jbosstm/trunk/docs/build.xml
===================================================================
--- labs/jbosstm/trunk/docs/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/docs/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,83 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2010, 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) 2010,
- @author JBoss, a division of Red Hat.
--->
-<project name="module-docs" default="install.docs" basedir=".">
-
- <property name="modulename" value="docs"/>
-
- <import file="../sharedbuild.xml"/>
-
- <target name="clean">
- <delete dir="${build.dir}"/>
- <delete dir="failure_recovery_guide/target"/>
- <delete dir="transactions_overview_guide/target"/>
- </target>
-
- <target name="install.docs">
- <property name="dest.dir" value="${build.dir}/install/docs"/>
-
- <if>
- <istrue value="${publican}" />
- <then>
- <exec dir="release_notes" executable="publican" failonerror="true">
- <arg value="build"/>
- <arg value="--langs=en-US"/>
- <arg value="--formats=pdf,html"/>
- </exec>
- <copy todir="${dest.dir}/release_notes" overwrite="true" flatten="true">
- <fileset dir="release_notes" includes="**/*.pdf"/>
- </copy>
- </then>
- </if>
- </target>
-
- <target name="install.common.docs">
- <property name="dest.dir" value="${build.dir}/install/docs"/>
- <if>
- <istrue value="${publican}" />
- <then>
- <exec dir="development_guide" executable="publican" failonerror="true">
- <arg value="build"/>
- <arg value="--langs=en-US"/>
- <arg value="--formats=pdf,html"/>
- </exec>
- <exec dir="failure_recovery_guide" executable="publican" failonerror="true">
- <arg value="build"/>
- <arg value="--langs=en-US"/>
- <arg value="--formats=pdf,html"/>
- </exec>
- <exec dir="transactions_overview_guide" executable="publican" failonerror="true">
- <arg value="build"/>
- <arg value="--langs=en-US"/>
- <arg value="--formats=pdf,html"/>
- </exec>
- <exec dir="txbridge_guide" executable="publican" failonerror="true">
- <arg value="build"/>
- <arg value="--langs=en-US"/>
- <arg value="--formats=pdf,html"/>
- </exec>
- <copy todir="${dest.dir}" overwrite="true" flatten="true">
- <fileset dir="." includes="**/*.pdf" excludes="**/*elease*.pdf"/>
- </copy>
- </then>
- </if>
- </target>
-
-</project>
Deleted: labs/jbosstm/trunk/maven/build.xml
===================================================================
--- labs/jbosstm/trunk/maven/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/maven/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,105 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2010, Red Hat, Inc. and/or its affiliates,
- 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) 2010,
- @author JBoss, by Red Hat.
--->
-<!--
- JBossTS is built using ant. Historically most 3rd party dependencies lived in svn
- in dir 'ext' to allow for offline builds and strong versioning. Building the JBossAS
- integration code required a copy of JBossAS via the JBOSS_HOME env var.
-
- Starting with 4.10 the build uses maven for dependency management whilst still
- using ant for the main build. This helps us play nice in a maven ecosystem. The top
- level build script calls one or other method in this file to install the dependencies
- into build/extlib. Build scripts use the maven names without versions to minimise the
- updating that is needed.
--->
-<project name="JBossTS Dependency Management" default="maven" basedir=".">
- <description>
- Utility functions for build time 3rd party dependency processing.
- </description>
-
- <taskdef resource="net/sf/antcontrib/antlib.xml">
- <classpath>
- <pathelement location="../antbuildsystem/ant-contrib-1.0b3.jar"/>
- </classpath>
- </taskdef>
-
- <property name="ext.lib.src" value="../ext"/>
- <property name="ext.lib.dest" value="../build/extlib"/>
-
- <property name="groupid" value="org.jboss.jbossts"/>
- <property name="artifact" value="jbossts-build"/>
- <property name="version" value="unknown"/>
-
- <target name="clean">
- <delete file="pom.xml"/>
- </target>
-
- <target name="maven">
- <!-- munge the pom template into an actual pom, then use it to install
- the dependencies into the dir where the build looks for them -->
-
- <delete dir="${ext.lib.dest}"/>
- <mkdir dir="${ext.lib.dest}"/>
-
- <copy file="pom-template.xml"
- tofile="pom.xml"
- filtering="true"
- overwrite="true">
- <filterset>
- <filter token="groupid" value="${groupid}"/>
- <filter token="artifact" value="${artifact}"/>
- <filter token="version" value="${version}"/>
- <filter token="packaging" value="jar"/>
- <filter token="extdir" value="../build/extlib"/>
- </filterset>
- </copy>
-
- <exec executable="mvn" dir="${basedir}">
- <arg value="-s"/>
- <arg value="settings.xml"/>
- <arg value="dependency:copy-dependencies"/>
- </exec>
-
- <copy todir="${ext.lib.dest}" overwrite="true">
- <fileset dir="${ext.lib.src}">
- <include name="third_party_licenses.txt"/>
- <!-- we need a patched version of emma, see JBTM-682 -->
- <include name="emma.jar"/>
- </fileset>
- </copy>
-
- <if>
- <available file="../ArjunaJTS/jacorb/lib/jacorb.jar"/>
- <then>
- <!-- we use a local copy of JacORB for build/test as we need bits of it that are not in mvn.
- However, we should ensure the AS has not upgraded or we'll wind up running on an untested version: -->
- <checksum file="${ext.lib.dest}/jacorb.jar" property="as-jacorb-md5"/>
- <checksum file="../ArjunaJTS/jacorb/lib/jacorb.jar" property="local-jacorb-md5"/>
- <fail message="WARNING: effective JacORB version does not match JBossAS JacORB version. This is bad. I'm sulking. Edit maven/build.xml if you want to live dangerously, or go fix the problem.">
- <condition>
- <not><equals arg1="${as-jacorb-md5}" arg2="${local-jacorb-md5}"/></not>
- </condition>
- </fail>
- </then>
- </if>
-
- </target>
-
-</project>
Deleted: labs/jbosstm/trunk/rhq-plugin/build.xml
===================================================================
--- labs/jbosstm/trunk/rhq-plugin/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/rhq-plugin/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<project name="rhq-plugin" default="maven:package" basedir=".">
-
- <property name="modulename" value="jbossts-jopr-plugin-5.0.0.M1-SNAPSHOT"/>
- <property name="component-module-list" value="${modulename}"/>
- <property name="install.jar.dir" value="../install/bin"/>
- <property name="install.doc.dir" value="../install/docs/rhq"/>
- <import file="../sharedbuild.xml"/>
-
- <property name="version" value="1.0.0.SNAPSHOT"/>
- <property name="maven.project.build.directory" value="${basedir}/target"/>
- <property name="pluginjar" value="${modulename}.jar"/>
- <property name="pluginsrcjar" value="${modulename}-sources.jar"/>
- <property name="plugindocjar" value="${modulename}-javadoc.jar"/>
-
- <target name="maven:package" depends="clean">
- <exec executable="mvn" dir="${basedir}">
- <arg value="-Dversion=${version}"/>
- <arg value="-DartifactId=${modulename}"/>
- <arg value="-DTS_EMMA_JAR=/"/>
- <arg value="package"/>
- </exec>
- </target>
-
- <target name="dist" depends="maven:package">
- <copy file="${maven.project.build.directory}/${pluginjar}" tofile="${install.jar.dir}/jbossts-jopr-plugin.jar"/>
- <copy file="${maven.project.build.directory}/${pluginsrcjar}" tofile="${install.jar.dir}/jbossts-jopr-plugin-sources.jar"/>
- <copy file="${maven.project.build.directory}/${plugindocjar}" tofile="${install.doc.dir}/jbossts-jopr-plugin-javadoc.jar"/>
- </target>
-
- <target name="clean">
- <delete dir="target"/>
-
- <delete dir="build"/>
- <delete dir="${install.doc.dir}"/>
- <echo message="deleting ${install.jar.dir}/${pluginjar} and ${install.jar.dir}/${pluginsrcjar}"/>
- <delete file="${install.jar.dir}/${pluginjar}"/>
- <delete file="${install.jar.dir}/${pluginsrcjar}"/>
- </target>
-</project>
Deleted: labs/jbosstm/trunk/sharedbuild.xml
===================================================================
--- labs/jbosstm/trunk/sharedbuild.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/sharedbuild.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,529 +0,0 @@
-<!--
- JBoss, Home of Professional Open Source
- Copyright 2009, 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) 2009,
- @author JBoss, a division of Red Hat.
--->
-<project name="sharedbuild">
-
- <property name="modulename" value="override-this-in-module-specific-files"/>
-
- <!-- ############################# -->
-
- <!-- remember to turn emma off for prdn builds or it will be a runtime dep! -->
- <property name="emma.enabled" value="false"/>
-
- <!-- override to disable publican use -->
- <property name="publican" value="true"/>
-
- <property name="debug" value="true"/>
- <property name="deprecation" value="true"/>
-
- <property name="build.dir" value="build"/>
- <property name="src.dir" value="classes"/>
- <property name="tests.dir" value="tests"/>
- <property name="lib.dir" value="lib"/>
- <property name="etc.dir" value="etc"/>
-
- <dirname property="sharedbuild.base.dir" file="${ant.file.sharedbuild}" />
- <!-- build/extlib is populated by maven/build.xml via /build.xml target init_dependencies -->
- <property name="global.ext.lib.dir" value="${sharedbuild.base.dir}/build/extlib"/>
-
- <!-- using an empty string does not work, it's treated as undefined
- and that results in everything being included by default. use
- e.g. "fakefile.jar" if needed. -->
- <property name="global.ext.libs" value="fakefile.jar"/>
- <property name="global.ext.logging.libs" value="jboss-logging.jar,jboss-logging-processor.jar,jboss-logging-generator.jar"/>
- <property name="global.ext.test.libs" value="junit.jar"/>
-
- <property name="excluded.classes" value=""/>
- <property name="excluded.test.classes" value=""/>
-
- <property name="mappingfile" value="${modulename}-properties.mappings"/>
-
- <macrodef name="import-module.macro">
- <attribute name="module"/>
- <sequential>
- <copy todir="${build.dir}/lib/ext" flatten="true">
- <fileset dir="${sharedbuild.base.dir}" includes="**/${build.dir}/lib/@{module}.jar"/>
- </copy>
- </sequential>
- </macrodef>
-
-
- <taskdef resource="net/sf/antcontrib/antlib.xml">
- <classpath>
- <pathelement location="${sharedbuild.base.dir}/antbuildsystem/ant-contrib-1.0b3.jar"/>
- </classpath>
- </taskdef>
-
- <!-- directory that contains emma.jar and emma_ant.jar: -->
- <property name="emma.dir" value="${global.ext.lib.dir}" />
-
- <path id="emma.lib" >
- <pathelement location="${emma.dir}/emma.jar" />
- <pathelement location="${emma.dir}/emma_ant.jar" />
- </path>
-
- <property name="byteman.dir" value="${global.ext.lib.dir}" />
-
- <taskdef resource="emma_ant.properties" classpathref="emma.lib" />
-
-
- <target name="clean">
- <delete dir="${build.dir}"/>
-
- <property name="component-module-list" value=""/>
- <for list="${component-module-list}" param="module">
- <sequential>
- <ant dir="@{module}" antfile="build.xml" inheritall="false" target="clean"/>
- </sequential>
- </for>
- </target>
-
- <target name="init">
-
- <mkdir dir="${build.dir}"/>
- <mkdir dir="${build.dir}/lib"/>
- <mkdir dir="${build.dir}/lib/ext"/>
-
- <!-- tools.jar and jconsole.jar are in different locations depending on the platform
- -->
- <condition property="tools.jar" value="${java.home}/../lib/tools.jar">
- <available file="${java.home}/../lib/tools.jar"/>
- </condition>
- <condition property="tools.jar" value="${java.home}/lib/tools.jar">
- <available file="${java.home}/lib/tools.jar"/>
- </condition>
- <condition property="jconsole.jar" value="${java.home}/../lib/jconsole.jar">
- <available file="${java.home}/../lib/jconsole.jar"/>
- </condition>
- <condition property="jconsole.jar" value="${java.home}/lib/jconsole.jar">
- <available file="${java.home}/lib/jconsole.jar"/>
- </condition>
-
- <path id="byteman.lib" >
- <pathelement location="${byteman.dir}/byteman.jar" />
- <pathelement location="${byteman.dir}/byteman-bmunit.jar" />
- <pathelement location="${byteman.dir}/byteman-install.jar" />
- <pathelement location="${byteman.dir}/byteman-submit.jar" />
- <pathelement location="${byteman.dir}/byteman-dtest.jar" />
- <pathelement location="${tools.jar}" />
- </path>
-
- </target>
-
- <target name="compile" depends="init">
- <compile.macro/>
- </target>
-
- <macrodef name="compile.macro">
-
- <attribute name="excluded.classes" default="${excluded.classes}"/>
- <attribute name="includeant" default="false"/>
- <attribute name="includeemma" default="${emma.enabled}"/>
- <!-- default coverage filter == empty string == include everything, see
- http://emma.sourceforge.net/reference_single/reference.html#filtersyntax.ANT -->
- <attribute name="emmafilter" default=""/>
-
- <element name="additional.classpath" optional="true"/>
- <element name="additional.src.dirs" optional="true"/>
- <sequential>
- <mkdir dir="${build.dir}/classes"/>
- <property name="excludes.list" value="${excluded.classes}"/>
- <javac srcdir="${src.dir}" destdir="${build.dir}/classes" debug="${debug}" includeantruntime="@{includeant}"
- deprecation="${deprecation}" excludes="@{excluded.classes}" fork="true">
- <classpath>
- <fileset dir="${build.dir}/lib/ext/" includes="*"/>
- <fileset dir="${global.ext.lib.dir}" includes="${global.ext.libs}"/>
- <fileset dir="${global.ext.lib.dir}" includes="${global.ext.logging.libs}"/>
- <additional.classpath/>
- </classpath>
- <additional.src.dirs/>
- </javac>
-
- <emma enabled="@{includeemma}">
- <instr mode="overwrite"
- metadatafile="${build.dir}/metadata.emma"
- merge="true"
- filter="@{emmafilter}">
- <instrpath>
- <pathelement location="${build.dir}/classes"/>
- </instrpath>
- </instr>
- </emma>
-
- <copy
- file="${etc.dir}/${mappingfile}"
- tofile="${build.dir}/classes/${mappingfile}"
- failonerror="false"/>
-
- <delete file="${build.dir}/lib/${modulename}.jar"/>
-
- <jar jarfile="${build.dir}/lib/${modulename}.jar"
- basedir="${build.dir}/classes">
- <manifest>
- <!-- build time metadata consumed by ConfigurationInfo.java:
- Note this is the minimum needed to bootstrap the unit tests. The product jars have a longer list. -->
- <attribute name="arjuna-properties-file" value="jbossts-properties.xml"/>
- </manifest>
- </jar>
-
-
-
- </sequential>
- </macrodef>
-
- <target name="compile-tests" depends="compile">
- <compile-tests.macro/>
- </target>
-
- <macrodef name="compile-tests.macro">
-
- <element name="additional.classpath" optional="true"/>
- <element name="additional.src.dirs" optional="true"/>
- <sequential>
- <mkdir dir="${build.dir}/tests"/>
-
- <javac srcdir="${tests.dir}" destdir="${build.dir}/tests" debug="${debug}" includeantruntime="false"
- deprecation="${deprecation}" excludes="${excluded.test.classes}">
- <classpath>
- <pathelement location="${build.dir}/classes"/>
- <fileset dir="${build.dir}/lib/ext/" includes="*"/>
- <fileset dir="." includes="${lib.dir}/ext/*"/>
- <fileset dir="${global.ext.lib.dir}" includes="${global.ext.libs}"/>
- <fileset dir="${global.ext.lib.dir}" includes="${global.ext.test.libs}"/>
- <path refid="byteman.lib" />
- <additional.classpath/>
- </classpath>
- <additional.src.dirs/>
- </javac>
-
- <delete file="${build.dir}/lib/${modulename}_tests.jar"/>
- <jar jarfile="${build.dir}/lib/${modulename}_tests.jar"
- basedir="${build.dir}/tests"/>
- </sequential>
- </macrodef>
-
- <target name="htdocs" depends="init">
- <mkdir dir="${build.dir}/htdocs"/>
-
- <javadoc sourcepath="${src.dir}"
- packagenames="*"
- destdir="${build.dir}/htdocs"
- failonerror="yes"
- private="yes"
- defaultexcludes="yes">
- <tag name="message" enabled="false"/>
- </javadoc>
-
- <delete file="${build.dir}/lib/${modulename}_jdocs.jar"/>
- <jar jarfile="${build.dir}/lib/${modulename}_jdocs.jar"
- basedir="${build.dir}/htdocs"/>
- </target>
-
- <target name="generateresourcebundle" depends="init">
- <!-- placeholder, does nothing for now -->
- </target>
-
- <target name="install.ext.libs">
-
- <property name="dest.dir" value="${build.dir}"/>
-
- <copy todir="${dest.dir}/install/lib/ext">
- <fileset dir="${global.ext.lib.dir}" includes="${global.ext.libs}" excludes="fakefile.jar"/>
- <fileset dir="${global.ext.lib.dir}" includes="jboss-logging.jar"/>
- </copy>
-
- </target>
-
-
- <target name="dist.leafnode" depends="clean, init, compile, compile-tests, generateresourcebundle, run.tests">
- </target>
-
- <target name="dist.compositenode" depends="clean, init, install.lib, install.src, htdocs">
- <copy file="copyright.txt" todir="${build.dir}/install"/>
- <copy file="${global.ext.lib.dir}/third_party_licenses.txt" todir="${build.dir}/install/lib/ext"/>
- </target>
-
-
- <target name="install.lib">
- <for list="${component-module-list}" param="module">
- <sequential>
- <ant dir="@{module}" antfile="build.xml" inheritall="false"/>
- </sequential>
- </for>
-
- <delete file="${build.dir}/lib/${modulename}.jar"/>
- <touch file="${build.dir}/built_using_java_${java.specification.version}"/>
-
- <if>
- <or>
- <available file="jbossts-properties-arjunacore.xml"/>
- <available file="jbossts-properties-arjunajta.xml"/>
- <available file="jbossts-properties-arjunajts.xml"/>
- </or>
-
- <then>
- <copy tofile="${build.dir}/default-jbossts-properties.xml">
- <fileset dir="" includes="jbossts-properties-*.xml"/>
- </copy>
- </then>
- </if>
-
- <!-- note: build-release-pkgs.xml overrides this property when appropriate: -->
- <property name="com.hp.mw.sourceid" value="unknown"/>
- <tstamp>
- <format property="buildproperty.date" pattern="yyyy/MMM/dd HH:mm"/>
- </tstamp>
- <jar jarfile="${build.dir}/lib/${modulename}.jar">
- <fileset dir="${build.dir}" includes="built_using*"/>
- <fileset dir="${build.dir}" includes="default-jbossts-properties.xml"/>
-
- <manifest>
- <!-- build time metadata consumed by ConfigurationInfo.java: -->
- <attribute name="arjuna-properties-file" value="jbossts-properties.xml"/>
- <attribute name="arjuna-scm-revision" value="${com.hp.mw.sourceid}"/>
- <attribute name="arjuna-builder" value="JBoss Inc. [${user.name}] ${os.name} ${os.version} ${buildproperty.date}"/>
- </manifest>
- <service type="com.sun.tools.jconsole.JConsolePlugin">
- <provider classname="com.arjuna.ats.arjuna.tools.stats.TxPerfPlugin"/>
- </service>
- </jar>
-
- <for list="${component-module-list}" param="module">
- <sequential>
- <jar destfile="${build.dir}/lib/${modulename}.jar" update="true">
- <fileset dir="@{module}/${build.dir}/classes"/>
- </jar>
- </sequential>
- </for>
-
- <mkdir dir="${build.dir}/install"/>
- <mkdir dir="${build.dir}/install/lib"/>
- <mkdir dir="${build.dir}/install/lib/ext"/>
- <copy todir="${build.dir}/install/lib" file="${build.dir}/lib/${modulename}.jar"/>
- <copy todir="${build.dir}/install/lib">
- <fileset dir="${build.dir}" includes="built_using*"/>
- </copy>
-
- <for list="${component-module-list}" param="module">
- <sequential>
- <ant dir="@{module}" antfile="build.xml" inheritall="false" target="install.ext.libs">
- <property name="dest.dir" value="${basedir}/${build.dir}"/>
- </ant>
-
- </sequential>
- </for>
-
- </target>
-
- <target name="install.src">
- <property name="component-module-list" value=""/>
-
- <delete file="${build.dir}/lib/${modulename}-sources.jar"/>
-
- <for list="${component-module-list}" param="module">
- <sequential>
- <jar destfile="${build.dir}/lib/${modulename}-sources.jar" update="true">
- <fileset dir="@{module}/classes"/>
- </jar>
-
- <if>
- <available file="@{module}/${build.dir}/generatedclasses"/>
- <then>
- <jar destfile="${build.dir}/lib/${modulename}-sources.jar" update="true">
- <fileset dir="@{module}/${build.dir}/generatedclasses"/>
- </jar>
- </then>
- </if>
-
- </sequential>
- </for>
-
- <copy file="${build.dir}/lib/${modulename}-sources.jar" todir="${build.dir}/install/lib"/>
- </target>
-
- <macrodef name="htdocs.composite.macro">
-
- <element name="packagesets"/>
- <sequential>
- <javadoc sourcepath="*/classes" destdir="${build.dir}/install/htdocs" private="no">
-
- <packagesets/>
-
- <classpath>
- <fileset dir="${build.dir}/install/lib"/>
- <fileset dir="${build.dir}/install/lib/ext"/>
- <fileset dir="${build.dir}/lib"/>
- <fileset dir="${build.dir}/lib/ext"/>
- </classpath>
- <tag name="message" enabled="false"/>
- </javadoc>
- </sequential>
- </macrodef>
-
-
- <macrodef name="install.services.files.macro">
-
- <attribute name="modulename"/>
- <attribute name="services.dest.dir"/>
- <attribute name="productname"/>
-
- <sequential>
- <copy todir="@{services.dest.dir}/config" filtering="on" overwrite="yes">
- <fileset dir="@{modulename}/services/config">
- <include name="*.conf"/>
- <include name="*.properties"/>
- <include name="*.xml"/>
- </fileset>
- <filterset>
- <filter token="PRODUCT_NAME" value="@{productname}"/>
- </filterset>
- </copy>
-
- <!-- Create copy of unix scripts for each *NIX platform -->
- <mkdir dir="@{services.dest.dir}/bin/hpux"/>
-
- <copy todir="@{services.dest.dir}/bin/hpux/">
- <fileset dir="@{modulename}/services/scripts/unix">
- <include name="**/*.*"/>
- </fileset>
- </copy>
-
- <mkdir dir="@{services.dest.dir}/bin/solaris"/>
- <copy todir="@{services.dest.dir}/bin/solaris/">
- <fileset dir="@{modulename}/services/scripts/unix">
- <include name="**/*.*"/>
- </fileset>
- </copy>
-
- <mkdir dir="@{services.dest.dir}/bin/linux"/>
- <copy todir="@{services.dest.dir}/bin/linux/">
- <fileset dir="@{modulename}/services/scripts/unix">
- <include name="**/*.*"/>
- </fileset>
- </copy>
-
- <mkdir dir="@{services.dest.dir}/bin/windows"/>
- <copy todir="@{services.dest.dir}/bin/windows/">
- <fileset dir="@{modulename}/services/scripts/windows">
- <include name="**/*.*"/>
- </fileset>
- </copy>
- </sequential>
-
- </macrodef>
-
- <target name="run.tests"/>
-
- <!-- note: to debug a test, try passing in:
- <additional.jvmargs>
- <jvmarg value="-Xdebug"/>
- <jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"/>
- </additional.jvmargs>
- -->
- <macrodef name="run.tests.macro">
- <attribute name="script" default=""/>
- <attribute name="showoutput" default="false"/>
- <element name="tests"/>
- <element name="additional.classpath" optional="true"/>
- <element name="additional.jvmargs" optional="true"/>
- <sequential>
- <if>
- <equals arg1="@{script}" arg2=""/>
- <then>
- <run.tests.macro.aux showoutput="@{showoutput}">
- <tests.aux>
- <tests/>
- </tests.aux>
- <additional.classpath.aux>
- <additional.classpath/>
- </additional.classpath.aux>
- <additional.jvmargs.aux>
- <additional.jvmargs/>
- </additional.jvmargs.aux>
- </run.tests.macro.aux>
- </then>
- <else>
- <run.tests.macro.aux showoutput="@{showoutput}">
- <tests.aux>
- <tests/>
- </tests.aux>
- <additional.classpath.aux>
- <additional.classpath/>
- </additional.classpath.aux>
- <additional.jvmargs.aux>
-<!-- <jvmarg value="-javaagent:${global.ext.lib.dir}/byteman.jar=script:${basedir}/tests/byteman-scripts/@{script}"/> -->
- <jvmarg value="-Dorg.jboss.byteman.debug"/>
- <!--
- <jvmarg value="-Dorg.jboss.byteman.skip.override.rules"/>
- -->
- <additional.jvmargs/>
- </additional.jvmargs.aux>
- </run.tests.macro.aux>
- </else>
- </if>
- </sequential>
-
- </macrodef>
-
- <macrodef name="run.tests.macro.aux">
-
- <attribute name="showoutput" default="false"/>
- <element name="tests.aux"/>
- <element name="additional.classpath.aux" optional="true"/>
- <element name="additional.jvmargs.aux" optional="true"/>
-
- <sequential>
-
- <echo file="${build.dir}/tests/jbossts-properties.xml"
- message="<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"><properties/>"/>
-
- <copy file="${sharedbuild.base.dir}/ArjunaCore/arjuna/etc/log4j.properties" todir="${build.dir}/classes"/>
-
- <copy todir="${build.dir}" failonerror="false">
- <fileset dir="tests/byteman-scripts/"/>
- </copy>
-
- <mkdir dir="${build.dir}/testresults"/>
- </sequential>
-
- </macrodef>
-
- <macrodef name="emma.report.macro">
- <sequential>
- <emma enabled="${emma.enabled}">
- <report>
- <fileset dir="${build.dir}" >
- <include name="coverage.ec"/>
- <include name="metadata.emma"/>
- </fileset>
- <sourcepath>
- <dirset dir="${src.dir}"/>
- </sourcepath>
- <txt outfile="${basedir}/${build.dir}/emma/coverage.txt" />
- <html outfile="${basedir}/${build.dir}/emma/coverage.html" />
- <sourcepath>
- <dirset dir="${src.dir}"/>
- </sourcepath>
- </report>
- </emma>
- </sequential>
- </macrodef>
-
-</project>
Deleted: labs/jbosstm/trunk/txbridge/build.xml
===================================================================
--- labs/jbosstm/trunk/txbridge/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/txbridge/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,177 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- * JBoss, Home of Professional Open Source
- * Copyright 2009, 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, 2009
- * @author JBoss Inc.
--->
-
-<project name="TxBridge" default="dist" basedir=".">
- <description>
- JBossTS Transaction Bridge
- </description>
-
- <property name="jbossts.home" location=".."/>
-
- <property name="global.ext.lib.dir" value="${jbossts.home}/build/extlib"/>
-
- <!-- remember to turn emma off for prdn builds or it will be a runtime dep! -->
- <property name="emma.enabled" value="false"/>
-
- <!-- directory that contains emma.jar and emma_ant.jar: -->
- <property name="emma.dir" value="${global.ext.lib.dir}" />
-
- <path id="emma.lib" >
- <pathelement location="${emma.dir}/emma.jar" />
- <pathelement location="${emma.dir}/emma_ant.jar" />
- </path>
- <taskdef resource="emma_ant.properties" classpathref="emma.lib" />
-
- <property name="src" location="src"/>
- <property name="build" location="build"/>
-
- <path id="build-prereqs">
- <fileset dir="${jbossts.home}/install/lib">
- <include name="jbossjta.jar"/>
- <include name="jbossjts.jar"/>
- </fileset>
-
- <fileset dir="${global.ext.lib.dir}">
- <include name="jboss-logging.jar"/>
- <include name="jboss-logging-generator.jar"/>
- <include name="jboss-logging-processor.jar"/>
- <include name="jboss-transaction-api_1.1_spec.jar"/>
- <include name="ironjacamar-spec-api.jar"/>
- </fileset>
-
- <fileset dir="${jbossts.home}/XTS/xts-install/lib">
- <include name="jbossxts-api.jar"/>
- </fileset>
- </path>
-
- <target name="clean" description="clean up">
- <delete dir="${build}"/>
- <ant dir="demo" target="clean" inheritall="false" inheritrefs="false"/>
- <ant dir="tests" target="clean" inheritall="false" inheritrefs="false"/>
- </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" debug="true" includeantruntime="false">
- <classpath refid="build-prereqs"/>
- </javac>
-
- <emma enabled="${emma.enabled}">
- <instr mode="overwrite"
- metadatafile="${build}/metadata.emma"
- merge="true"
- filter="">
- <instrpath>
- <pathelement location="${build}/classes"/>
- </instrpath>
- </instr>
- </emma>
-
- </target>
-
- <target name="dist" depends="compile"
- description="generate the distribution">
- <jar jarfile="${build}/txbridge.jar">
- <fileset dir="${build}/classes">
- <include name="org/jboss/**"/>
- </fileset>
- </jar>
-
- <jar jarfile="${build}/txbridge-src.jar">
- <fileset dir="${src}">
- <include name="org/jboss/**/*.java"/>
- </fileset>
- </jar>
-
- <mkdir dir="${jbossts.home}/install/txbridge"/>
- <copy file="${build}/txbridge.jar" tofile="${jbossts.home}/install/txbridge/jbosstxbridge.jar"/>
- <copy file="${build}/txbridge-src.jar" tofile="${jbossts.home}/install/txbridge/jbosstxbridge-sources.jar"/>
-
- <ant dir="demo" target="dist" inheritall="false" inheritrefs="false"/>
- <ant dir="tests" target="dist" inheritall="false" inheritrefs="false"/>
-
- </target>
-
- <!-- ##################################################################################### -->
-
- <property name="jbossas.home" location="/home/jhalli/IdeaProjects/jboss/jbossas_trunk/build/target/jboss-6.0.0-SNAPSHOT"/>
- <property name="jbossas.server" value="default"/>
-
- <target name="deploy" depends="dist" description="deploy to JBossAS">
- <copy file="${build}/txbridge.jar" todir="${jbossas.home}/server/${jbossas.server}/deploy/"/>
- </target>
-
- <!-- the following targets are utility functions for the JBossTS dev team.
- You probably don't need to worry about them. -->
-
- <target name="install-jts">
- <copy todir="${jbossas.home}/common/lib">
- <fileset dir="${jbossts.home}/install/lib" includes="*.jar"/>
- </copy>
- </target>
-
- <target name="copy-xts">
- <copy todir="${jbossas.home}/docs/examples/transactions">
- <fileset dir="${jbossts.home}/XTS/xts-install/sar" includes="jbossxts.sar"/>
- </copy>
- </target>
-
- <target name="install-xts">
- <delete dir="${jbossas.home}/server/${jbossas.server}/deploy/jbossxts.sar"/>
- <mkdir dir="${jbossas.home}/server/${jbossas.server}/deploy/jbossxts.sar"/>
- <unzip src="${jbossas.home}/docs/examples/transactions/jbossxts.sar"
- dest="${jbossas.home}/server/${jbossas.server}/deploy/jbossxts.sar"/>
- </target>
-
- <target name="install-emma">
- <copy file="${global.ext.lib.dir}/emma.jar" todir="${jbossas.home}/common/lib"/>
- </target>
-
- <!-- file:///home/jhalli/IdeaProjects/jboss/jbossts_trunk/txbridge/build/emma/coverage.html -->
- <target name="emma-report">
- <emma enabled="true">
- <report>
- <fileset dir="${build}" includes="metadata.emma"/>
- <fileset dir="${jbossas.home}" includes="coverage.ec"/>
- <fileset dir="${jbossas.home}/bin" includes="coverage.ec"/>
- <sourcepath>
- <dirset dir="${src}"/>
- </sourcepath>
- <txt outfile="${build}/emma/coverage.txt" />
- <html outfile="${build}/emma/coverage.html" />
- <sourcepath>
- <dirset dir="${src}"/>
- </sourcepath>
- </report>
- </emma>
- </target>
-
-</project>
-
Deleted: labs/jbosstm/trunk/txbridge/tests/build.xml
===================================================================
--- labs/jbosstm/trunk/txbridge/tests/build.xml 2011-08-02 15:33:00 UTC (rev 37328)
+++ labs/jbosstm/trunk/txbridge/tests/build.xml 2011-08-02 15:59:25 UTC (rev 37329)
@@ -1,251 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- * JBoss, Home of Professional Open Source
- * Copyright 2010, Red Hat, Inc. and/or its affiliates,
- * 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) 2010
- * @author JBoss, by Red Hat.
--->
-
-<project name="TxBridgeTests" default="dist" basedir=".">
- <description>
- JBossTS Transaction Bridge Test Suite
- </description>
-
- <property name="jboss.home" location="/home/jhalli/IdeaProjects/jboss/jbossas_trunk/build/target/jboss-6.0.0-SNAPSHOT"/>
-
- <property name="jbossts.home" location="../.."/>
- <property name="byteman.home" location="${jbossts.home}/build/extlib"/>
-
- <property name="java.home" location="/usr/local/jdk1.6.0_22/"/>
-
- <!-- ######################################################################### -->
-
- <property name="src" location="src"/>
- <property name="dd" location="dd"/>
- <property name="build.dir" location="build"/>
-
- <path id="build-prereqs">
- <fileset dir="../../build/extlib">
- <include name="jboss-servlet-api_3.0_spec.jar"/>
- <include name="jboss-transaction-api_1.1_spec.jar"/>
- <include name="hibernate-jpa-2.0-api.jar"/>
- <include name="jboss-ejb-api_3.1_spec.jar"/>
- <include name="junit.jar"/>
- <include name="commons-httpclient.jar"/>
- <include name="commons-logging.jar"/>
- <include name="commons-codec.jar"/>
- <include name="jboss-server-manager.jar"/>
- <include name="jboss-logging.jar"/>
- <include name="jnp-client.jar"/>
- <include name="byteman.jar"/>
- <include name="byteman-dtest.jar"/>
- </fileset>
-
- <fileset dir="${jbossts.home}/install/lib">
- <include name="jbossjta.jar"/>
- <include name="jbossjts.jar"/>
- </fileset>
-
- <fileset dir="${jbossts.home}/XTS/xts-install">
- <include name="lib/jbossxts-api.jar"/>
- <include name="tests/localjunit.jar"/>
- </fileset>
-
- <pathelement location="../build/txbridge.jar"/>
-
- <pathelement location="${jboss.home}/client/jboss-system-client.jar"/>
-
- <!--<pathelement location="/home/jhalli/IdeaProjects/jboss/jbossas_trunk/build/target/jboss-6.0.0-SNAPSHOT/client/jboss-system-client.jar"/>-->
-
- </path>
-
- <target name="clean" description="clean up">
- <delete dir="${build.dir}"/>
- </target>
-
- <target name="init">
- <tstamp/>
- <mkdir dir="${build.dir}"/>
- </target>
-
- <target name="compile" depends="init"
- description="compile the source ">
- <mkdir dir="${build.dir}/classes"/>
- <javac srcdir="${src}" destdir="${build.dir}/classes" debug="true" includeantruntime="false">
- <classpath refid="build-prereqs"/>
- </javac>
- </target>
-
- <target name="dist" depends="compile"
- description="generate the distribution">
-
- <copy file="dd/inbound/jaxws-handlers-server.xml"
- todir="${build.dir}/classes/org/jboss/jbossts/txbridge/tests/inbound/service"/>
- <jar destfile="${build.dir}/txbridge-inbound-tests-service.jar">
- <fileset dir="${build.dir}/classes">
- <include name="org/jboss/jbossts/txbridge/tests/inbound/service/*"/>
- <include name="org/jboss/jbossts/txbridge/tests/inbound/utility/*"/>
- </fileset>
- <metainf dir="dd/inbound">
- <include name="jboss-beans.xml"/>
- </metainf>
- </jar>
-
- <war warfile="${build.dir}/txbridge-inbound-tests-client.war" webxml="dd/inbound/web.xml">
- <classes dir="${build.dir}/classes">
- <include name="org/jboss/jbossts/txbridge/tests/inbound/client/*"/>
- </classes>
- </war>
-
- <copy file="dd/outbound/jaxws-handlers-server.xml"
- todir="${build.dir}/classes/org/jboss/jbossts/txbridge/tests/outbound/service"/>
- <war warfile="${build.dir}/txbridge-outbound-tests-service.war" webxml="dd/outbound/service-web.xml">
- <classes dir="${build.dir}/classes">
- <include name="org/jboss/jbossts/txbridge/tests/outbound/service/*"/>
- <include name="org/jboss/jbossts/txbridge/tests/outbound/utility/*"/>
- </classes>
- <webinf dir="dd/outbound">
- <include name="jboss-beans.xml"/>
- </webinf>
- </war>
-
- <war warfile="${build.dir}/txbridge-outbound-tests-client.war" webxml="${dd}/outbound/web.xml">
- <classes dir="${build.dir}/classes">
- <include name="org/jboss/jbossts/txbridge/tests/outbound/client/*"/>
- </classes>
- </war>
-
- <jar destfile="${build.dir}/byteman-test-server.jar">
- <fileset dir="${build.dir}/classes">
- <include name="org/jboss/jbossts/txbridge/tests/inbound/junit/*.class"/>
- </fileset>
- </jar>
- </target>
-
- <!-- Note: running tests requires JBossAS to be started and the relevant artifacts
- (XTS, txbridge, test -client and -service) to be deployted in it. Additionally,
- the AS needs to be running with byteman installed e.g.
-
- export JAVA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5006 -Xmx1024m -javaagent:/home/jhalli/IdeaProjects/jboss/jbossts_trunk/build/extlib/byteman.jar=port:9091,listener:true,sys:/home/jhalli/IdeaProjects/jboss/jbossts_trunk/build/extlib/byteman-dtest.jar -Dorg.jboss.byteman.debug=true -Dorg.jboss.byteman.verbose=true -Dorg.jboss.byteman.contrib.dtest.rmiregistry.port=1199"
- -->
-
-
- <target name="run-inbound-tests" depends="compile">
- <run.tests.macro>
- <tests>
- <fileset dir="src" includes="**/inbound/**/BasicTests.java">
- </fileset>
- </tests>
- </run.tests.macro>
- </target>
-
- <target name="run-inbound-crashrec-tests" depends="compile">
- <run.tests.macro>
- <tests>
- <fileset dir="src" includes="**/inbound/**/CrashRecoveryTests.java">
- </fileset>
- </tests>
- </run.tests.macro>
- </target>
-
- <target name="run-outbound-tests" depends="compile">
- <run.tests.macro>
- <tests>
- <fileset dir="src" includes="**/outbound/**/BasicTests.java">
- </fileset>
- </tests>
- </run.tests.macro>
- </target>
-
- <target name="run-outbound-crashrec-tests" depends="compile">
- <run.tests.macro>
- <tests>
- <fileset dir="src" includes="**/outbound/**/CrashRecoveryTests.java">
- </fileset>
- </tests>
- </run.tests.macro>
- </target>
-
- <macrodef name="run.tests.macro">
-
- <attribute name="showoutput" default="true"/>
- <element name="tests"/>
- <element name="additional.classpath" optional="true"/>
- <element name="additional.jvmargs" optional="true"/>
-
- <sequential>
-
- <mkdir dir="${build.dir}/testresults"/>
- <junit printsummary="yes" fork="yes" dir="${build.dir}" showoutput="@{showoutput}" includeantruntime="true">
- <formatter type="xml"/>
- <classpath>
- <path refid="build-prereqs"/>
- <pathelement location="${build.dir}/classes"/>
- <additional.classpath/>
- </classpath>
-
- <batchtest haltonerror="yes" haltonfailure="yes" fork="yes" todir="${build.dir}/testresults">
- <tests/>
- </batchtest>
-
- <jvmarg value="-DJAVA_HOME=${java.home}"/>
- <jvmarg value="-DJBOSS_HOME=${jboss.home}"/>
- <jvmarg value="-DBYTEMAN_HOME=${byteman.home}"/>
- <jvmarg value="-DSERVER_NAME=${jbossas.server}"/>
-
- <jvmarg value="-Djava.rmi.server.codebase=file://build/classes/"/>
- <!--<jvmarg value="-Xdebug"/>-->
- <!--<jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005"/>-->
- <additional.jvmargs/>
- </junit>
- </sequential>
-
- </macrodef>
-
- <!-- ######################################################################### -->
-
- <property name="jbossas.server" value="default"/>
-
- <target name="deploy-inbound-service" depends="dist" description="deploy EJB to JBossAS">
- <copy file="${build.dir}/txbridge-inbound-tests-service.jar"
- todir="${jboss.home}/server/${jbossas.server}/deploy"
- overwrite="true"/>
- </target>
-
- <!-- http://localhost:8080/txbridge-inbound-tests-client/testclient -->
- <target name="deploy-inbound-client" depends="dist" description="deploy Servlet to JBossAS">
- <copy file="${build.dir}/txbridge-inbound-tests-client.war"
- todir="${jboss.home}/server/${jbossas.server}/deploy"
- overwrite="true"/>
- </target>
-
- <target name="deploy-outbound-service" depends="dist" description="deploy WS to JBossAS">
- <copy file="${build.dir}/txbridge-outbound-tests-service.war"
- todir="${jboss.home}/server/${jbossas.server}/deploy"
- overwrite="true"/>
- </target>
-
- <!-- http://localhost:8080/txbridge-outbound-tests-client/testclient -->
- <target name="deploy-outbound-client" depends="dist" description="deploy Servlet to JBossAS">
- <copy file="${build.dir}/txbridge-outbound-tests-client.war"
- todir="${jboss.home}/server/${jbossas.server}/deploy"
- overwrite="true"/>
- </target>
-
-</project>
-
More information about the jboss-svn-commits
mailing list