Hi,
i didn't test chmod yet (dont need that under windows)
but i tested:
instructions.install = \
org.eclipse.equinox.p2.touchpoint.eclipse.setJvm(jvm:${artifact.location}\\jre\\bin\\j9vm\\jvm.dll);
and that doesn't work because the
ParameterizedProvisioningAction.processVariables(String,
Map,
just tried chmod (native one. so
org.eclipse.equinox.p2.touchpoint.natives.chmod )
under windows to see how that targetDir is set correctly
But its the same as for SetJvmAction it doesn't resolve, the targetDir
becomes for me and empty string...
So how does that work for you?
On Sat, 9 Nov
On Mon, Nov 11, 2019 at 5:03 PM Johan Compagner
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
https://eclipsesource.com/blogs/2009/01/20/tip-eclipse-bundleshape/
Hi Johan,
It looks like using features (group/jar) makes things more complex here.
It is indeed likely that all this was never successfully used by anyone so
far ;)
However, if the final goal is to ship a JRE as a p2 unit, what just using
platform-specific bundles instead of platform-specific
So making it plugins that unzip..?
i can try this.. would also mean i think that i don't get that problem of
deletion because eclipse doesn't try to directly delete plugins (i think,
not sure about unzipped plugins)
On Mon, 11 Nov 2019 at 15:31, Mickael Istria wrote:
> Hi Johan,
>
> It looks
hmm can't seem to get any luck these days
i have the plugin, the setJvm is working (the eclipse.ini is updated)
but updated to:
-vm
plugins/com.servoy.jre.test.win32.x86_64_12.0.0.jar/jre/bin/j9vm/jvm.dll
that has 2 problems, i kind of expect a full path... this is my p2.inf:
found it
i have to say not directly obvious (and what then that feature thing does
of unpack not unpack i have no idea)
but adding: Eclipse-BundleShape: dir
to the manifest of the plugin works
On Mon, 11 Nov 2019 at 17:02, Johan Compagner wrote:
> hmm can't seem to get any luck these days
>
On Mon, 11 Nov 2019 at 17:33, Mickael Istria wrote:
>
>
> On Mon, Nov 11, 2019 at 5:03 PM Johan Compagner
> 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
>
ok that works a bit better
i created 2 p2 sites:
http://developer.servoy.com/test/jre12/
and
http://developer.servoy.com/test/jre13/
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