Last commit for Run.bat: bf6b8d826b28116f1907e2008d139925873c2eef

Finally ported to comply with the altest worklets platform.

valetto [2003-02-19 10:36:32]
Finally ported to comply with the altest worklets platform.
Still, there is a bug related to compatibility between the WVM_registry and the RMI registry in Cougaar,
which must be resolved on the worklets side.
  1. @echo OFF
  2.  
  3. set PSL_HOME=D:\Peppo\Codice
  4. set WKLLIB=%PSL_HOME%\psl\jars\demo2002\worklets.jar
  5. set ALP_INSTALL_PATH=%PSL_HOME%\tools\cougaar-8.8
  6.  
  7. if "%ALP_INSTALL_PATH%"=="" goto AIP_ERROR
  8. if "%1"=="" goto ARG_ERROR
  9.  
  10. set LIBPATHS=%ALP_INSTALL_PATH%\lib\core.jar
  11. set LIBPATHS=%LIBPATHS%;%ALP_INSTALL_PATH%\lib\glm.jar
  12. set LIBPATHS=%LIBPATHS%;%ALP_INSTALL_PATH%\lib\planserver.jar
  13. set LIBPATHS=%LIBPATHS%;%ALP_INSTALL_PATH%\sys\xerces.jar
  14. set LIBPATHS=%LIBPATHS%;%ALP_INSTALL_PATH%\sys\log4j.jar
  15. set LIBPATHS=%LIBPATHS%;%ALP_INSTALL_PATH%\sys\jsse.jar
  16. set LIBPATHS=%LIBPATHS%;%PSL_HOME%\tools\siena-1.4.2\siena-1.4.2.jar
  17. set LIBPATHS=%LIBPATHS%;%WKLLIB%;%PSL_HOME%
  18.  
  19. REM pass in "NodeName" to run a specific named Node
  20.  
  21. set MYPROPERTIES=-Dorg.cougaar.useBootstrapper=false
  22. set MYMEMORY=
  23. set MYCLASSES=psl.workflakes.coolets.WorkletNode
  24. set MYARGUMENTS= -c -n "%1"
  25.  
  26. @ECHO ON
  27.  
  28. java.exe %MYPROPERTIES% %MYMEMORY% -classpath %LIBPATHS% %MYCLASSES% %MYARGUMENTS% %2 %3
  29. goto QUIT
  30.  
  31. :AIP_ERROR
  32. echo Please set ALP_INSTALL_PATH
  33. goto QUIT
  34.  
  35. :ARG_ERROR
  36. echo Run requires an argument eg: Run ExerciseOneNode
  37. goto QUIT
  38.  
  39. :QUIT