summaryrefslogtreecommitdiffstats
path: root/sca-java-1.x
diff options
context:
space:
mode:
Diffstat (limited to 'sca-java-1.x')
-rw-r--r--sca-java-1.x/trunk/tutorials/travelsample/README54
1 files changed, 0 insertions, 54 deletions
diff --git a/sca-java-1.x/trunk/tutorials/travelsample/README b/sca-java-1.x/trunk/tutorials/travelsample/README
index 3533341a5a..27b21c09a1 100644
--- a/sca-java-1.x/trunk/tutorials/travelsample/README
+++ b/sca-java-1.x/trunk/tutorials/travelsample/README
@@ -1,58 +1,4 @@
-Building the travel sample using ant
-------------------------------------
-
-1. Download and unzip JDK 6 update 7 (or later) or JDK 5 update 22, and set
- the JAVA_HOME environment variable to the JDK base directory.
-2. Install svn and ant.
-3. Create a local directory to hold the travel sample code. With this as
- your current directory, check out the complete travel sample from svn
- using the following command:
- svn co http://svn.apache.org/repos/asf/tuscany/sca-java-1.x/trunk/tutorials/travelsample
-4. Download and unzip the Tuscany SCA Java 1.6 (or later) binary distribution
- and set the TUSCANY_HOME environment variable to the base directory
- containing the unzipped binary distribution.
-5. Download and unzip the OpenEJB 3.1.2 (or later) binary distribution and set
- the OPENEJB_HOME environment variable to the base directory containing
- the unzipped binary distribution.
-6. If you are using JDK 5, download and unzip the JAX-WS reference implementation
- version 2.1.7 and set the JAXWS_HOME environment variable to the base directory
- containing the unzipped download.
-7. Download and unzip the JUnit 4.5 (or later) binary distribution and set the
- JUNIT_JAR environment variable to the full path to the junit-x.y.z.jar in
- the unzipped binary distribution taking care to replace x.y.z with the JUnit
- version number.
-8. With the travelsample directory as your current directory, enter the
- command "ant compile".
-
-
-Building the travel sample using maven
---------------------------------------
-
-Most of the steps are similar to the above. For completeness, a full list
-of the steps needed is given here.
-
-1. Download and unzip JDK 6 update 7 (or later) or JDK 5 update 22, and set
- the JAVA_HOME environment variable to the JDK base directory.
-2. Install svn and maven.
-3. Create a local directory to hold the travel sample code. With this as
- your current directory, check out the complete travel sample from svn
- using the following command:
- svn co http://svn.apache.org/repos/asf/tuscany/sca-java-1.x/trunk/tutorials/travelsample
-4. Check the setting of the <tuscany.version> property in the
- travelsample/pom.xml file. If you want to build the travel sample using
- a different Tuscany version, change this property as necessary. The
- travel sample has been tested and runs correctly with Tuscany SCA Java 1.6.
-5. With the travelsample directory as your current directory, enter the
- command "mvn". You will need a live internet connection so that maven
- can download any required files to your local repository.
-6. By default the maven build produces a binaries/target directory which
- contains an add-on delta to the Tuscany SCA Java 1.6 binary distribution.
- If you want to produce a fully self-contained binary package in the
- binaries/target directory, you can use the command "mvn -Pselfcontained"
- instead of "mvn" to do this.
-
-
Running the travel sample from the source directories
-----------------------------------------------------