Hi Uwe,

   Interesting use case.  I've searched OJ's code, but haven't found
anything similar the the -properties option for the
workbench-properties.xml file.  I could probably put in an option to
do that fairly easily.

There is a work around that might work.  If you copy the openjump.bat
(or .sh) to each local pc and then customize the script to include the
path to the network location instead of ../, the workbench-state.xml
file will be created in the directory that you place the script file.

Here is an example that I used to test this that is customized for my pc:

set LIB=C:\OpenJump\openjump-20070731-0017/lib
set 
CLASSPATH=C:\OpenJump\openjump-20070731-0017/conf;%LIB%/bsh-2.0b4.jar;%LIB%/Buoy.jar;%LIB%/Jama-1.0.1.jar;%LIB%/jdom.jar;%LIB%/jts-1.7.2.jar;%LIB%/jump-workbench-20070731-0017.jar;%LIB%/jump-api-20070731-0017.jar;%LIB%/xercesImpl.jar;%LIB%/xml-apis.jar;%LIB%/xml-apis-ext.jar;%LIB%/log4j-1.2.8.jar;%LIB%/batik/batik-all.jar;%LIB%/jmat_5.0m.jar;%LIB%/ermapper.jar;%LIB%/jai_codec.jar;%LIB%/jai_core.jar;%LIB%/ext
REM Add extension directory to path, so extensions can put DLL's there
[Jon Aquino 2005-03-18]
set PATH=%PATH%;%LIB%/ext
start javaw -Dlog4j.configuration=file:./log4j.xml -Xms256M -Xmx256M
-cp %CLASSPATH% com.vividsolutions.jump.workbench.JUMPWorkbench
-properties workbench-properties.xml -plug-in-directory %LIB%/ext

regards,
Larry

On 8/23/07, Uwe Dalluege <[EMAIL PROTECTED]> wrote:
> Hi,
>
> we are using OpenJUMP with about
> 50 PC (50 users).
> So I have installed the bin and lib directory
> on a server one time and made a link
> from the openjump.bat file on every PC.
> OpenJUMP creates and change the file
> workbench-state.xml in the bin directory.
> So I can not use the network installation
> because every user would change this file!
> What will happen if 50 user starts OpenJUMP?
> Is it possible to configurate in openjump.bat
> the path to the workbench-stade.xml file?
>
> Regards,
>
> Uwe
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> 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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to