@echo off
echo. 
echo --- StartNode----------------------------------------
if "%1" == "" goto usage

goto doit

:usage
echo. 
echo Start a new Node
echo    - 1 : the url of the node to create
echo. 
echo ex : startNode  rmi://localhost/node1
echo ex : startNode jini://localhost/node2
echo. 
goto end


:doit
SETLOCAL
call init.bat
%JAVA_CMD%  org.objectweb.proactive.StartNode %1 %2 %3 %4 %5 %6
ENDLOCAL

:end
echo. 
echo ---------------------------------------------------------

@echo off
echo. 
echo --- StartNode----------------------------------------
if "%1" == "" goto usage

goto doit

:usage
echo. 
echo Start a new Node
echo    - 1 : the url of the node to create
echo. 
echo ex : startNode  rmi://localhost/node1
echo ex : startNode jini://localhost/node2
echo.
echo Node started with a random name
echo. 
goto doit


:doit
SETLOCAL
call init.bat
%JAVA_CMD%  org.objectweb.proactive.StartNode %1 %2 %3 %4 %5 %6
ENDLOCAL

:end
echo. 
echo ---------------------------------------------------------

Change the script to be able to launch it when clicking on it
Change the script to be able to launch it when clicking on it


git-svn-id: 9146c88ff6d39b48099bf954d15d68f687b3fa69@74 28e8926c-6b08-0410-baaa-805c5e19b8d6
