Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 212067

Summary: [prov] Install area wrong for provisioned SDK
Product: [Eclipse Project] Equinox Reporter: Simon Kaegi <simon_kaegi>
Component: IncubatorAssignee: equinox.incubator-inbox <equinox.incubator-inbox>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: aniefer, john.arthorne, pascal, tjwatson
Version: 3.4   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Simon Kaegi CLA 2007-12-05 16:19:28 EST
I'm using the agent to provision an SDK and am finding the install area is wrong for the new profile. I'm expecting the install area to be the location of the profile (e.g. co-located with eclipse.exe) but instead it is p2\org.eclipse.equinox.p2.touchpoint.eclipse. I'm guessing that this is because it will use a calculation relative to the location to org.eclipse.osgi by default??
Comment 1 Pascal Rapicault CLA 2007-12-07 06:36:41 EST
I have tried forcing the osgi.install.area in the config.ini and I end up with something even more weird: an eclipse folder (with nested configuration folder) in  my eclipse install!

I think what is busted here is the logic being used by main or the framework to determine the install location. Basing it on the osgi.jar location when more context (eclipse.exe, or a property) is available does not seem to be a good guess since it forces eclipse to be in a certain shape.

CC'ing Tom and Andrew for comment (meta-note, I think our handling of location is not consistent depending on how the system is started - indeed I believe there is already such a bug against the fwk or runtime).
Comment 2 Thomas Watson CLA 2007-12-07 15:01:35 EST
This appears to be a dup of bug 204341.
Comment 3 Thomas Watson CLA 2007-12-07 15:02:52 EST
Also see bug 186151.
Comment 4 John Arthorne CLA 2007-12-07 15:05:58 EST

*** This bug has been marked as a duplicate of bug 204341 ***