summaryrefslogtreecommitdiffstats
path: root/sandbox/travelsample
diff options
context:
space:
mode:
authornash <nash@13f79535-47bb-0310-9956-ffa450edef68>2009-09-15 22:48:13 +0000
committernash <nash@13f79535-47bb-0310-9956-ffa450edef68>2009-09-15 22:48:13 +0000
commit40aff7a88bb28e830bf632592cfb480efd0d5c26 (patch)
treeade1e73f0b52f3f950de48879f62d9ba1c208b7b /sandbox/travelsample
parente4298514b9c7adb5713fe8be440249e806a307b1 (diff)
Add ant scripts and apply new naming convention to maven artifacts
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@815540 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/travelsample')
-rw-r--r--sandbox/travelsample/services/creditcard-payment-jaxws-service/build.xml48
-rw-r--r--sandbox/travelsample/services/creditcard-payment-jaxws-service/pom.xml2
-rw-r--r--sandbox/travelsample/services/smsgateway-corba-service/build.xml48
-rw-r--r--sandbox/travelsample/services/smsgateway-corba-service/pom.xml4
-rw-r--r--sandbox/travelsample/services/smsgateway-ejb-service/build.xml48
-rw-r--r--sandbox/travelsample/services/smsgateway-ejb-service/pom.xml5
-rw-r--r--sandbox/travelsample/services/smsgateway-jaxws-service/build.xml48
-rw-r--r--sandbox/travelsample/services/smsgateway-jaxws-service/pom.xml2
-rw-r--r--sandbox/travelsample/services/smsgateway-jms-service/build.xml48
-rw-r--r--sandbox/travelsample/services/smsgateway-jms-service/pom.xml2
-rw-r--r--sandbox/travelsample/services/smsgateway-rmi-service/build.xml48
-rw-r--r--sandbox/travelsample/services/smsgateway-rmi-service/pom.xml2
12 files changed, 296 insertions, 9 deletions
diff --git a/sandbox/travelsample/services/creditcard-payment-jaxws-service/build.xml b/sandbox/travelsample/services/creditcard-payment-jaxws-service/build.xml
new file mode 100644
index 0000000000..086f13825c
--- /dev/null
+++ b/sandbox/travelsample/services/creditcard-payment-jaxws-service/build.xml
@@ -0,0 +1,48 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
+<project name="scatours-service-creditcard-payment-jaxws" default="compile">
+ <property environment="env"/>
+
+ <target name="compile">
+ <mkdir dir="target/classes"/>
+ <javac destdir="target/classes" debug="on" source="1.5" target="1.5">
+ <src path="src/main/java"/>
+ <classpath>
+ <pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="run">
+ <java classname="creditcard.CreditCardServiceBootstrap" fork="true">
+ <classpath>
+ <pathelement location="target/classes"/>
+ <pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="clean">
+ <delete includeemptydirs="true">
+ <fileset dir="target"/>
+ </delete>
+ </target>
+
+</project>
diff --git a/sandbox/travelsample/services/creditcard-payment-jaxws-service/pom.xml b/sandbox/travelsample/services/creditcard-payment-jaxws-service/pom.xml
index ebbed47c7b..c73e425868 100644
--- a/sandbox/travelsample/services/creditcard-payment-jaxws-service/pom.xml
+++ b/sandbox/travelsample/services/creditcard-payment-jaxws-service/pom.xml
@@ -25,7 +25,7 @@
<version>1.6-SNAPSHOT</version>
<!--relativePath>../../pom.xml</relativePath-->
</parent><version>1.0-SNAPSHOT</version>
- <artifactId>creditcard-payment-jaxws-service</artifactId>
+ <artifactId>scatours-service-creditcard-payment-jaxws</artifactId>
<name>Apache Tuscany SCA Tours Credit Card Payment JAX-WS Service</name>
<dependencies>
diff --git a/sandbox/travelsample/services/smsgateway-corba-service/build.xml b/sandbox/travelsample/services/smsgateway-corba-service/build.xml
new file mode 100644
index 0000000000..ae2939131c
--- /dev/null
+++ b/sandbox/travelsample/services/smsgateway-corba-service/build.xml
@@ -0,0 +1,48 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
+<project name="scatours-service-smsgateway-corba" default="compile">
+ <property environment="env"/>
+
+ <target name="compile">
+ <mkdir dir="target/classes"/>
+ <javac destdir="target/classes" debug="on" source="1.5" target="1.5">
+ <src path="src/main/java"/>
+ <classpath>
+ <pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="run">
+ <java classname="scatours.smsgateway.SMSGatewayCORBAServiceBootstrap" fork="true">
+ <classpath>
+ <pathelement location="target/classes"/>
+ <pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="clean">
+ <delete includeemptydirs="true">
+ <fileset dir="target"/>
+ </delete>
+ </target>
+
+</project>
diff --git a/sandbox/travelsample/services/smsgateway-corba-service/pom.xml b/sandbox/travelsample/services/smsgateway-corba-service/pom.xml
index 1a66e8a6b3..513550181f 100644
--- a/sandbox/travelsample/services/smsgateway-corba-service/pom.xml
+++ b/sandbox/travelsample/services/smsgateway-corba-service/pom.xml
@@ -25,7 +25,7 @@
<version>1.6-SNAPSHOT</version>
<!--relativePath>../../pom.xml</relativePath-->
</parent><version>1.0-SNAPSHOT</version>
- <artifactId>smsgateway-corba-service</artifactId>
+ <artifactId>scatours-service-smsgateway-corba</artifactId>
<name>Apache Tuscany SCA Tours SMS Gateway CORBA Service</name>
<dependencies>
@@ -68,4 +68,4 @@
</plugin>
</plugins>
</build>
-</project>
+</project> \ No newline at end of file
diff --git a/sandbox/travelsample/services/smsgateway-ejb-service/build.xml b/sandbox/travelsample/services/smsgateway-ejb-service/build.xml
new file mode 100644
index 0000000000..36630cedee
--- /dev/null
+++ b/sandbox/travelsample/services/smsgateway-ejb-service/build.xml
@@ -0,0 +1,48 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
+<project name="scatours-service-smsgateway-ejb" default="compile">
+ <property environment="env"/>
+
+ <target name="compile">
+ <mkdir dir="target/classes"/>
+ <javac destdir="target/classes" debug="on" source="1.5" target="1.5">
+ <src path="src/main/java"/>
+ <classpath>
+ <pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="run">
+ <java classname="scatours.smsgateway.SMSGatewayEJBServiceBootstrap" fork="true">
+ <classpath>
+ <pathelement location="target/classes"/>
+ <pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="clean">
+ <delete includeemptydirs="true">
+ <fileset dir="target"/>
+ </delete>
+ </target>
+
+</project>
diff --git a/sandbox/travelsample/services/smsgateway-ejb-service/pom.xml b/sandbox/travelsample/services/smsgateway-ejb-service/pom.xml
index 1ed9425e57..ac90abbd04 100644
--- a/sandbox/travelsample/services/smsgateway-ejb-service/pom.xml
+++ b/sandbox/travelsample/services/smsgateway-ejb-service/pom.xml
@@ -25,7 +25,7 @@
<version>1.6-SNAPSHOT</version>
<!--relativePath>../../pom.xml</relativePath-->
</parent><version>1.0-SNAPSHOT</version>
- <artifactId>smsgateway-ejb-service</artifactId>
+ <artifactId>scatours-service-smsgateway-ejb</artifactId>
<name>Apache Tuscany SCA Tours SMS Gateway EJB Service</name>
<dependencies>
@@ -35,7 +35,6 @@
<version>5.0-2</version>
<scope>provided</scope>
</dependency>
-
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
@@ -61,4 +60,4 @@
<build>
<finalName>${artifactId}</finalName>
</build>
-</project>
+</project> \ No newline at end of file
diff --git a/sandbox/travelsample/services/smsgateway-jaxws-service/build.xml b/sandbox/travelsample/services/smsgateway-jaxws-service/build.xml
new file mode 100644
index 0000000000..1cb7f3c930
--- /dev/null
+++ b/sandbox/travelsample/services/smsgateway-jaxws-service/build.xml
@@ -0,0 +1,48 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
+<project name="scatours-service-smsgateway-jaxws" default="compile">
+ <property environment="env"/>
+
+ <target name="compile">
+ <mkdir dir="target/classes"/>
+ <javac destdir="target/classes" debug="on" source="1.5" target="1.5">
+ <src path="src/main/java"/>
+ <classpath>
+ <pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="run">
+ <java classname="com.tuscanyscatours.smsgateway.SMSGatewayServiceBootstrap" fork="true">
+ <classpath>
+ <pathelement location="target/classes"/>
+ <pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="clean">
+ <delete includeemptydirs="true">
+ <fileset dir="target"/>
+ </delete>
+ </target>
+
+</project>
diff --git a/sandbox/travelsample/services/smsgateway-jaxws-service/pom.xml b/sandbox/travelsample/services/smsgateway-jaxws-service/pom.xml
index 3059e962b1..d1602e6aec 100644
--- a/sandbox/travelsample/services/smsgateway-jaxws-service/pom.xml
+++ b/sandbox/travelsample/services/smsgateway-jaxws-service/pom.xml
@@ -25,7 +25,7 @@
<version>1.6-SNAPSHOT</version>
<!--relativePath>../../pom.xml</relativePath-->
</parent><version>1.0-SNAPSHOT</version>
- <artifactId>smsgateway-jaxws-service</artifactId>
+ <artifactId>scatours-service-smsgateway-jaxws</artifactId>
<name>Apache Tuscany SCA Tours SMS Gateway JAX-WS Service</name>
<dependencies>
diff --git a/sandbox/travelsample/services/smsgateway-jms-service/build.xml b/sandbox/travelsample/services/smsgateway-jms-service/build.xml
new file mode 100644
index 0000000000..1bd42894db
--- /dev/null
+++ b/sandbox/travelsample/services/smsgateway-jms-service/build.xml
@@ -0,0 +1,48 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
+<project name="scatours-service-smsgateway-jms" default="compile">
+ <property environment="env"/>
+
+ <target name="compile">
+ <mkdir dir="target/classes"/>
+ <javac destdir="target/classes" debug="on" source="1.5" target="1.5">
+ <src path="src/main/java"/>
+ <classpath>
+ <pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="run">
+ <java classname="scatours.smsgateway.SMSGatewayJMSServiceBootstrap" fork="true">
+ <classpath>
+ <pathelement location="target/classes"/>
+ <pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="clean">
+ <delete includeemptydirs="true">
+ <fileset dir="target"/>
+ </delete>
+ </target>
+
+</project>
diff --git a/sandbox/travelsample/services/smsgateway-jms-service/pom.xml b/sandbox/travelsample/services/smsgateway-jms-service/pom.xml
index d85687e1fa..3c5a12d367 100644
--- a/sandbox/travelsample/services/smsgateway-jms-service/pom.xml
+++ b/sandbox/travelsample/services/smsgateway-jms-service/pom.xml
@@ -25,7 +25,7 @@
<version>1.6-SNAPSHOT</version>
<!--relativePath>../../pom.xml</relativePath-->
</parent><version>1.0-SNAPSHOT</version>
- <artifactId>smsgateway-jms-service</artifactId>
+ <artifactId>scatours-service-smsgateway-jms</artifactId>
<name>Apache Tuscany SCA Tours SMS Gateway JMS Service</name>
<dependencies>
diff --git a/sandbox/travelsample/services/smsgateway-rmi-service/build.xml b/sandbox/travelsample/services/smsgateway-rmi-service/build.xml
new file mode 100644
index 0000000000..5a2e7d1aac
--- /dev/null
+++ b/sandbox/travelsample/services/smsgateway-rmi-service/build.xml
@@ -0,0 +1,48 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+-->
+
+<project name="scatours-service-smsgateway-rmi" default="compile">
+ <property environment="env"/>
+
+ <target name="compile">
+ <mkdir dir="target/classes"/>
+ <javac destdir="target/classes" debug="on" source="1.5" target="1.5">
+ <src path="src/main/java"/>
+ <classpath>
+ <pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="run">
+ <java classname="scatours.smsgateway.SMSGatewayRMIServiceBootstrap" fork="true">
+ <classpath>
+ <pathelement location="target/classes"/>
+ <pathelement location="${env.TUSCANY}/lib/tuscany-sca-manifest.jar"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="clean">
+ <delete includeemptydirs="true">
+ <fileset dir="target"/>
+ </delete>
+ </target>
+
+</project>
diff --git a/sandbox/travelsample/services/smsgateway-rmi-service/pom.xml b/sandbox/travelsample/services/smsgateway-rmi-service/pom.xml
index 3695b30f28..a9a07e3fc3 100644
--- a/sandbox/travelsample/services/smsgateway-rmi-service/pom.xml
+++ b/sandbox/travelsample/services/smsgateway-rmi-service/pom.xml
@@ -25,7 +25,7 @@
<version>1.6-SNAPSHOT</version>
<!--relativePath>../../pom.xml</relativePath-->
</parent><version>1.0-SNAPSHOT</version>
- <artifactId>smsgateway-rmi-service</artifactId>
+ <artifactId>scatours-service-smsgateway-rmi</artifactId>
<name>Apache Tuscany SCA Tours SMS Gateway RMI Service</name>
<dependencies>