You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by bl...@apache.org on 2002/08/08 20:35:56 UTC

cvs commit: jakarta-avalon-excalibur/merlin/src/demo demo.bat

bloritsch    2002/08/08 11:35:55

  Modified:    merlin/src/demo demo.bat
  Log:
  update demo.bat to allow you to override MERLIN_HOME and have it try to run
  
  Revision  Changes    Path
  1.3       +10 -1     jakarta-avalon-excalibur/merlin/src/demo/demo.bat
  
  Index: demo.bat
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/merlin/src/demo/demo.bat,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- demo.bat	16 Jun 2002 13:49:12 -0000	1.2
  +++ demo.bat	8 Aug 2002 18:35:55 -0000	1.3
  @@ -24,8 +24,17 @@
   set MERLIN_FILES=./dist/demo.jar
   
   rem
  +rem Set the home for merlin if it is not already set
  +rem
  +if not "%MERLIN_HOME%"=="" goto gotMerlinHome
  +set MERLIN_HOME=..\..\dist
  +
  +:gotMerlinHome
  +
  +
  +rem
   rem execute Merlin as a jar file 
   rem (avalon-framework.jar and logkit.jar must be in the same disrectory)
   rem
  -java -jar .\..\lib\merlin.jar -target %MERLIN_TARGET% -priority %MERLIN_PRIORITY% -verbose %MERLIN_VERBOSE% %MERLIN_FILES%
  +java -jar %MERLIN_HOME%\lib\merlin.jar -target %MERLIN_TARGET% -priority %MERLIN_PRIORITY% -verbose %MERLIN_VERBOSE% %MERLIN_FILES%
   
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>