Yes, I think you just can't be sure where absolute locations will be stored both in the workspace and even in the installation (configuration folder) once it has been launched in a non-readonly location...

On 27.05.2021 19:01, Jonah Graham wrote:

The help has a bunch of options, but none that covers your use case as far as I can see - https://help.eclipse.org/2021-03/topic/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html?cp=2_1_5_0 <https://help.eclipse.org/2021-03/topic/org.eclipse.platform.doc.isv/reference/misc/runtime-options.html?cp=2_1_5_0>

That said, I did see this commit come through https://git.eclipse.org/r/c/equinox/rt.equinox.framework/+/179406 <https://git.eclipse.org/r/c/equinox/rt.equinox.framework/+/179406> and it may add a new option from 2021-06 of @launcher.dir, but that seems so far only implemented to resolve (and allow relocation of) the install area, rather than the workspace.

Also, do you have a special use case? because AFAIK workspaces are not relocatable. Certainly JDT / CDT put absolute paths in the workspace metadata.

HTH,
Jonah


~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com <http://www.kichwacoders.com>


On Thu, 27 May 2021 at 12:49, Christoph Läubrich <lae...@laeubi-soft.de <mailto:lae...@laeubi-soft.de>> wrote:

    I want to place an Eclipse-Install + its workspace on an USB
    drive, of
    course, depending on the computer where I do plug this into the drive
    letter / path might change. At best I could have a Layout similar to
    what the eclipse-installer produces:

    /eclipse
    /ws

    If I use the simple approach:

    -Dosgi.instance.area=../ws

    this is placed in the current working(!) directory but not
    relative to
    the /eclipse folder...

    What I have tired so far (without success):

    - @config.dir/<somepath>
    - reference:<somepath>


    _______________________________________________
    platform-dev mailing list
    platform-dev@eclipse.org <mailto:platform-dev@eclipse.org>
    To unsubscribe from this list, visit
    https://www.eclipse.org/mailman/listinfo/platform-dev
    <https://www.eclipse.org/mailman/listinfo/platform-dev>


_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev
_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev

Reply via email to