[jboss-svn-commits] JBL Code SVN: r20772 - in labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts: webservice_wstransactions_ba and 1 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Jun 25 12:58:37 EDT 2008


Author: jeffdelong
Date: 2008-06-25 12:58:37 -0400 (Wed, 25 Jun 2008)
New Revision: 20772

Removed:
   labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/Instructions.txt
   labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/NightOutSOA-P
   labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/BUILDING
   labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/build.bat
   labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/build.sh
   labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/build.xml
   labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/smooks-res.xml
   labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/smooks-transform-wstx.xml
Modified:
   labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/conf/quickstarts.properties-example
   labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/build.xml
   labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/jboss.properties
Log:
removed unnecessary files and modified build scripts

Modified: labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/conf/quickstarts.properties-example
===================================================================
--- labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/conf/quickstarts.properties-example	2008-06-25 16:46:44 UTC (rev 20771)
+++ labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/conf/quickstarts.properties-example	2008-06-25 16:58:37 UTC (rev 20772)
@@ -5,7 +5,7 @@
 ##############################################################################################
 # Location of your JBoss Application Server installation.
 # Will override the same property name from install/deployment.properties
-#org.jboss.esb.server.home=${product.dir}/build/jbossesb-server-4.2GA
+org.jboss.esb.server.home=${product.dir}/build/jbossesb-server-4.3GA
 
 # JBossAS server name. If not set defaults to 'default'
 # Will override the same property name from install/deployment.properties

Deleted: labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/Instructions.txt
===================================================================
--- labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/Instructions.txt	2008-06-25 16:46:44 UTC (rev 20771)
+++ labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/Instructions.txt	2008-06-25 16:58:37 UTC (rev 20772)
@@ -1,18 +0,0 @@
-
-1. Create PolicyPricingProcess: New -> Other -> JBPM -> Process Project. 
-2. Create PolicyPricingProcess as a new Process Definition.
-3. Besides the start and end nodes, add an ESB Service Node (PolicyPricingService), a Decision Node (Policy Price > 300), and a Task Node (Review Pricing).
-4. The ESB Service Node variable mapping property editor does not work correctly, so you need to use the source tab to add to the XML by hand. You will need to map the policy and driver, and perhaps the policyAsXML, depending on you implement the deployment lab (i.e., where you decide you want the transformation to execute).
-5. For the decision node add an expression to test if the policy price is greater than 300 then transition to the task node.
-6. For the task node assign an actorid of user.
-7. Create smooks-res.xml to covert from XML to POJO.
-8. Create / copy domain classes (driver and policy).
-9. Copy the configuration files from an existing quickstart (e.g., bpm_orchestration4) to the root of the project, and modify the following files and provide a set of consistent queue names:
-	- deployment.xml
-	- jbm-queue-service.xml
-	- jboss-esb.xml
-10. Create a build.xml.
-11. Create a JMS client to test classes the service.
-11. Use JPDL Deployment page to deploy process definition.
-12. Use ANT script to copy the project to the quickstarts directory, 
-13. Use ANT script to deploy and run it.

Deleted: labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/NightOutSOA-P
===================================================================
--- labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/NightOutSOA-P	2008-06-25 16:46:44 UTC (rev 20771)
+++ labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/NightOutSOA-P	2008-06-25 16:58:37 UTC (rev 20772)
@@ -1,27 +0,0 @@
-
-NightOut on SOA Platform using Business Activity Transactions
-
-
- 
-1) BasicClient flow logic is orchestrated as jPDL process NightOutBAProcess, which is implemented as an ESB hosted web service NightOutBAProcessServiceWS. BasicClient will be modified to invoke a single service, the NightoutBAProcessServiceWS. BasicClient will not start, close or cancel the transaction. 
-
-2) NightOutBAProcessServiceWS consist of the following actions:
-	a) SmooksTransformer action to covert XML data to Java object (Reservation).
-	b) WSBATxAction to start a userBusinessActivity and place the txContext in the ESBMessage. WSBATxAction is based on Pavel Kadlec's contribution (discussed in another forum thread). 
-	c) BpmProcessor action with StartProcessInstanceCommand to start the NightOutBAProcess, and copy context variables including the txContext, as well as business data from the SOAPMessage (number of seats, etc.)
-	c) SOAPProcessor action to provide web service interface / WSDL mapping.
-
-3) jBPM context variables are used to maintain initial business request data in a Reservation object (number of seats to reserve, etc.), status of responses from services (e.g., restaurantStatus, theatreStatus, taxiStatus) and txContext.
-
-4) Restaurant, Theater, and Taxi web services are proxied as ESB Services using SOAPClient. OGNL is used by the SOAClient action to map Reservation attributes to the SOAP message parameters.
-
-5) ESBActionHandler copies the reservation object and txContext onto the ESBMessage.
-
-6) WSBATXActions are incorporated in the Restaurant, Theatre, and Taxi ESB services to resume the userBusinessActivity (i.e., set it on the current thread). They use the txContext that is on the ESBMessage.
-
-7) The xxxStatus context variables are then used to determine the process flow.
-
-8) UBA complete/cancel/close are also implemented as with the WSBATXAction, where the action invokes the appropriate action on the UserBusinessActivity using the txContext.
-
-
-

