Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] what variable should i use to run some native touch point actions on the feature that is just installed?

ok that works a bit better

i created 2 p2 sites:


and now they are plugins it works better when restarting because eclipse didn't half delete (or full delete under linux) the whole dir at that time
(when does eclipse starts deleting old plugins??)

But we should still fix the problem that the updated vm is not used when restarting..
But at least for now it doesn't result in a none starting eclipse.

On Mon, 11 Nov 2019 at 21:26, Johan Compagner <jcompagner@xxxxxxxxx> wrote:

On Mon, 11 Nov 2019 at 17:33, Mickael Istria <mistria@xxxxxxxxxx> wrote:

On Mon, Nov 11, 2019 at 5:03 PM Johan Compagner <jcompagner@xxxxxxxxx> wrote:
On the plugin itself i think i can't say that.. is there another place?

You can say it on the bundle directly with `Eclipse-BundleShape: dir` in MANIFEST.MF

  Yes figured that out.

I am testing now how it goes if you install eclipse in a read only dir..
Then in my home dir a .eclipse dir is created
And if i install it then yes my feature and plugin are popping up there.
Then of course it couldn't also update the ini file and then in the dir:


i have there a eclipse.ini.ignored with the right -vm thing...

But i guess that ignored says enough ;)

Its really ignored.

So that would mean if somebody installs it in a readonly location that has already a jvm shipped with it.
Then if a update is send in that also has a new jvm plugin, then that installed correctly but it won't be used...

So i guess any touchpoint code that alters the ini file all have no effect when it can't update the ini file right besides the exe?

I wonder if the exe file can't also look into that other dir ?

Back to the top