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 2010/05/19 23:01:38 UTC

svn commit: r946393 - in /tuscany/sca-java-1.x/trunk/tutorials/travelsample: binaries/build.xml build.xml distribution/src/main/release/README

Author: nash
Date: Wed May 19 21:01:38 2010
New Revision: 946393

URL: http://svn.apache.org/viewvc?rev=946393&view=rev
Log:
Merge revision r944729 from release branch

Added:
    tuscany/sca-java-1.x/trunk/tutorials/travelsample/binaries/build.xml
      - copied unchanged from r944729, tuscany/sca-java-1.x/branches/sca-java-travelsample-1.0/binaries/build.xml
Modified:
    tuscany/sca-java-1.x/trunk/tutorials/travelsample/build.xml
    tuscany/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/release/README

Modified: tuscany/sca-java-1.x/trunk/tutorials/travelsample/build.xml
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/tutorials/travelsample/build.xml?rev=946393&r1=946392&r2=946393&view=diff
==============================================================================
--- tuscany/sca-java-1.x/trunk/tutorials/travelsample/build.xml (original)
+++ tuscany/sca-java-1.x/trunk/tutorials/travelsample/build.xml Wed May 19 21:01:38 2010
@@ -43,7 +43,8 @@
         <ant dir="domainconfig" target="${target}"/> <!--needed by launchers-->
         <ant dir="services" target="${target}"/> <!--needed by launchers-->
         <ant dir="launchers" target="${target}"/> <!--needed by clients-->
-        <ant dir="clients" target="${target}"/>
+        <ant dir="clients" target="${target}"/> <!--needed by binaries-->
+        <ant dir="binaries" target="${target}"/>
     </target>
 
 </project>

Modified: tuscany/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/release/README
URL: http://svn.apache.org/viewvc/tuscany/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/release/README?rev=946393&r1=946392&r2=946393&view=diff
==============================================================================
--- tuscany/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/release/README (original)
+++ tuscany/sca-java-1.x/trunk/tutorials/travelsample/distribution/src/main/release/README Wed May 19 21:01:38 2010
@@ -608,11 +608,12 @@ You can do this as follows:
 Running travel sample scenarios from the "binaries" directory
 -------------------------------------------------------------
 
-If the travel sample was built using Maven, a binaries/target directory
-will be created with subdirectories containing all the built jar and war
-files and runtime dependencies for these files. This enables you to see
-how a Tuscany application can be packaged in binary form by an application
-developer for distribution to users of the application.
+If the travel sample was built from the distribution using Ant or Maven,
+a binary package for the travel sample will be created in the binaries/target
+directory and its subdirectories. This binary package contains all the built
+jar and war files and runtime dependencies for these files. By looking at the
+contents of the binaries/target directory tree you can see how to package a
+Yuscany application in binary form for distribution to users of the application.
 
 The following subdirectories of binaries/target contain jar and war files
 for the travel sample:
@@ -632,8 +633,8 @@ for the above files:
   ode - JPA Derby database needed by the ODE runtime
   openejb - OpenEJB 3.1.2 runtime jars needed by the travel sample
 
-You can run the travel sample scenarios that have launchers by doing
-the following:
+To use the binary package to run the travel sample scenarios packaged with
+launchers, you can do the following:
  1. Open a command prompt. 
  2. Change directory to travelsample/binaries/target/<runtime-dir> where
     <runtime-dir> is the directory for the scenario shown in Table 3 below.
@@ -649,7 +650,7 @@ the following:
     launcher or launchers for the scenario. The recommended browser is
     Firefox as some scenarios don't work with Internet Explorer.
 
-Table 3. Running scenarios with launchers from the binaries directory
+Table 3. Running scenarios with launchers from the binaries/target directory
 -------------------------------------------------------------------------------------------------------------------
 |    Scenario            Directory    Commands                              URLs                                  |
 -------------------------------------------------------------------------------------------------------------------
@@ -747,8 +748,9 @@ Table 3. Running scenarios with launcher
 |                      | launchers  | ant run-notification-ws             |                                       |
 -------------------------------------------------------------------------------------------------------------------
 
-The scenarios packaged as web applications can be run using .war files
-from the binaries/target/webapps directory as follows:
+Some scenarios are packaged as web applications and don't have launchers.
+You can run these using .war files from the binaries/target/webapps
+directory as follows:
  1. Deploy the web application (.war) file to a Web application server
     such as Tomcat. The .war file can be found in the directory
     travelsample/binaries/target/webapps and has the name listed in