You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2009/10/09 17:21:53 UTC

svn commit: r823584 - /tuscany/java/sca/distribution/all/src/main/release/launcher/tuscany.bat

Author: antelder
Date: Fri Oct  9 15:21:52 2009
New Revision: 823584

URL: http://svn.apache.org/viewvc?rev=823584&view=rev
Log:
Update the tuscany batch script to support passing in tribes static routes

Modified:
    tuscany/java/sca/distribution/all/src/main/release/launcher/tuscany.bat

Modified: tuscany/java/sca/distribution/all/src/main/release/launcher/tuscany.bat
URL: http://svn.apache.org/viewvc/tuscany/java/sca/distribution/all/src/main/release/launcher/tuscany.bat?rev=823584&r1=823583&r2=823584&view=diff
==============================================================================
--- tuscany/java/sca/distribution/all/src/main/release/launcher/tuscany.bat (original)
+++ tuscany/java/sca/distribution/all/src/main/release/launcher/tuscany.bat Fri Oct  9 15:21:52 2009
@@ -17,7 +17,9 @@
 REM # specific language governing permissions and limitations
 REM # under the License. 
 
-if "%1"=="/?" goto help
+REM TODO: can't get these to work yet when using the tribes domaim URI in quotes
+REM if "%1".=="/?". goto help
+REM if "%1".=="-help". goto help
 
 if not "%TUSCANY_HOME%"=="" goto gotHome
 SET TUSCANY_HOME=%~dp0\..
@@ -58,9 +60,14 @@
 :help
 
 echo Apache Tuscany SCA runtime launcher
-echo TUSCANY [debug] [fork] contributions
+echo TUSCANY [debug] [fork] [domainURI] contributions
 echo     debug          enable Java remote debugging
 echo     fork           start a new command prompt window to run the contributions
+echo     domainURI      config URI for the domain, the format is:
+echo                        vm:domainName
+echo                    or
+echo                        "tribes:domainName?routes=ip1,ip2,..."
+echo                    NOTE that the tribes URI needs to be in quotes
 echo     contributions  list of SCA contribution file names seperated by spaces. All
 echo                    deployable composites found in the contributions will be run.