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

Bug 572890

Summary: Unable to move installation using bundle pool
Product: [Eclipse Project] Equinox Reporter: Torbjörn Svensson <torbjorn.svensson>
Component: FrameworkAssignee: equinox.framework-inbox <equinox.framework-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jonah, tjwatson
Version: unspecified   
Target Milestone: 4.20 M2   
Hardware: All   
OS: All   
See Also: https://git.eclipse.org/r/c/equinox/rt.equinox.framework/+/179406
https://git.eclipse.org/c/equinox/rt.equinox.framework.git/commit/?id=d12be71505874b8d74e0243100c8fedad3f698f4
https://git.eclipse.org/r/c/platform/eclipse.platform.common/+/181146
https://git.eclipse.org/c/platform/eclipse.platform.common.git/commit/?id=f6ad745618d2f4698bdc46ea21b24d83d0af4773
Whiteboard:

Description Torbjörn Svensson CLA 2021-04-15 15:59:17 EDT
In tycho 2.3.0, a new kind of product packaging was introduced that allows a product to create a multi-platform installation package.
The Eclipse platform used in tycho 2.3.0 does indeed support using a bundle pool and it contains all the resources to be usable on more than one platform, but the eclipse.ini (or name-of-launcher.ini) contains an absolute path to the installation directory (-install parameter).
As an absolute path per definition prevents the installation to be relocated, this package type has limited use in the real world.

As a resolution to this limitation, I propose to add a new symbol that can be used to describe a path relative to the launcher if one is defined.
Please see gerrit for details.

Once this topic has been addressed, I will attempt to make PDE use this symbol to allow tycho to have a relocatable package.
Comment 1 Eclipse Genie CLA 2021-04-15 16:09:13 EDT
New Gerrit change created: https://git.eclipse.org/r/c/equinox/rt.equinox.framework/+/179406
Comment 3 Jonah Graham CLA 2021-05-27 13:03:33 EDT
@Torbjörn Can this be documented in https://help.eclipse.org/2021-03/topic/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html?cp=2_1_5_0

Also, should @launcher.dir apply to everywhere, rather than be limited to -install?

See thread https://www.eclipse.org/lists/platform-dev/msg03015.html
Comment 4 Torbjörn Svensson CLA 2021-05-27 13:32:20 EDT
(In reply to Jonah Graham from comment #3)
> @Torbjörn Can this be documented in
> https://help.eclipse.org/2021-03/topic/org.eclipse.platform.doc.isv/
> reference/misc/runtime-options.html?cp=2_1_5_0

Yes, I'll try to find some time and add a few lines about it before Monday (no promises though).

> Also, should @launcher.dir apply to everywhere, rather than be limited to
> -install?
>
> See thread https://www.eclipse.org/lists/platform-dev/msg03015.html

I guess it could be useful for other use-cases than just the bundle pool installations. Regardless, I think this is too late for the June milestone, or?
Comment 5 Eclipse Genie CLA 2021-05-28 13:17:10 EDT
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.common/+/181146