diff options
Diffstat (limited to 'sca-java-1.x/branches/sca-java-travelsample-1.0/binaries/src/main/resources')
5 files changed, 522 insertions, 0 deletions
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/binaries/src/main/resources/build-clients.xml b/sca-java-1.x/branches/sca-java-travelsample-1.0/binaries/src/main/resources/build-clients.xml new file mode 100644 index 0000000000..98a3b2c345 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-travelsample-1.0/binaries/src/main/resources/build-clients.xml @@ -0,0 +1,54 @@ +<!--
+ * 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-distribution-clients">
+ <import file="../util/build-defs.xml"/>
+
+ <target name="run-currency-converter-corba">
+ <java classname="scatours.CurrencyConverterCORBAClient" fork="true" failonerror="true">
+ <classpath location="scatours-client-currency-converter-corba.jar"/>
+ </java>
+ </target>
+
+ <target name="run-currency-converter-jms">
+ <java classname="scatours.CurrencyConverterJMSClient" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-client-currency-converter-jms.jar"/>
+ <!-- The following is used to bring in the ActiveMQ runtime. -->
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-currency-converter-rmi">
+ <java classname="scatours.CurrencyConverterRMIClient" fork="true" failonerror="true">
+ <classpath location="scatours-client-currency-converter-rmi.jar"/>
+ </java>
+ </target>
+
+ <target name="run-currency-converter-ws-jaxws">
+ <java classname="scatours.CurrencyConverterWSClient" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-client-currency-converter-ws-jaxws.jar"/>
+ <!-- The following is used to bring in additional dependencies of the JAX-WS runtime. -->
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+</project>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/binaries/src/main/resources/build-defs-selfcontained.xml b/sca-java-1.x/branches/sca-java-travelsample-1.0/binaries/src/main/resources/build-defs-selfcontained.xml new file mode 100644 index 0000000000..f741f28a7b --- /dev/null +++ b/sca-java-1.x/branches/sca-java-travelsample-1.0/binaries/src/main/resources/build-defs-selfcontained.xml @@ -0,0 +1,30 @@ +<!--
+ * 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.
+-->
+
+<!-- The self-contained build does not need any libraries from the Tuscany SCA
+ binary distro. -->
+<project name="build-defs">
+
+ <path id="scatours.tuscany-manifest"/>
+
+ <path id="scatours.tuscany-node-launcher"/>
+
+ <path id="scatours.tuscany-openejb"/>
+
+</project>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/binaries/src/main/resources/build-defs.xml b/sca-java-1.x/branches/sca-java-travelsample-1.0/binaries/src/main/resources/build-defs.xml new file mode 100644 index 0000000000..f914208f52 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-travelsample-1.0/binaries/src/main/resources/build-defs.xml @@ -0,0 +1,46 @@ +<!--
+ * 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.
+-->
+
+<!-- The default build depends on libraries from the Tuscany SCA binary distro. -->
+<project name="build-defs">
+ <property environment="env"/>
+
+ <path id="scatours.tuscany-manifest">
+ <pathelement location="${env.TUSCANY_HOME}/lib/tuscany-sca-manifest.jar"/>
+ </path>
+
+ <path id="scatours.tuscany-node-launcher">
+ <fileset dir="${env.TUSCANY_HOME}/modules" includes="tuscany-node-launcher-*.jar"/>
+ </path>
+
+ <path id="scatours.tuscany-openejb">
+ <fileset dir="${env.TUSCANY_HOME}/lib">
+ <!-- exclude some jars to prevent them being loaded by OpenEJB -->
+ <exclude name="tuscany-sca-manifest.jar"/>
+ <exclude name="ode-*.jar"/>
+ <exclude name="jaxb-xjc-*.jar"/>
+ <exclude name="jython-*.jar"/>
+ <exclude name="activemq-all-*.jar"/>
+ <exclude name="js-*.jar"/>
+ <exclude name="org.apache.felix.main-*.jar"/>
+ <exclude name="saxon-*.jar"/>
+ </fileset>
+ </path>
+
+</project>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/binaries/src/main/resources/build-launchers.xml b/sca-java-1.x/branches/sca-java-travelsample-1.0/binaries/src/main/resources/build-launchers.xml new file mode 100644 index 0000000000..ab54f9b7d2 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-travelsample-1.0/binaries/src/main/resources/build-launchers.xml @@ -0,0 +1,328 @@ +<!--
+ * 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-distribution-launchers">
+ <import file="../util/build-defs.xml"/>
+
+ <target name="run-blog-feed">
+ <java classname="scatours.BlogFeedLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-blog-feed.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-buildingblocks">
+ <java classname="scatours.BuildingBlocksLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-buildingblocks.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-currency-converter">
+ <java classname="scatours.CurrencyConverterLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-currency-converter.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-currency-converter-corba">
+ <java classname="scatours.CurrencyConverterCORBALauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-currency-converter-corba.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-currency-converter-jms">
+ <java classname="scatours.CurrencyConverterJMSLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-currency-converter-jms.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-currency-converter-rmi">
+ <java classname="scatours.CurrencyConverterRMILauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-currency-converter-rmi.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-currency-converter-ws">
+ <java classname="scatours.CurrencyConverterWSLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-currency-converter-ws.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-databinding">
+ <java classname="scatours.DatabindingLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-databinding.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-feed-logger">
+ <java classname="scatours.FeedLoggerLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-feed-logger.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-fullapp">
+ <java classname="scatours.FullAppLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-fullapp.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-fullapp-domain">
+ <java classname="scatours.FullAppDomainLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-fullapp-domain.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-fullapp-nodes">
+ <java classname="scatours.FullAppNodesLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-fullapp-nodes.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-help-pages">
+ <java classname="scatours.HelpPagesLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-help-pages.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-interaction">
+ <java classname="scatours.InteractionLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-interaction.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-introducing">
+ <java classname="scatours.IntroducingLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-introducing.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-introducing-client">
+ <java classname="scatours.IntroducingClientLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-introducing-client.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-introducing-domain">
+ <java classname="scatours.IntroducingDomainLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-introducing-domain.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-introducing-tours">
+ <java classname="scatours.IntroducingToursLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-introducing-tours.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-introducing-trips">
+ <java classname="scatours.IntroducingTripsLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-introducing-trips.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-notification-corba">
+ <java classname="scatours.NotificationCORBALauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-notification-corba.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-notification-ejb">
+ <java classname="scatours.NotificationEJBLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-notification-ejb.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-notification-jms">
+ <java classname="scatours.NotificationJMSLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-notification-jms.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-notification-rmi">
+ <java classname="scatours.NotificationRMILauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-notification-rmi.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-notification-ws">
+ <java classname="scatours.NotificationWSLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-notification-ws.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-bpel">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-payment-bpel.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-groovy">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-payment-groovy.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-python">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-payment-groovy.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-java">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-payment-java.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-java-callback">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-payment-java.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-java-policy">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-java-policy.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-java-reference-pass">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-payment-java.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-spring">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-payment-spring.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-payment-spring-scatag">
+ <java classname="scatours.payment.PaymentLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-spring-scatag.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-using">
+ <java classname="scatours.UsingLauncher" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-launcher-using.jar"/>
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+</project>
diff --git a/sca-java-1.x/branches/sca-java-travelsample-1.0/binaries/src/main/resources/build-services.xml b/sca-java-1.x/branches/sca-java-travelsample-1.0/binaries/src/main/resources/build-services.xml new file mode 100644 index 0000000000..6154f0b451 --- /dev/null +++ b/sca-java-1.x/branches/sca-java-travelsample-1.0/binaries/src/main/resources/build-services.xml @@ -0,0 +1,64 @@ +<!--
+ * 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-distribution-services">
+ <import file="../util/build-defs.xml"/>
+
+ <target name="run-smsgateway-corba">
+ <java classname="scatours.smsgateway.SMSGatewayCORBAServiceBootstrap" fork="true" failonerror="true">
+ <classpath location="scatours-service-smsgateway-corba.jar"/>
+ </java>
+ </target>
+
+ <target name="run-smsgateway-ejb">
+ <java classname="com.tuscanyscatours.smsgateway.SMSGatewayEJBServiceBootstrap" fork="true" failonerror="true">
+ <classpath>
+ <pathelement location="scatours-service-smsgateway-ejb.jar"/>
+ <!-- The following is used to bring in additional dependencies of the OpenEJB runtime. -->
+ <path refid="scatours.tuscany-openejb"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-smsgateway-jaxws">
+ <java classname="com.tuscanyscatours.smsgateway.SMSGatewayServiceBootstrap" fork="true">
+ <classpath>
+ <pathelement location="scatours-service-smsgateway-jaxws.jar"/>
+ <!-- The following is used to bring in additional dependencies of the JAX-WS runtime. -->
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-smsgateway-jms">
+ <java classname="scatours.smsgateway.SMSGatewayJMSServiceBootstrap" fork="true">
+ <classpath>
+ <pathelement location="scatours-service-smsgateway-jms.jar"/>
+ <!-- The following is used to bring in the ActiveMQ runtime. -->
+ <path refid="scatours.tuscany-manifest"/>
+ </classpath>
+ </java>
+ </target>
+
+ <target name="run-smsgateway-rmi">
+ <java classname="com.tuscanyscatours.smsgateway.SMSGatewayRMIServiceBootstrap" fork="true" failonerror="true">
+ <classpath location="scatours-service-smsgateway-rmi.jar"/>
+ </java>
+ </target>
+</project>
|