Skip to Content.
Sympa Menu

notify-dpml - svn commit: r1596 - development/main/transit/plugin/etc/bin

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: andreas.ronge AT jayway.se
  • To: notify-dpml AT lists.ibiblio.org
  • Subject: svn commit: r1596 - development/main/transit/plugin/etc/bin
  • Date: Fri, 28 Jan 2005 16:08:05 +0100

Author: andreas.ronge AT jayway.se
Date: Fri Jan 28 16:08:04 2005
New Revision: 1596

Modified:
development/main/transit/plugin/etc/bin/transit.bat
Log:
added some more """"""" in order to get the thing working on M$. they should
be punished for introducing spces in paths!

Modified: development/main/transit/plugin/etc/bin/transit.bat
==============================================================================
--- development/main/transit/plugin/etc/bin/transit.bat (original)
+++ development/main/transit/plugin/etc/bin/transit.bat Fri Jan 28 16:08:04
2005
@@ -1,7 +1,9 @@
-@echo off
+REM @echo off

rem -------------------------- Transit CLI
---------------------------------------------------

+setlocal
+
rem set JAVA CMD
if not "%JAVA_HOME%" == "" goto USE_JAVA_HOME

@@ -13,16 +15,17 @@
set JAVA="%JAVA_HOME%\bin\java"

:SET_METRO
-if "%DPML_HOME%" == "" set DPML_HOME="%USERPROFILE%\.dpml"
-if "%DPML_CACHE%" == "" set DPML_CACHE="%DPML_HOME%\cache"
+if "%DPML_HOME%" == "" set DPML_HOME=%USERPROFILE%\.dpml
+if "%DPML_CACHE%" == "" set DPML_CACHE=%DPML_HOME%\cache
if "%TRANSIT_PLUGIN%" == "" set TRANSIT_PLUGIN=@TRANSIT-PLUGIN-URI@

set CMD_LINE_ARGS=%*
-set SECURITY_POLICY=-Djava.security.policy=%DPML_HOME%\bin\security.policy
-set TRANSIT_CLASSPATH=%DPML_HOME%\transit\lib;@WINDOWS-CLI-CLASSPATH@
+set SECURITY_POLICY=-Djava.security.policy="%DPML_HOME%\bin\security.policy"
+set TRANSIT_CLASSPATH="%DPML_HOME%\transit\lib";"@WINDOWS-CLI-CLASSPATH@"

:RUN_METRO
-%JAVA% "%SECURITY_POLICY%" %TRANSIT_JVM_OPTS% -classpath
"%TRANSIT_CLASSPATH%" net.dpml.transit.Main -Xbootstrap=%TRANSIT_PLUGIN%
%CMD_LINE_ARGS%
+%JAVA% %SECURITY_POLICY% %TRANSIT_JVM_OPTS%
-Ddpml.transit.bootstrap.uri=%TRANSIT_PLUGIN% -classpath %TRANSIT_CLASSPATH%
net.dpml.transit.Main -Xbootstrap=%TRANSIT_PLUGIN% %CMD_LINE_ARGS%
goto EndOfScript
:EndOfScript

+endlocal




Archive powered by MHonArc 2.6.24.

Top of Page