Hi,

i want to use a chmod command to set some executable bits:

 currently i do this:

org.eclipse.equinox.p2.touchpoint.natives.chmod(targetDir:${installFolder}/features/project.artifactId_version/jre/Contents/Home/,targetFile:bin,permissions:755,options:-R);\
org.eclipse.equinox.p2.touchpoint.natives.chmod(targetDir:${installFolder}/features/project.artifactId_version/jre/Contents/Home/lib/,targetFile:jspawnhelper,permissions:755);

that works as long as the feature is installed inside the eclipse install
dir..

But if that is a readonly dir and eclipse installs that feature really to
the user home dir..
Then that bombs out because the dir is not there..

what should i use there?

i read here
https://wiki.eclipse.org/Equinox/p2/Engine/Touchpoint_Instructions_35
that there is some kind of @artifact ?

But how to use that like this?


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

that look weird to me..
_______________________________________________
p2-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/p2-dev

Reply via email to