From 0f35c9aefbfd12cdc8cd61e52aeddca9532564d9 Mon Sep 17 00:00:00 2001 From: nash Date: Mon, 4 Jan 2010 11:19:03 +0000 Subject: Add/fix ant scripts for non-SCA clients and add additional targets described in the README scenarios git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@895599 13f79535-47bb-0310-9956-ffa450edef68 --- sandbox/travelsample/antdefs.xml | 14 +++++-- sandbox/travelsample/build.xml | 8 ++-- sandbox/travelsample/clients/build.xml | 47 ++++++++++++++++++++++ .../clients/currency-converter-corba/build.xml | 30 +++++++------- .../clients/currency-converter-jms/build.xml | 27 ++++++------- .../clients/currency-converter-rmi/build.xml | 20 +++------ .../clients/currency-converter-ws-jaxws/build.xml | 36 +++++++---------- .../clients/currency-converter-ws-jaxws/pom.xml | 2 +- .../java/scatours/CurrencyConverterWSClient.java | 4 +- .../travelsample/launchers/fullapp-nodes/build.xml | 6 +++ .../launchers/introducing-client/build.xml | 13 ++++++ .../launchers/notification-ws/build.xml | 6 +++ .../services/smsgateway-corba/build.xml | 1 + 13 files changed, 135 insertions(+), 79 deletions(-) create mode 100644 sandbox/travelsample/clients/build.xml (limited to 'sandbox/travelsample') diff --git a/sandbox/travelsample/antdefs.xml b/sandbox/travelsample/antdefs.xml index 00d69133ea..9d2f26db2d 100644 --- a/sandbox/travelsample/antdefs.xml +++ b/sandbox/travelsample/antdefs.xml @@ -29,8 +29,6 @@ TUSCANY_HOME A directory containing the Tuscany binary distribution. JUNIT_JAR The location of the JUnit jar file. The JUnit version used for testing these build files was JUnit 4.5. - TUSCANY_HOST_CORBA (only needed to run CORBA services) A directory - containing the Tuscany JSE CORBA host jars. This file defines the following targets that can be used on the ant command that invokes the build.xml file: @@ -82,6 +80,7 @@ "idlj" Generates Java code from a CORBA IDL file (unless the Java code is already up to date) by running the JDK idlj command. Requires the following parameters: + . the options to be used on this idlj command invocation . the filename of the IDL file . the filename of any Java class file that will be generated by running this target for this IDL file @@ -185,7 +184,10 @@ - + + + + @@ -395,6 +397,7 @@ + @@ -406,6 +409,7 @@ + @@ -422,13 +426,15 @@ - + + + diff --git a/sandbox/travelsample/build.xml b/sandbox/travelsample/build.xml index 1555d9ad68..b55d96d5e8 100644 --- a/sandbox/travelsample/build.xml +++ b/sandbox/travelsample/build.xml @@ -38,12 +38,10 @@ - + + - --> - - - diff --git a/sandbox/travelsample/clients/build.xml b/sandbox/travelsample/clients/build.xml new file mode 100644 index 0000000000..78e305c3cd --- /dev/null +++ b/sandbox/travelsample/clients/build.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sandbox/travelsample/clients/currency-converter-corba/build.xml b/sandbox/travelsample/clients/currency-converter-corba/build.xml index 84fc3bf1d3..17ea72e648 100644 --- a/sandbox/travelsample/clients/currency-converter-corba/build.xml +++ b/sandbox/travelsample/clients/currency-converter-corba/build.xml @@ -18,27 +18,25 @@ --> - + - - - - - + + + + + + + + + + + - - - + - - - - - - - diff --git a/sandbox/travelsample/clients/currency-converter-jms/build.xml b/sandbox/travelsample/clients/currency-converter-jms/build.xml index 0014765a4c..41aa9f2337 100644 --- a/sandbox/travelsample/clients/currency-converter-jms/build.xml +++ b/sandbox/travelsample/clients/currency-converter-jms/build.xml @@ -18,28 +18,25 @@ --> - + - - - - - + + + + + + - - + + + - - - - - - - diff --git a/sandbox/travelsample/clients/currency-converter-rmi/build.xml b/sandbox/travelsample/clients/currency-converter-rmi/build.xml index 0a7a607fda..2d9d3bc9d9 100644 --- a/sandbox/travelsample/clients/currency-converter-rmi/build.xml +++ b/sandbox/travelsample/clients/currency-converter-rmi/build.xml @@ -18,27 +18,19 @@ --> - + - - - - - + + + - + - - - - - - - diff --git a/sandbox/travelsample/clients/currency-converter-ws-jaxws/build.xml b/sandbox/travelsample/clients/currency-converter-ws-jaxws/build.xml index 8b866698ff..6d17bbd1a3 100644 --- a/sandbox/travelsample/clients/currency-converter-ws-jaxws/build.xml +++ b/sandbox/travelsample/clients/currency-converter-ws-jaxws/build.xml @@ -18,35 +18,27 @@ --> - + - - - - - - + + + + + + + + + + + - - + - - - - - - - diff --git a/sandbox/travelsample/clients/currency-converter-ws-jaxws/pom.xml b/sandbox/travelsample/clients/currency-converter-ws-jaxws/pom.xml index b79a5477b2..8880c341bd 100644 --- a/sandbox/travelsample/clients/currency-converter-ws-jaxws/pom.xml +++ b/sandbox/travelsample/clients/currency-converter-ws-jaxws/pom.xml @@ -79,7 +79,7 @@ ${basedir}/src/main/resources/wsdl - scatours.curencyconverter.client + scatours.currencyconverter.client diff --git a/sandbox/travelsample/clients/currency-converter-ws-jaxws/src/main/java/scatours/CurrencyConverterWSClient.java b/sandbox/travelsample/clients/currency-converter-ws-jaxws/src/main/java/scatours/CurrencyConverterWSClient.java index ae0bae2a3e..dbaa7c2124 100644 --- a/sandbox/travelsample/clients/currency-converter-ws-jaxws/src/main/java/scatours/CurrencyConverterWSClient.java +++ b/sandbox/travelsample/clients/currency-converter-ws-jaxws/src/main/java/scatours/CurrencyConverterWSClient.java @@ -18,8 +18,8 @@ */ package scatours; -import scatours.curencyconverter.client.CurrencyConverter; -import scatours.curencyconverter.client.CurrencyConverterService; +import scatours.currencyconverter.client.CurrencyConverter; +import scatours.currencyconverter.client.CurrencyConverterService; public class CurrencyConverterWSClient { diff --git a/sandbox/travelsample/launchers/fullapp-nodes/build.xml b/sandbox/travelsample/launchers/fullapp-nodes/build.xml index 14a483b564..00fef1d701 100644 --- a/sandbox/travelsample/launchers/fullapp-nodes/build.xml +++ b/sandbox/travelsample/launchers/fullapp-nodes/build.xml @@ -20,6 +20,12 @@ + + + + + diff --git a/sandbox/travelsample/launchers/introducing-client/build.xml b/sandbox/travelsample/launchers/introducing-client/build.xml index 4cd4a902f8..cfe3a6fd76 100644 --- a/sandbox/travelsample/launchers/introducing-client/build.xml +++ b/sandbox/travelsample/launchers/introducing-client/build.xml @@ -20,6 +20,19 @@ + + + + + + + + + + + diff --git a/sandbox/travelsample/launchers/notification-ws/build.xml b/sandbox/travelsample/launchers/notification-ws/build.xml index dff087b710..2d9660caeb 100644 --- a/sandbox/travelsample/launchers/notification-ws/build.xml +++ b/sandbox/travelsample/launchers/notification-ws/build.xml @@ -24,6 +24,12 @@ + + + + + diff --git a/sandbox/travelsample/services/smsgateway-corba/build.xml b/sandbox/travelsample/services/smsgateway-corba/build.xml index b56445a129..c0bd7e24a4 100644 --- a/sandbox/travelsample/services/smsgateway-corba/build.xml +++ b/sandbox/travelsample/services/smsgateway-corba/build.xml @@ -22,6 +22,7 @@ + -- cgit v1.2.3