Hi all
I came to solve the workbench-properties.xml working with OJ in a Debian OS (at 
least Xandros OS).
I wrote a  modified version of the startup script for linux (openjump_mod.sh) 
which recognizes the workbench-properties file for ISA plugins (and future 
modifications). I attached the file at this mail.

------------------------------------------

What is modified from the original file:

Original
JUMP_PROPERTIES=~/.jump/workbench-properties.xml
JUMP_DEFAULTP=~/.jump/default-plugins.xml
JUMP_STATE=~/.jump/
.......
if [ -z "$JUMP_PROPERTIES" -o ! -f $JUMP_PROPERTIES ]; then
  JUMP_PROPERTIES=~/.jump/bin/workbench-properties.xml

Modified:
UMP_PROPERTIES=$JUMP_HOME/bin/workbench-properties.xml
JUMP_DEFAULTP=$JUMP_HOME/bin/default-plugins.xml
JUMP_STATE=$JUMP_HOME/bin/
.......
f [ -z "$JUMP_PROPERTIES" -o ! -f $JUMP_PROPERTIES ]; then
  JUMP_PROPERTIES=$JUMP_HOME/bin/workbench-properties.xml


_____________________

In this way Openjump on Xandros based OS recognizes the 
workbench-properties.xml file and loads ISA tool. Unfortunatelly it does not 
recognize the jython console.

Jython console:
I also tried to modify the workbench-properties file adding the following line 
to work around jython console. 
<plug-in>com.isa.jump.plugin.PythonToolsPlugIn</plug-in> 
I copied from original Skyjump file.
Well, it loads the jython icon and partially opens the window but it does  not 
show the menus and tools.
When I try to open the jython console it also creates a new folder at the 
/home/user/, called cachedir/packages with all .pkc files connected to all .jar 
files available in Openjump

Jython console probabily requires a more work. I wonder if it can be customized 
as base for Openjump: I see QGIS doing some nice work using its python 
embedded. Openjump could do the same. Of coarse we don't have so many 
specialists in script developing (I think only Michael for beantshell and Larry 
for jython), but this would be an extra attraction (having jython embedded like 
beanshell console)for OJ, in the future

Regards

Peppe


      

Attachment: openjump_mod.sh
Description: Binary data

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to