Bug 552943 - Eclipse installed in readonly location will never use what plugins change in the eclipse.ini file
Summary: Eclipse installed in readonly location will never use what plugins change in ...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 4.14   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-runtime-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-12 04:55 EST by Johan Compagner CLA
Modified: 2020-09-09 07:09 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Compagner CLA 2019-11-12 04:55:56 EST
When i install eclipse in a readonly location
Then i install plugins or features, those are going into the user home dir
so you can adjust a installation just fine
Problem is when that is an new install or update of for example of a plugin that provides a JRE and uses the SetJvmAction of p2 to update the ini file

We do get in the user.home\.eclipes\somedir\configuration\ directory a "eclipse.ini.ignored" file
That does have the updated stuff that i need. But it will never use that 
So these kind of plugins or feature that depend on changes to the ini file will never work.

I guess this can be a bit tricky, but can the launcher itself not already see this and look if there is a ini file in the home dir for this installation and use that one? (use the newer of the 2...)

For now all those p2 touchpoints are kind of useless (SetJvmAction, AddProgramArgument, AddVmArgument) because you have no idea if they really are installed and used..
Comment 1 Mickael Istria CLA 2019-11-13 03:13:42 EST
(In reply to Johan Compagner from comment #0)
> I guess this can be a bit tricky, but can the launcher itself not already
> see this and look if there is a ini file in the home dir for this
> installation and use that one? (use the newer of the 2...)

IMO, that's a good proposal. However, I don't know how hard it'd be to implement.