[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [udig-devel] Interaction with system eclipse | 
On Apr 7, 2007, at 1:34 PM, Tim Keitt wrote:
From time to time I download uDig and give it whirl. Looks very  
promising.
I tried RC9 today and two things I noticed:
1) If I download and unzip everything into /opt/udig as root and then
run uDig as an ordinary user, it dies with JVM error code=13.
Apparently uDig needs write access to its installation directory in
order to work. That makes no sense in a Linux environment where app
directories are generally not touched by users.
There is a commandline option that allows you to set the  
configuration location of uDig.  By default it is in the eclipse/udig  
installation.  For example:
udig -configuration ~/.udig
to tell udig that the configuration should be at ~/.udig.
2) Running uDig will completely hose your existing eclipse
environment. I use eclipse for other programming projects and after
running uDig, I loose all my setting. Perspectives created by
installed plugins disappear (lots of 'cannot restore perspective'
errors). This has happened to me (today) when trying the all-in-one
download and previously when I've tried to run it without downloading
all the bundled Eclipse/JVM bits. Needless to say, this is exceedingly
annoying. Any tips on getting uDig to coexist with eclipse for other
uses?
I think Adrian addressed this one.  Another command line option is  
useful here -data.  It tells eclipse where the workspace should be.  So:
udig -data ~/udigWorkspace
Put the two together and you get:
udig -data ~/udigWorkspace -configuration ~/.udig
Hope this helps,
Jesse