Modified: labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/build.xml
===================================================================
--- labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/build.xml	2008-06-25 16:46:44 UTC (rev 20771)
+++ labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/build.xml	2008-06-25 16:58:37 UTC (rev 20772)
@@ -10,10 +10,12 @@
 	<property name="additional.deploys" value="smooks-res.xml"/>
 	<!-- Import the base Ant build script... -->
 	<import file="../conf/base-build.xml"/>
+
+	<import file="demo/build-from-qs-root.xml"/>
 	
 
 	
-   <target name="quickstart-specific-checks" depends="assert-ws-available"/>
+   <target name="quickstart-specific-checks" depends="assert-ws-available, build-demo"/>
 
     <target name="quickstart-specific-dependencies">
         <path id="quickstart-dependencies-classpath">

Deleted: labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/BUILDING
===================================================================
--- labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/BUILDING	2008-06-25 16:46:44 UTC (rev 20771)
+++ labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/BUILDING	2008-06-25 16:58:37 UTC (rev 20772)
@@ -1,50 +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.
-#
-
-This demo has been written for, and tested on, JBoss4.2.2.GA and
-JBoss5.0Beta4. Please download and install one of these app servers
-from the JBoss website.
-
-Follow these steps to build the demo for JBoss
- - edit jboss.properties and replace variables as directed in the comments
- - add java and ant to your path
- - set environment variable JBOSS_HOME to point to the root directory of an
-   instance of JBoss4.2 or JBoss5.0Beta4
- - for JBoss5.0Beta4 execute 'sh build.sh jboss clean deploy' on unix or
-   'build.bat jboss clean deploy' on windows
- - for JBoss4.2 execute 'sh build.sh jboss clean build' on unix or
-   'build.bat jboss clean build' on windows
-
-Open a browser and enter the xts-demo url (e.g. http://localhost:8080/xts-demo)
-
-An alternative version of the demo can be built using JaxRPC instead
-of JaxWS. For JBoss5.0.Beta4 this can be built by supplying the
-argument 'deployrpc' in place of 'deploy' on the 'execute' command
-line detailed above. For JBoss4.2 it can be built by supplying the
-argument 'sa-deployrpc' in place of 'sa-deploy'. Access the demo using
-the same url.
-
-n.b. deployment of the demo to JbossAS 5.0Beta4 assumes that the XTS
-has already been deployed as a service archive (sar). See the INSTALL
-file in your ArjunaJTS install tree for instructions on how to perform
-this deployment. XTS sar deployment currently requires the web
-listener hostname and port to be "localhost" and "8080". This
-restriction will be lifted in future releases. Use of a stand alone
-coordinator is also not currently supported in JbossAS 5.0Beta4.

Deleted: labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/build.bat
===================================================================
--- labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/build.bat	2008-06-25 16:46:44 UTC (rev 20771)
+++ labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/build.bat	2008-06-25 16:58:37 UTC (rev 20772)
@@ -1,45 +0,0 @@
-rem
-rem JBoss, Home of Professional Open Source
-rem Copyright 2006, Red Hat Middleware LLC, and individual contributors
-rem as indicated by the @author tags. 
-rem See the copyright.txt in the distribution for a full listing 
-rem of individual contributors.
-rem This copyrighted material is made available to anyone wishing to use,
-rem modify, copy, or redistribute it subject to the terms and conditions
-rem of the GNU General Public License, v. 2.0.
-rem This program is distributed in the hope that it will be useful, but WITHOUT A 
-rem WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
-rem PARTICULAR PURPOSE.  See the GNU General Public License for more details.
-rem You should have received a copy of the GNU General Public License,
-rem v. 2.0 along with this distribution; if not, write to the Free Software
-rem Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
-rem MA  02110-1301, USA.
-rem 
-rem (C) 2005-2006,
-rem @author JBoss Inc.
-rem
- at echo off
-rem ###########################################################################
-rem # Wrapper script for building and deploying xts-demo                      #
-rem # Usage: build.bat [weblogic|jboss] <target>                              #
-rem ###########################################################################
-
-if "%OS" == "Windows_NT" @setlocal
-
-set PROGRAM=build.bat
-if "%OS%" == "Windows_NT" set PROGNAME=%~nx0
-
-if "%1" == "" goto USAGE
-
-set PROPERTYFILE=%1.properties
-if exist "%PROPERTYFILE%" goto RUN
-
-:USAGE
-echo Usage: %PROGRAM% [weblogic|jboss|webmethods] <target>
-goto END
-
-:RUN
-shift
-ant -Dxmlpropertyfile="%PROPERTYFILE%" %1 %2 %3 %4 %5 %6 %7 %8 %9
-:END
-if "%OS" == "Windows_NT" @endlocal

Deleted: labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/build.sh
===================================================================
--- labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/build.sh	2008-06-25 16:46:44 UTC (rev 20771)
+++ labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/build.sh	2008-06-25 16:58:37 UTC (rev 20772)
@@ -1,38 +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.
-#
-#!/bin/sh
-###############################################################################
-# Wrapper script for building and deploying xts-demo                          #
-# Usage: build.sh [jboss] <target>                                            #
-###############################################################################
-
-if [ $# -ge 1 ]
-then
-  propertyfile=$1.properties
-  if [ -f "$propertyfile" ]
-  then
-    shift
-    exec ant -Dxmlpropertyfile $propertyfile "$@"
-  fi
-fi
-
-echo "Usage: `basename $0` [jboss] <target>"
-exit 1

Deleted: labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/build.xml
===================================================================
--- labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/build.xml	2008-06-25 16:46:44 UTC (rev 20771)
+++ labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/build.xml	2008-06-25 16:58:37 UTC (rev 20772)
@@ -1,308 +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="../../../.."/>
-
-    <!--    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="lib.dir" location="../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="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>
-            <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="xts-demo-webservices"/>
-        <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="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/**/*"/>
-	         <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}"/>
-            </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>
-
-  
-  
- 
-    <!-- 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="build" depends="jboss-webapp, jboss-webservices"/>
-
-    <target name="sa-build" depends="jboss-sa-webapp, jboss-sa-webservices"/>
-
-      <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="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>
--->
-  
-</project>

Modified: labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/jboss.properties
===================================================================
--- labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/jboss.properties	2008-06-25 16:46:44 UTC (rev 20771)
+++ labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/demo/jboss.properties	2008-06-25 16:58:37 UTC (rev 20772)
@@ -23,7 +23,7 @@
   
   JBOSS_HOSTNAME - the hostname of the JBoss installation (localhost)
   JBOSS_PORT - the port of the JBoss web server (8080)
-  JBOSS_URLSTUB - the url stub for the demo webservices (xtsdemowebservices)
+  JBOSS_URLSTUB - the url stub for the demo webservices (xts-demo-webservices)
   
   You can choose any combination of the URL entries provided that there is an entry for each service.
   The default services are the ones running within JBoss.

Deleted: labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/smooks-res.xml
===================================================================
--- labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/smooks-res.xml	2008-06-25 16:46:44 UTC (rev 20771)
+++ labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/smooks-res.xml	2008-06-25 16:58:37 UTC (rev 20772)
@@ -1,18 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
-    <!-- Populate the Reservation -->
-	<resource-config selector="bookReservations">
-        <resource>org.milyn.javabean.BeanPopulator</resource>
-        	<param name="beanId">Reservation</param>
-			<param name="beanClass">org.jboss.nightout.Reservation</param>
-        	<param name="bindings">
-            	<binding property="restaurantSeats" selector="bookReservations restaurantSeats" type="Integer" />
-            	<binding property="theatreSeats" selector="bookReservations theatreSeats" type="Integer" />
-            	<binding property="theatreArea" selector="bookReservations theatreArea" type="Integer" />
-            	<binding property="bookTaxi" selector="bookReservations bookTaxi" type="Boolean" />
-            </param>
-    </resource-config>
-
-     
-</smooks-resource-list>

Deleted: labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/smooks-transform-wstx.xml
===================================================================
--- labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/smooks-transform-wstx.xml	2008-06-25 16:46:44 UTC (rev 20771)
+++ labs/jbossesb/workspace/jdelong/xts/trunk/product/samples/quickstarts/webservice_wstransactions_ba/smooks-transform-wstx.xml	2008-06-25 16:58:37 UTC (rev 20772)
@@ -1,29 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd">
-
-	<resource-config selector="wstx">
-        <resource type="xsl">
-            <![CDATA[<soapenv:Header><xsl:value-of select="<soapenv:Body>./
-            
-            <wscoor:CoordinationContextType xmlns:wscoor="http://schemas.xmlsoap.org/ws/2004/10/wscoor">
-                <product><xsl:value-of select="./Product/@productId" /></product>
-                <price><xsl:value-of select="./Product/@price" /></price>
-                <quantity><xsl:value-of select="@quantity" /></quantity>
-            </line-item>]]>
-        </resource>
-        <param name="is-xslt-templatelet">true</param>
-	</resource-config>
-
-</smooks-resource-list>
-
-
-<wscoor:CoordinationContextType xmlns:wscoor="http://schemas.xmlsoap.org/ws/2004/10/wscoor">
-<wscoor:Identifier>urn:7f000001:cfcd:483f0ffb:2e20</wscoor:Identifier>
-<wscoor:CoordinationType>http://schemas.xmlsoap.org/ws/2004/10/wsba/AtomicOutcome</wscoor:CoordinationType>
-<wscoor:RegistrationService>
-<wsa:Address xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:8080/xts/soap/RegistrationCoordinator</wsa:Address>
-<wsa:ReferenceParameters xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
-<wsarj:InstanceIdentifier xmlns:wsarj="http://schemas.arjuna.com/ws/2005/10/wsarj">7f000001:cfcd:483f0ffb:2e20</wsarj:InstanceIdentifier>
-</wsa:ReferenceParameters>
-</wscoor:RegistrationService>
-</wscoor:CoordinationContextType>} ]




More information about the jboss-svn-commits mailing list