|
Re: Bundle Qualifier Substitution [message #1087529 is a reply to message #1086838] |
Thu, 15 August 2013 15:53  |
Eclipse User |
|
|
|
I pursued my investigation of P2. Now I realize @artifact and ${artifact.location} are not properly substituted.
Here's my p2.inf located beside feature.xml.
instructions.configure=\
org.eclipse.equinox.p2.touchpoint.eclipse.setJvm(jvm:features/com.oracle.jre.1_6.linux.x86_64_1.0.0/jre/bin);
instructions.unconfigure=\
org.eclipse.equinox.p2.touchpoint.eclipse.setJvm(jvm:null);
instructions.install=\
chmod(targetDir:${artifact.location},targetFile:features/com.oracle.jre.1_6.linux.x86_64_1.0.0/jre/bin/java,permissions:755);
instructions.install.import=\
org.eclipse.equinox.p2.touchpoint.natives.chmod
I get the following error:
An error occurred while installing the items
session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.oracle.jre.1_6.linux.x86_64.feature.group 1.0.0, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.ChmodAction).
The action chmod failed - file /features/com.oracle.jre.1_6.linux.x86_64_1.0.0/jre/bin/java does not exist
Someone knows where I can find a complete P2.inf example? I am sure I am missing something stupid.
|
|
|
Powered by
FUDForum. Page generated in 0.03015 seconds