Re: [JPP-Devel] Data lost on system shutdown or killed java vm

2013-06-01 Thread Giuseppe Aruta
As I know both Kosmo and GvSIG save working data into a temp folder. This makes easier to restore, at least saved informations, whenever JAVA VM is killed. 2013/5/31 Michaël Michaud > Hi Matthias, > > Thanks to take care about this. > > I try to fix this problem: > > > http://sourceforge.net/t

Re: [JPP-Devel] Data lost on system shutdown or killed java vm

2013-06-01 Thread Matthias Scholz
Hi, to save the data into the system temp directory (java.io.tmpdir) is not a good idea. Most Linux distributions runs a clean-tmp job during system startup! I would prefer the users home directory (user.home). Not the best solution, but here we have the guaranty, that this directory is write

Re: [JPP-Devel] Data lost on system shutdown or killed java vm

2013-06-01 Thread Michaël Michaud
Hi Matthias, This is OK for me, I've already a plugin using ~/.OpenJUMP/myplugin Maybe you could use ~/.OpenJUMP/tmp instead of ~/openjump_tmp as we can have other resources or config to store in the home directory Michaël Hi, to save the data into the system temp directory (java.io.tmpdir) i

Re: [JPP-Devel] Data lost on system shutdown or killed java vm

2013-06-01 Thread edgar . soldin
generally the value of -state specifies the folder where OpenJUMP stores data between executions (workbench-state.xml). Default: JUMP_HOME or SETTINGS_HOME parameter should be used here. currently this is either ~/.openjump or the OJ_FOLDER, depending on what is writable or config