@echo off if "%OS%"=="Windows_NT" @setlocal if "%DAISY_HOME%"=="" goto daisyHomeNotSet if "%1"=="" goto argumentMissing set REPOSERVER_HOME=%DAISY_HOME%\repository-server set DATADIR=%1 set MERLIN_JVM_OPTS=-Xmx128m -Dmerlin.deployment.timeout=0 -Dmerlin.logging.config=%DATADIR%\conf\logkit.xml -Dfile.encoding=UTF-8 set MERLIN_HOME=%REPOSERVER_HOME%\merlin %MERLIN_HOME%\bin\merlin -offline -home %DATADIR% -repository %DAISY_HOME%\lib -config %DATADIR%\conf\myconfig.xml %REPOSERVER_HOME%\conf\block.xml goto end :argumentMissing echo "Specify the daisy data directory as argument." goto end :daisyHomeNotSet echo "DAISY_HOME not set!" goto end :end