@echo off rem Startup script for POJO Shark Admin - Modified from Shark's distribution to use Pentaho config and data rem rem Modify the SHARK_HOME and PENTAHO_SHARK_HOME rem set SHARK_HOME to the top level directory of your Shark install rem example: set SHARK_HOME=E:\Enhydra\Shark-1.1-2 rem rem set PENTAHO_SHARK_HOME to the shark solution directory rem example: set PENTAHO_SHARK_HOME=D:\pentaho-samples\solutions\test-solution\system\shark rem rem rem If you are using a Hypersonic Database, you need to copy the hsqldb.jar file from the JBoss default lib to Shark contrib directory rem example: copy D:\pentaho-demo\jboss\server\default\lib\hsqldb.jar D:\Enhydra\Shark-1.1-2\lib\contrib rem rem rem Edit the shark.conf file replacing all the relative paths. Change the ../ to directory defined by PENTAHO_SHARK_HOME. rem example: change EXTERNAL_PACKAGES_REPOSITORY=../repository/external rem to EXTERNAL_PACKAGES_REPOSITORY=D:/pentaho-samples/solutions/test-solution/system/shark/repository/external rem rem rem Edit the shark.conf file to specify the fully qualified path to the dods configuration dir rem example change DatabaseManager.ConfigurationDir=dods rem to DatabaseManager.ConfigurationDir=D:/pentaho-samples/solutions/test-solution/system/shark/conf/dods rem set SHARK_HOME=E:\Enhydra\Shark-1.1-2 set PENTAHO_SHARK_HOME=E:\eclipse\workspace\pentaho-samples\solutions\test-solution\system\shark set OLD_WORKING_DIRECTORY_PATH=%cd% cd %PENTAHO_SHARK_HOME% set OLDCLASSPATH=%CLASSPATH% set CLASSPATH= set PATH=%SHARK_HOME%\lib\contrib\ext;%PATH% rem start "Shark Admin" "E:\JDK\j2sdk1.4.2_06\bin\java" -Xmx128M -Djava.ext.dirs=%SHARK_HOME%\lib;%SHARK_HOME%\lib\engine;%SHARK_HOME%\lib\client;%SHARK_HOME%\lib\contrib;%SHARK_HOME%\lib\wrapper; org.enhydra.shark.swingclient.workflowadmin.SharkAdmin %PENTAHO_SHARK_HOME%\conf\Shark.conf set CLASSPATH=%OLDCLASSPATH% cd %OLD_WORKING_DIRECTORY_PATH%