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?

that doesnt work:

session context was:(profile="" phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.servoy.jre.macosx.x86_64.feature.feature.group 12.0.0, action="">
The action chmod failed - file @artifact/jre/Contents/Home/bin does not exist 

 Thats what we then get..

Besides that, if that would work i have another problem...

how would i solve this problem:

org.eclipse.equinox.p2.touchpoint.eclipse.setJvm(jvm:../Eclipse/features/project.artifactId_version/jre/Contents/Home/lib/libjli.dylib);\

where i set the vm arg to what i know should work if it would be installed in an eclipse install directly?

i have a feeling that i need a ${featureInstallDir} (or plugin) 
where the p2.inf is in..


On Fri, 8 Nov 2019 at 16:04, Mickael Istria <mistria@xxxxxxxxxx> wrote:
Hi,

Reading the code of ChmodAction, it looks like you'd rather use

org.eclipse.equinox.p2.touchpoint.natives.chmod(targetDir:@artifact,targetFile:jre/Contents/Home/bin,permissions:755,options:-R);

HTH

_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/p2-dev

Back to the top