You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by na...@apache.org on 2009/09/16 00:48:13 UTC

svn commit: r815540 - in /tuscany/sandbox/travelsample/services: creditcard-payment-jaxws-service/ smsgateway-corba-service/ smsgateway-ejb-service/ smsgateway-jaxws-service/ smsgateway-jms-service/ smsgateway-rmi-service/

Author: nash
Date: Tue Sep 15 22:48:13 2009
New Revision: 815540

URL: http://svn.apache.org/viewvc?rev=815540&view=rev
Log:
Add ant scripts and apply new naming convention to maven artifacts

Added:
    tuscany/sandbox/travelsample/services/creditcard-payment-jaxws-service/build.xml
    tuscany/sandbox/travelsample/services/smsgateway-corba-service/build.xml
    tuscany/sandbox/travelsample/services/smsgateway-ejb-service/build.xml
    tuscany/sandbox/travelsample/services/smsgateway-jaxws-service/build.xml
    tuscany/sandbox/travelsample/services/smsgateway-jms-service/build.xml
    tuscany/sandbox/travelsample/services/smsgateway-rmi-service/build.xml
Modified:
    tuscany/sandbox/travelsample/services/creditcard-payment-jaxws-service/pom.xml
    tuscany/sandbox/travelsample/services/smsgateway-corba-service/pom.xml
    tuscany/sandbox/travelsample/services/smsgateway-ejb-service/pom.xml
    tuscany/sandbox/travelsample/services/smsgateway-jaxws-service/pom.xml
    tuscany/sandbox/travelsample/services/smsgateway-jms-service/pom.xml
    tuscany/sandbox/travelsample/services/smsgateway-rmi-service/pom.xml

Added: tuscany/sandbox/travelsample/services/creditcard-payment-jaxws-service/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/services/creditcard-payment-jaxws-service/build.xml?rev=815540&view=auto
==============================================================================
--- tuscany/sandbox/travelsample/services/creditcard-payment-jaxws-service/build.xml (added)
+++ tuscany/sandbox/travelsample/services/creditcard-payment-jaxws-service/build.xml Tue Sep 15 22:48:13 2009
@@ -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>

Modified: tuscany/sandbox/travelsample/services/creditcard-payment-jaxws-service/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/services/creditcard-payment-jaxws-service/pom.xml?rev=815540&r1=815539&r2=815540&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/services/creditcard-payment-jaxws-service/pom.xml (original)
+++ tuscany/sandbox/travelsample/services/creditcard-payment-jaxws-service/pom.xml Tue Sep 15 22:48:13 2009
@@ -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>

Added: tuscany/sandbox/travelsample/services/smsgateway-corba-service/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/services/smsgateway-corba-service/build.xml?rev=815540&view=auto
==============================================================================
--- tuscany/sandbox/travelsample/services/smsgateway-corba-service/build.xml (added)
+++ tuscany/sandbox/travelsample/services/smsgateway-corba-service/build.xml Tue Sep 15 22:48:13 2009
@@ -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>

Modified: tuscany/sandbox/travelsample/services/smsgateway-corba-service/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/services/smsgateway-corba-service/pom.xml?rev=815540&r1=815539&r2=815540&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/services/smsgateway-corba-service/pom.xml (original)
+++ tuscany/sandbox/travelsample/services/smsgateway-corba-service/pom.xml Tue Sep 15 22:48:13 2009
@@ -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

Added: tuscany/sandbox/travelsample/services/smsgateway-ejb-service/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/services/smsgateway-ejb-service/build.xml?rev=815540&view=auto
==============================================================================
--- tuscany/sandbox/travelsample/services/smsgateway-ejb-service/build.xml (added)
+++ tuscany/sandbox/travelsample/services/smsgateway-ejb-service/build.xml Tue Sep 15 22:48:13 2009
@@ -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>

Modified: tuscany/sandbox/travelsample/services/smsgateway-ejb-service/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/services/smsgateway-ejb-service/pom.xml?rev=815540&r1=815539&r2=815540&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/services/smsgateway-ejb-service/pom.xml (original)
+++ tuscany/sandbox/travelsample/services/smsgateway-ejb-service/pom.xml Tue Sep 15 22:48:13 2009
@@ -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

Added: tuscany/sandbox/travelsample/services/smsgateway-jaxws-service/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/services/smsgateway-jaxws-service/build.xml?rev=815540&view=auto
==============================================================================
--- tuscany/sandbox/travelsample/services/smsgateway-jaxws-service/build.xml (added)
+++ tuscany/sandbox/travelsample/services/smsgateway-jaxws-service/build.xml Tue Sep 15 22:48:13 2009
@@ -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>

Modified: tuscany/sandbox/travelsample/services/smsgateway-jaxws-service/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/services/smsgateway-jaxws-service/pom.xml?rev=815540&r1=815539&r2=815540&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/services/smsgateway-jaxws-service/pom.xml (original)
+++ tuscany/sandbox/travelsample/services/smsgateway-jaxws-service/pom.xml Tue Sep 15 22:48:13 2009
@@ -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>

Added: tuscany/sandbox/travelsample/services/smsgateway-jms-service/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/services/smsgateway-jms-service/build.xml?rev=815540&view=auto
==============================================================================
--- tuscany/sandbox/travelsample/services/smsgateway-jms-service/build.xml (added)
+++ tuscany/sandbox/travelsample/services/smsgateway-jms-service/build.xml Tue Sep 15 22:48:13 2009
@@ -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>

Modified: tuscany/sandbox/travelsample/services/smsgateway-jms-service/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/services/smsgateway-jms-service/pom.xml?rev=815540&r1=815539&r2=815540&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/services/smsgateway-jms-service/pom.xml (original)
+++ tuscany/sandbox/travelsample/services/smsgateway-jms-service/pom.xml Tue Sep 15 22:48:13 2009
@@ -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>

Added: tuscany/sandbox/travelsample/services/smsgateway-rmi-service/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/services/smsgateway-rmi-service/build.xml?rev=815540&view=auto
==============================================================================
--- tuscany/sandbox/travelsample/services/smsgateway-rmi-service/build.xml (added)
+++ tuscany/sandbox/travelsample/services/smsgateway-rmi-service/build.xml Tue Sep 15 22:48:13 2009
@@ -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>

Modified: tuscany/sandbox/travelsample/services/smsgateway-rmi-service/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/sandbox/travelsample/services/smsgateway-rmi-service/pom.xml?rev=815540&r1=815539&r2=815540&view=diff
==============================================================================
--- tuscany/sandbox/travelsample/services/smsgateway-rmi-service/pom.xml (original)
+++ tuscany/sandbox/travelsample/services/smsgateway-rmi-service/pom.xml Tue Sep 15 22:48:13 2009
@@ -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>