[jboss-svn-commits] JBL Code SVN: r20671 - labs/jbossesb/workspace/jdelong/wstx/trunk/product/samples/quickstarts/NightOut/demo.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Jun 20 15:58:27 EDT 2008


Author: jeffdelong
Date: 2008-06-20 15:58:27 -0400 (Fri, 20 Jun 2008)
New Revision: 20671

Removed:
   labs/jbossesb/workspace/jdelong/wstx/trunk/product/samples/quickstarts/NightOut/demo/build.xml
Log:


Deleted: labs/jbossesb/workspace/jdelong/wstx/trunk/product/samples/quickstarts/NightOut/demo/build.xml
===================================================================
--- labs/jbossesb/workspace/jdelong/wstx/trunk/product/samples/quickstarts/NightOut/demo/build.xml	2008-06-20 19:49:22 UTC (rev 20670)
+++ labs/jbossesb/workspace/jdelong/wstx/trunk/product/samples/quickstarts/NightOut/demo/build.xml	2008-06-20 19:58:27 UTC (rev 20671)
@@ -1,462 +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 General Public License, v. 2.0.
-  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 General Public License for more details.
-  You should have received a copy of the GNU General Public License,
-  v. 2.0 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.
--->
-
-<!-- $Id: xts-build.xml,v 1.12.4.1 2005/11/22 10:42:05 kconner Exp $ -->
-
-<!-- ====================================================================== -->
-<!--                                                                        -->
-<!--           Copyright (c) 2003, Arjuna Technologies Limited.             -->
-<!--                                                                        -->
-<!--                 WS-Transaction / XTS demo application                  -->
-<!--                                                                        -->
-<!-- ====================================================================== -->
-
-<project name="xts-demo" default="build" basedir=".">
-
-    <!-- ================================================================== -->
-
-    <!-- n.b. run this via the build.sh script to ensure that the property  -->
-    <!-- settings in jboss.properties are set automatically                 -->
-
-    <!-- The properties to override are the following:                      -->
-    <!--    hostname (defaults to localhost)                                -->
-    <!--    port (defaults to 8080 for jboss)                               -->
-    <!--    urlstub (defaults to xtsdemowebservices for JBoss)              -->
-
-    <!-- the demo needs to be linked against the client libraries           -->
-    <!-- installed jboss directory                                          -->
-
-    <property environment="env"/>
-    <property name="jboss.home" value="/shared/software/playground/jboss-soa-p.4.2.0/jboss-as"/>
-
-    <!--    deploy.dir The deployment directory for the ear                 -->
-
-    <property name="deploy.dir" location="${jboss.home}/server/production/deploy"/>
-
-    <!--  default target build will build an ear file for the demo app for  -->
-    <!--  use in a JBoss server with XTS deployed as a JBoss service        -->
-    <!--  archive. The demo client communicates with demo services deployed -->
-    <!--  as JaxWS endpoints                                                -->
-
-    <!--  target sa-build will build an ear file for the demo app for use   -->
-    <!--  with a remote coordinator. this contains the XTS code and config  -->
-    <!--  files bundled into an ear file to provide the client side         -->
-    <!--   services.                                                        -->
-
-    <!--  target buildrpc will build an ear file for the demo app using     -->
-    <!--  JaxRPC to communicate between the demo client and services        -->
-
-    <!--  target sa-buildrpc will build an ear file for the demo app for    -->
-    <!--  with a remote coordinator using JaxRPC to communicate between the -->
-    <!--  demo client and services                                          -->
-
-    <!-- ================================================================== -->
-
-    <xmlproperty file="${xmlpropertyfile}" keeproot="false"/>
-
-    <property name="xts.home" value=".."/>
-    <property name="conf.dir" location="${xts.home}/conf"/>
-
-    <property name="lib.dir" location="${xts.home}/lib"/>
-    <property name="ext.dir" location="${lib.dir}/ext"/>
-    <property name="jboss.client.lib.dir" location="${jboss.home}/client"/>
-
-    <property name="lib.libs" value="wstx.jar ws-t.jar ws-c.jar"/>
-    <property name="ext.libs" value="jbossjta.jar jbossesb-rosetta.jar jbossesb-soap.jar"/>
-    <property name="jboss.client.libs" value="jbossall-client.jar jboss-jaxws.jar"/>
-    <property name="ext.compile" value="${ext.libs} jaxrpc.jar servlet.jar"/>
-
-    <property name="ext.package" value="${ext.libs} jbossts-common.jar commons-logging-1.1.jar wstx-asl-2.0.3.jar stax-api-1.0.jar"/>
-
-    <!-- ================================================================== -->
-
-    <property name="build.dir" location="build"/>
-    <property name="src.dir" location="src"/>
-    <property name="dd.dir" location="dd"/>
-    <property name="jboss.dd.dir" location="${dd.dir}/jboss"/>
-    <property name="build.config" location="${build.dir}/config"/>
-    <property name="build.soapconfig" location="${build.dir}/soapconfig"/>
-
-    <property name="buildrpc.dir" location="buildrpc"/>
-    <property name="srcrpc.dir" location="srcrpc"/>
-    <property name="ddrpc.dir" location="ddrpc"/>
-    <property name="jboss.ddrpc.dir" location="${ddrpc.dir}/jboss"/>
-    <property name="buildrpc.config" location="${buildrpc.dir}/config"/>
-    <property name="buildrpc.soapconfig" location="${buildrpc.dir}/soapconfig"/>
-
-    <property name="web.dir" location="web"/>
-
-    <property name="javac.debug"             value="on"/>
-    <property name="javac.optimize"          value="off"/>
-
-    <path id="lib.path">
-        <fileset dir="${lib.dir}" includes="${lib.libs}"/>
-    </path>
-    <path id="ext.path">
-        <fileset dir="${ext.dir}" includes="${ext.compile}"/>
-    </path>
-
-    <path id="jboss.client.path">
-        <fileset dir="${jboss.client.lib.dir}" includes="${jboss.client.libs}"/>
-    </path>
-
-    <filterset id="webxml.filter">
-        <filter token="restaurantATURL" value="${restaurantATURL}"/>
-        <filter token="restaurantBAURL" value="${restaurantBAURL}"/>
-        <filter token="taxiATURL" value="${taxiATURL}"/>
-        <filter token="taxiBAURL" value="${taxiBAURL}"/>
-        <filter token="theatreATURL" value="${theatreATURL}"/>
-        <filter token="theatreBAURL" value="${theatreBAURL}"/>
-        <filter token="nightoutURL" value="${nightoutURL}"/>
-        <filter token="hostname" value="${hostname}"/>
-        <filter token="port" value="${port}"/>
-        <filter token="urlstub" value="${urlstub}"/>
-    </filterset>
-
-    <target name="clean">
-        <delete dir="${build.dir}"/>
-        <delete dir="${buildrpc.dir}"/>
-        <delete>
-            <fileset dir="." includes="**/*.bak" defaultexcludes="no"/>
-            <fileset dir="." includes="**/*~"    defaultexcludes="no"/>
-            <fileset dir="." includes="**/#*#"   defaultexcludes="no"/>
-            <fileset dir="." includes="**/.#*"   defaultexcludes="no"/>
-        </delete>
-    </target>
-
-    <target name="init-properties">
-        <property name="hostname" value="localhost"/>
-        <property name="port" value="8080"/>
-        <property name="urlstub" value="xtsdemowebservices"/>
-        <path id="compile.path">
-            <path refid="lib.path"/>
-            <path refid="jboss.client.path"/>
-            <path refid="ext.path"/>
-        </path>
-    </target>
-
-    <target name="init" depends="init-properties">
-        <mkdir dir="${build.dir}"/>
-        <mkdir dir="${build.dir}/classes"/>
-        <mkdir dir="${build.config}"/>
-        <mkdir dir="${build.soapconfig}"/>
-    </target>
-
-    <target name="initrpc" depends="init-properties">
-        <mkdir dir="${buildrpc.dir}"/>
-        <mkdir dir="${buildrpc.dir}/classes"/>
-        <mkdir dir="${buildrpc.config}"/>
-        <mkdir dir="${buildrpc.soapconfig}"/>
-    </target>
-
-    <target name="compilerpc" depends="initrpc">
-        <javac destdir="${buildrpc.dir}/classes" debug="${javac.debug}"
-            optimize="${javac.optimize}" deprecation="${javac.deprecation}" >
-            <classpath>
-                <path refid="compile.path"/>
-            </classpath>
-            <src path="${srcrpc.dir}"/>
-            <patternset>
-                <include name="com/arjuna/xts/nightout/clients/jboss/**"/>
-                <include name="com/arjuna/xts/nightout/services/**"/>
-            </patternset>
-        </javac>
-    </target>
-
-    <target name="compile" depends="init">
-        <javac destdir="${build.dir}/classes" debug="${javac.debug}"
-            optimize="${javac.optimize}" deprecation="${javac.deprecation}" >
-            <classpath>
-                <path refid="compile.path"/>
-            </classpath>
-            <src path="${src.dir}"/>
-            <patternset>
-	        <!-- client app -->
-                <include name="com/jboss/jbosstm/xts/demo/client/**/*"/>
-	        <!-- server impl -->
-                <include name="com/jboss/jbosstm/xts/demo/services/**"/>
-	        <!-- generated server interfaces and service classes -->
-                <include name="com/jboss/jbosstm/xts/demo/restaurant/**"/>
-                <include name="com/jboss/jbosstm/xts/demo/taxi/**"/>
-                <include name="com/jboss/jbosstm/xts/demo/theatre/**"/>
-    			<include name="com/jboss/jbosstm/xts/demo/nightout/**"/>
-            </patternset>
-        </javac>
-    </target>
-
-    <!-- the server side elements -->
-    <target name="jboss-webservices" depends="compile">
-        <copy tofile="${build.dir}/classes/com/jboss/jbosstm/xts/demo/services/context-handlers.xml"
-	      file="${jboss.dd.dir}/context-handlers.xml"/>
-        <war destfile="${build.dir}/xts-demo-webservices.war" webxml="${jboss.dd.dir}/service-web-app.xml" >
-            <webinf dir="${jboss.dd.dir}" includes="wsdl/*.wsdl"/>
-	    <classes dir="${build.dir}/classes">
-		 <include name="com/jboss/jbosstm/xts/demo/services/**/*"/>
-	    </classes>
-            <manifest>
-                <attribute name="Class-Path" value="${lib.libs}"/>
-            </manifest>
-        </war>
-    </target>
-
-    <target name="config" depends="insertcfg">
-        <filter token="hostname" value="${hostname}"/>
-        <filter token="port" value="${port}"/>
-        <copy todir="${build.config}" filtering="true">
-            <fileset dir="${conf.dir}" includes="wscf.xml wstx.xml wst.xml"/>
-        </copy>
-        <jar destfile="${build.dir}/config.jar" basedir="${build.config}"/>
-    </target>
-
-    <target name="jboss-sa-webservices" depends="compile">
-        <copy tofile="${build.dir}/classes/com/jboss/jbosstm/xts/demo/services/context-handlers.xml"
-	      file="${jboss.dd.dir}/context-handlers.xml"/>
-	<war destfile="${build.dir}/xts-sa-demo-webservices.war" webxml="${jboss.dd.dir}/service-web-app.xml" >
-            <webinf dir="${jboss.dd.dir}" includes="webservices.xml wsdl/*.wsdl"/>
-	    <classes dir="${build.dir}/classes">
-	         <include name="com/jboss/jbosstm/xts/demo/services/**/*"/>
-	         <include name="com/jboss/jbosstm/xts/demo/restaurant/**/*"/>
-	         <include name="com/jboss/jbosstm/xts/demo/theatre/**/*"/>
-	         <include name="com/jboss/jbosstm/xts/demo/taxi/**/*"/>
-		     <include name="com/jboss/jbosstm/xts/demo/nightout/**/*"/>
-	    </classes>
-            <manifest>
-                <attribute name="Class-Path" value="${lib.libs} ${ext.package}"/>
-            </manifest>
-        </war>
-    </target>
-
-    <target name="jboss-webservicesrpc" depends="compilerpc">
-        <war destfile="${buildrpc.dir}/xts-demo-webservices.war" webxml="${jboss.ddrpc.dir}/service-web-app.xml">
-            <webinf dir="${jboss.ddrpc.dir}" excludes="client-web-app.xml service-web-app.xml application-sa.xml application.xml client-jaxrpc-mapping.xml"/>
-            <classes dir="${buildrpc.dir}/classes">
-                <include name="com/arjuna/xts/nightout/services/**"/>
-            </classes>
-        </war>
-    </target>
-
-    <target name="configrpc" depends="insertcfgrpc">
-        <filter token="hostname" value="${hostname}"/>
-        <filter token="port" value="${port}"/>
-        <copy todir="${buildrpc.config}" filtering="true">
-            <fileset dir="${conf.dir}" includes="wscf.xml wstx.xml wst.xml"/>
-        </copy>
-        <jar destfile="${buildrpc.dir}/config.jar" basedir="${buildrpc.config}"/>
-    </target>
-
-    <target name="jboss-sa-webservicesrpc" depends="compilerpc">
-        <war destfile="${buildrpc.dir}/xts-sa-demo-webservices.war" webxml="${jboss.ddrpc.dir}/service-web-app.xml">
-            <webinf dir="${jboss.ddrpc.dir}" excludes="client-web-app.xml service-web-app.xml application-sa.xml application.xml client-jaxrpc-mapping.xml"/>
-            <classes dir="${buildrpc.dir}/classes">
-                <include name="com/arjuna/xts/nightout/services/**"/>
-            </classes>
-            <manifest>
-                <attribute name="Class-Path" value="${lib.libs} ${ext.package}"/>
-            </manifest>
-        </war>
-    </target>
-
-    <!-- the client side elements -->
-    <target name="jboss-webapp" depends="compile">
-        <copy tofile="${build.dir}/client-web-app.xml" file="${jboss.dd.dir}/client-web-app.xml">
-            <filterset refid="webxml.filter"/>
-        </copy>
-
-        <war warfile="${build.dir}/xts-demo.war" webxml="${build.dir}/client-web-app.xml">
-            <classes dir="${build.dir}/classes">
-                <exclude name="com/jboss/jbosstm/xts/demo/services/**/*"/>
-            </classes>
-            <fileset dir="${web.dir}"/>
-            <webinf dir="${jboss.dd.dir}" includes="wsdl/**"/>
-        </war>
-    </target>
-
-    <target name="jboss-sa-webapp" depends="compile">
-        <copy tofile="${build.dir}/client-web-app.xml" file="${jboss.dd.dir}/client-web-app.xml">
-            <filterset refid="webxml.filter"/>
-        </copy>
-
-        <war warfile="${build.dir}/xts-sa-demo.war" webxml="${build.dir}/client-web-app.xml">
-            <classes dir="${build.dir}/classes">
-                <exclude name="com/jboss/jbosstm/xts/demo/services/**/*"/>
-            </classes>
-            <fileset dir="${web.dir}"/>
-            <manifest>
-                <attribute name="Class-Path" value="${ext.package}"/>
-            </manifest>
-            <webinf dir="${jboss.dd.dir}" includes="wsdl/**"/>
-        </war>
-    </target>
-
-    <target name="jboss-webapprpc" depends="compilerpc">
-        <copy tofile="${buildrpc.dir}/client-web-app.xml" file="${jboss.ddrpc.dir}/client-web-app.xml">
-            <filterset refid="webxml.filter"/>
-        </copy>
-
-        <war warfile="${buildrpc.dir}/xts-demo.war" webxml="${buildrpc.dir}/client-web-app.xml">
-            <classes dir="${buildrpc.dir}/classes">
-                <exclude name="com/arjuna/xts/nightout/services/**/*"/>
-            </classes>
-            <fileset dir="${web.dir}"/>
-            <webinf dir="${jboss.ddrpc.dir}" includes="client-jaxrpc-mapping.xml wsdl/**"/>
-        </war>
-    </target>
-
-    <target name="jboss-sa-webapprpc" depends="compilerpc">
-        <copy tofile="${buildrpc.dir}/client-web-app.xml" file="${jboss.ddrpc.dir}/client-web-app.xml">
-            <filterset refid="webxml.filter"/>
-        </copy>
-
-        <war warfile="${buildrpc.dir}/xts-sa-demo.war" webxml="${buildrpc.dir}/client-web-app.xml">
-            <classes dir="${buildrpc.dir}/classes">
-                <exclude name="com/arjuna/xts/nightout/services/**/*"/>
-            </classes>
-            <fileset dir="${web.dir}"/>
-            <manifest>
-                <attribute name="Class-Path" value="${ext.package}"/>
-            </manifest>
-            <webinf dir="${jboss.ddrpc.dir}" includes="wsdl/** client-jaxrpc-mapping.xml"/>
-        </war>
-    </target>
-
-    <!-- the ear files -->
-    <target name="jboss-ear" depends="jboss-webservices, jboss-webapp">
-        <ear earfile="${build.dir}/xts-demo.ear"
-            appxml="${jboss.dd.dir}/application.xml">
-            <fileset dir="${build.dir}" includes="xts-demo-webservices.war xts-demo.war"/>
-        </ear>
-    </target>
-
-    <target name="jboss-sa-ear" depends="jboss-sa-webservices, jboss-sa-webapp, config">
-        <ear earfile="${build.dir}/xts-sa-demo.ear"
-            appxml="${jboss.dd.dir}/application-sa.xml">
-            <fileset dir="${build.dir}" includes="xts-sa-demo-webservices.war xts-sa-demo.war config.jar ws-t.war ws-c.war"/>
-	        <fileset dir="${xts.home}/lib" includes="*.jar"/>
-	        <fileset dir="${xts.home}/lib/ext" includes="${ext.package}"/>
-	        <fileset dir="${xts.home}/webapps" includes="*.war" excludes="ws-t.war ws-c.war"/>
-        </ear>
-    </target>
-
-    <target name="jboss-earrpc" depends="jboss-webservicesrpc, jboss-webapprpc">
-        <ear earfile="${buildrpc.dir}/xts-demo.ear"
-            appxml="${jboss.ddrpc.dir}/application.xml">
-            <fileset dir="${buildrpc.dir}" includes="xts-demo-webservices.war xts-demo.war"/>
-        </ear>
-    </target>
-
-    <target name="jboss-sa-earrpc" depends="jboss-sa-webservicesrpc, jboss-sa-webapprpc, configrpc">
-        <ear earfile="${buildrpc.dir}/xts-sa-demo.ear"
-            appxml="${jboss.ddrpc.dir}/application-sa.xml">
-            <fileset dir="${buildrpc.dir}" includes="xts-sa-demo-webservices.war xts-sa-demo.war config.jar ws-t.war ws-c.war"/>
-	        <fileset dir="${xts.home}/lib" includes="*.jar"/>
-	        <fileset dir="${xts.home}/lib/ext" includes="${ext.package}"/>
-	        <fileset dir="${xts.home}/webapps" includes="*.war" excludes="ws-t.war ws-c.war"/>
-        </ear>
-    </target>
-
-    <target name="build" depends="jboss-ear"/>
-
-    <target name="sa-build" depends="jboss-sa-ear"/>
-
-    <target name="buildrpc" depends="jboss-earrpc"/>
-
-    <target name="sa-buildrpc" depends="jboss-sa-earrpc"/>
-
-    <target name="insertcfg" depends="init">
-        <filter token="hostname" value="${hostname}"/>
-        <filter token="port" value="${port}"/>
-        <filter token="urlstub" value="${urlstub}"/>
-
-        <unjar src="${xts.home}/webapps/ws-c.war" dest="${build.dir}/tmp/ws-c"/>
-
-        <copy file="${xts.home}/coordinator/dd/ws-c_web-app.xml"
-            tofile="${build.dir}/tmp/ws-c/WEB-INF/web.xml" filtering="true" overwrite="true"/>
-
-        <jar destfile="${build.dir}/ws-c.war" basedir="${build.dir}/tmp/ws-c" manifest="${build.dir}/tmp/ws-c/META-INF/MANIFEST.MF"/>
-
-        <delete dir="${build.dir}/tmp/ws-c"/>
-
-        <unjar src="${xts.home}/webapps/ws-t.war" dest="${build.dir}/tmp/ws-t"/>
-
-        <copy file="${xts.home}/coordinator/dd/ws-t_web-app.xml"
-            tofile="${build.dir}/tmp/ws-t/WEB-INF/web.xml" filtering="true" overwrite="true"/>
-
-        <jar destfile="${build.dir}/ws-t.war" basedir="${build.dir}/tmp/ws-t" manifest="${build.dir}/tmp/ws-t/META-INF/MANIFEST.MF"/>
-
-        <delete dir="${build.dir}/tmp/ws-t"/>
-    </target>
-
-    <target name="insertcfgrpc" depends="initrpc">
-        <filter token="hostname" value="${hostname}"/>
-        <filter token="port" value="${port}"/>
-        <filter token="urlstub" value="${urlstub}"/>
-
-        <unjar src="${xts.home}/webapps/ws-c.war" dest="${buildrpc.dir}/tmp/ws-c"/>
-
-        <copy file="${xts.home}/coordinator/dd/ws-c_web-app.xml"
-            tofile="${buildrpc.dir}/tmp/ws-c/WEB-INF/web.xml" filtering="true" overwrite="true"/>
-
-        <jar destfile="${buildrpc.dir}/ws-c.war" basedir="${buildrpc.dir}/tmp/ws-c" manifest="${buildrpc.dir}/tmp/ws-c/META-INF/MANIFEST.MF"/>
-
-        <delete dir="${buildrpc.dir}/tmp/ws-c"/>
-
-        <unjar src="${xts.home}/webapps/ws-t.war" dest="${buildrpc.dir}/tmp/ws-t"/>
-
-        <copy file="${xts.home}/coordinator/dd/ws-t_web-app.xml"
-            tofile="${buildrpc.dir}/tmp/ws-t/WEB-INF/web.xml" filtering="true" overwrite="true"/>
-
-        <jar destfile="${buildrpc.dir}/ws-t.war" basedir="${buildrpc.dir}/tmp/ws-t" manifest="${buildrpc.dir}/tmp/ws-t/META-INF/MANIFEST.MF"/>
-
-        <delete dir="${buildrpc.dir}/tmp/ws-t"/>
-    </target>
-
-    <target name="deploy" depends="build, undeploy">
-        <copy file="${build.dir}/xts-demo.ear" tofile="${deploy.dir}/xts-demo.ear"/>
-    </target>
-
-    <target name="undeploy">
-        <delete file="${deploy.dir}/xts-demo.ear"/>
-    </target>
-
-    <target name="sa-deploy" depends="sa-build, undeploy">
-        <copy file="${build.dir}/xts-sa-demo.ear" tofile="${deploy.dir}/xts-sa-demo.ear"/>
-    </target>
-
-    <target name="sa-undeploy">
-        <delete file="${deploy.dir}/xts-sa-demo.ear"/>
-    </target>
-
-    <target name="deployrpc" depends="buildrpc, undeployrpc">
-        <copy file="${buildrpc.dir}/xts-demo.ear" tofile="${deploy.dir}/xts-demo.ear"/>
-    </target>
-
-    <target name="undeployrpc">
-        <delete file="${deploy.dir}/xts-demo.ear"/>
-    </target>
-
-    <target name="sa-deployrpc" depends="sa-buildrpc, sa-undeployrpc">
-        <copy file="${buildrpc.dir}/xts-sa-demo.ear" tofile="${deploy.dir}/xts-sa-demo.ear"/>
-    </target>
-
-    <target name="sa-undeployrpc">
-        <delete file="${deploy.dir}/xts-sa-demo.ear"/>
-    </target>
-</project>




More information about the jboss-svn-commits mailing list