Hi Paul, I replaced the standard openjump.bat file with the commands in you message. I ran it under Windows XP. I tried to attach the bat file, but of course, you can't send those in email.
Larry On 9/14/07, Paul Austin <[EMAIL PROTECTED]> wrote: > Larry can you show how you ran it and on which windows version? > > thanks, > paul > > Larry Becker wrote: > > I guess the included sample wasn't complete? It didn't work for me. > > Something about ".." is not recognized. > > > > Larry > > > > On 9/14/07, Paul Austin <[EMAIL PROTECTED]> wrote: > > > >> 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 > >> > >> > > > > > > > > > ------------------------------------------------------------------------- > 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 > -- http://amusingprogrammer.blogspot.com/ ------------------------------------------------------------------------- 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