chmod touchpoint failed with @artifact not substituted in Helios [message #543288] |
Tue, 29 June 2010 00:08 |
Michael Xia Messages: 8 Registered: July 2009 |
Junior Member |
|
|
I'm running an issue when install from an existing update site using run.director with Eclipse 3.6 as the base. The following error occurs:
run.director:
[java] Installing com.aptana.feature.feature.group 3.0.0.1277763677-8L48b9L6sY5d_0ee040234987747.
[java] Installation failed.
[java] !SESSION 2010-06-28 23:55:07.357 -----------------------------------------------
[java] eclipse.buildId=I20100608-0911
[java] java.version=1.6.0_03
[java] java.vendor=Sun Microsystems Inc.
[java] BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
[java] Framework arguments: -application org.eclipse.equinox.p2.director -metadataRepository file:/var/update-site/update/development/red-core -artifactRepository file:/var/update-site/update/development/red-core -installIU com.aptana.feature.feature.group
[java] Command-line arguments: -application org.eclipse.equinox.p2.director -consoleLog -metadataRepository file:/var/update-site/update/development/red-core -artifactRepository file:/var/update-site/update/development/red-core -installIU com.aptana.feature.feature.group
[java]
[java] !ENTRY org.eclipse.equinox.p2.engine 4 4 2010-06-28 23:55:33.711
[java] !MESSAGE An error occurred while installing the items
[java] !SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2010-06-28 23:55:33.711
[java] !MESSAGE session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.aptana.terminal 1.0.0.1277427263, action=org.eclipse.equinox.internal.p2.touchpoint.natives.ac tions.ChmodAction).
[java] !SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.natives 4 0 2010-06-28 23:55:33.712
[java] !MESSAGE The action chmod failed - file @artifact/os/linux/x86/redtty does not exist
[java] An error occurred while installing the items
[java] session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.aptana.terminal 1.0.0.1277427263, action=org.eclipse.equinox.internal.p2.touchpoint.natives.ac tions.ChmodAction).
[java] The action chmod failed - file @artifact/os/linux/x86/redtty does not exist
[java] Application failed, log file location: /var/hudson/workspace/red-core-tests-development/eclipse/con figuration/1277794507652.log
[java] Java Result: 13
Look like @artifact is not being substituted with the correct plugin location, although it was working just fine in Eclipse 3.5.2. Any insight will be greatly appreciated.
Thanks.
|
|
|
|
|
|
|
|
|
Re: chmod touchpoint failed with @artifact not substituted in Helios [message #677557 is a reply to message #606463] |
Wed, 08 June 2011 20:17 |
John P. Petrakis Messages: 1 Registered: July 2009 |
Junior Member |
|
|
Andrew Niefer wrote on Fri, 13 August 2010 11:44There are actually two chmod actions, one in the eclipse touchpoint, the
other in the natives touchpoint.
The one in the eclipse touchpoint supports the @artifact, the other doesn't.
You can use a fully qualified name to distinguish between the two, which I
think would be
org.eclipse.equinox.p2.touchpoint.natives.chmod
org.eclipse.equinox.p2.touchpoint.eclipse.chmod
Ryan Partridge wrote:
> In Eclipse 3.6 (don't know about previous versions), the variable to use
> for the chmod action instead of @artifact is ${artifact.location}. I had
> to dig into the p2 source code to find it, but using it in the targetDir
> parameter worked like a charm.
For sure (because I just tried it) ${artifact.location} does not work in eclipse 3.4.
BTW: this is a most useful thread since the example for chmod'ding at this link:
xxxx://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_actions_touchpoints.html
(xxxx because it won't let me do a link... sorry)
Has utterly ZERO chance of working since it uses @artifact along with ...touchpoint.natives.chmod. Thanks!
[Updated on: Wed, 08 June 2011 20:18] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04413 seconds