The following is an improved windows bat file that allows the application to be run from any directory and also dynamically loads all zip,jar libraries in the lib (not ext) folder.
I'd also like to make it have user based coinfiguration as per my unix script. Any objections to checking this in? Paul @echo off set OLD_DIR=%CD% set JUMP_HOME=%~dp0..% set JAVA_OPTS=-Xms256M -Xmx256M -Dlog4j.configuration=file:bin\log4j.xml "-Djump.home=%JUMP_HOME%" cd %JUMP_HOME% set LIB=lib set CLASSPATH=. set CLASSPATH=conf;%CLASSPATH% set CLASSPATH=lib\ext;%CLASSPATH% for %%i in ("lib\*.jar") do call "%JUMP_HOME%\bin\lcp.bat" %%i for %%i in ("lib\*.zip") do call "%JUMP_HOME%\bin\lcp.bat" %%i set PATH=%PATH%;%LIB%\ext set JUMP_OPTS=-properties bin\workbench-properties.xml -plug-in-directory "%LIB%\ext" start javaw -cp "%CLASSPATH%" %JAVA_OPTS% com.vividsolutions.jump.workbench.JUMPWorkbench %JUMP_OPTS% cd %OLD_DIR% ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel