From e5b7380c874745c989d1816b8f552504f038e1bc Mon Sep 17 00:00:00 2001 From: lresende Date: Thu, 26 Sep 2013 20:33:20 +0000 Subject: 2.0 branch for possible maintenance release git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1526672 13f79535-47bb-0310-9956-ffa450edef68 --- .../2.0/samples/running-tuscany/ant/README.html | 47 ++++++++++++ .../2.0/samples/running-tuscany/ant/README.odt | Bin 0 -> 16886 bytes .../2.0/samples/running-tuscany/ant/build.xml | 83 +++++++++++++++++++++ 3 files changed, 130 insertions(+) create mode 100644 sca-java-2.x/branches/2.0/samples/running-tuscany/ant/README.html create mode 100644 sca-java-2.x/branches/2.0/samples/running-tuscany/ant/README.odt create mode 100644 sca-java-2.x/branches/2.0/samples/running-tuscany/ant/build.xml (limited to 'sca-java-2.x/branches/2.0/samples/running-tuscany/ant') diff --git a/sca-java-2.x/branches/2.0/samples/running-tuscany/ant/README.html b/sca-java-2.x/branches/2.0/samples/running-tuscany/ant/README.html new file mode 100644 index 0000000000..414205ac23 --- /dev/null +++ b/sca-java-2.x/branches/2.0/samples/running-tuscany/ant/README.html @@ -0,0 +1,47 @@ + + + +- no title specified

Running the Tuscany runtime from Ant

 

If you're an Ant user it's handy to be able to deploy and run a contribution from an Ant script. This sample re-use the calculator-composite.jar and runs it using the Tuscany shell started from an Ant script.

 

To run the sample :

 

cd ant

ant

 

You will of course need to have Ant (http://ant.apache.org/) installed. This sample was created with Ant version 1.8.0.

 

In the build.xml there are several different targets. Each describes a different way of constructing the Java classpath to include the correct Tuscany jars.

 

Target

Description

run-all-manifest-jar

Includes a single manifest jar on the classpath which in turn references all of the jars in the binary distribution's modules directory

run-base-extension-paths

For the Ant user Tuscany ships with predefined Ant paths for each of the Tuscany extensions.

run-base-extension-manifests

For completeness we also ship manifest jars for the Tuscany base and each of the extensions

run-base-extension-jars

If you want to re-package Tuscany we ship stand-alone jars for the Tuscany base and extensions

 

The sample build.xml file defaults to running the run-all-manifest-jar target. To run other targets add the name of the target to then end of the command line. For example,

 

ant run-base-extension-paths

 

 

diff --git a/sca-java-2.x/branches/2.0/samples/running-tuscany/ant/README.odt b/sca-java-2.x/branches/2.0/samples/running-tuscany/ant/README.odt new file mode 100644 index 0000000000..e89825446f Binary files /dev/null and b/sca-java-2.x/branches/2.0/samples/running-tuscany/ant/README.odt differ diff --git a/sca-java-2.x/branches/2.0/samples/running-tuscany/ant/build.xml b/sca-java-2.x/branches/2.0/samples/running-tuscany/ant/build.xml new file mode 100644 index 0000000000..0448ee498f --- /dev/null +++ b/sca-java-2.x/branches/2.0/samples/running-tuscany/ant/build.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3