Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Re-using User Configuration Area Between Eclipse Versions?
Re-using User Configuration Area Between Eclipse Versions? [message #316361] Thu, 07 June 2007 14:51
Eclipse UserFriend
Originally posted by: mark_melvin.amis.com

Hi There,

We are taking advantage of the cascaded configuration areas with our =

product and I have a fundamental question. Let's say I release v1.0 of =
=

our product, and the user installs a master copy into C:\Program =

Files\<whatever>, and thus has a master "shared" configuration area =

initialized under C:\Program Files\<whatever>\eclipse\configuration. Th=
e =

user will then maintain a user configuration area in c:\Documents and =

Settings\<user>\.eclipse\configuration. This all works fine and user =

settings and plugins installed by the user go into their user =

configuration area. Over the course of time the product is upgraded fro=
m =

1.0 to 1.2, 1.2, 1.3, etc. - all of which is done with a proper installe=
r =

on Windows, and the plugins in the shared configuration area are all =

properly updated using the Eclipse update mechanism. The user =

configuration area detects and responds to changes in the master, shared=
=

configuration area and life is good.

Now what happens if I then release v2.0 of our product and it is intende=
d =

to coexist with v1.x of our product, but I don't change the user =

configuration area to point to a new location? I assume Eclipse is goin=
g =

to regenerate the appropriate files as required (in particular =

platform.xml), but will this work seamlessly in both directions? Also, =
=

what if I run both products at once? Will weird things happen? I assum=
e =

they will because the user-specific platform.xml has the following in it=
=

right now:

<config date=3D"1181147819593" =

shared_ur=3D"file:configuration/org.eclipse.update/platform.xml " =

transient=3D"false" version=3D"3.0">
</config>

If I run two products at the same time that are installed in two differe=
nt =

folders (and thus the master, "shared" configuration area is different =

between the two products), but the user configuration area is the same -=
=

c:\Documents and Settings\<user>\.eclipse\configuration - I assume there=
=

will be contention on this file (in particular on the datestamp)?

What is the recommended way of doing this? Any advice is appreciated.

Thanks,
Mark.
Previous Topic:File -> Export fails for an applet project
Next Topic:"Run as" and "Debug As" shortcuts in the Navigator View do not appear...
Goto Forum:
  


Current Time: Wed Aug 27 10:47:00 EDT 2025

Powered by FUDForum. Page generated in 0.33962 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top