Hi Pascal,

I get the following error at install time:


An error occurred while configuring the installed items

session context was:(profile=SDKProfile, 
phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null --> 
[R]com.test.p2.feature.feature.group 1.0.0.201105111415, 
action=org.eclipse.equinox.internal.p2.engine.MissingAction).

No action found for: setProgramProperty.

No action found for: setProgramProperty.

My p2.inf looks like this:


instructions.configure=\

setProgramProperty(propName:testValue1,propValue:testValue2);\



Thanks in advance,
Dom

________________________________
From: [email protected] [mailto:[email protected]] 
On Behalf Of Pascal Rapicault
Sent: May-11-11 1:36 PM
To: Equinox development mailing list; P2 developer discussions
Subject: Re: [equinox-dev] Writing something into the config.ini file

This can be done using a touchpoint action (Provisioning Actions and 
Touchpoints<http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/guide/p2_actions_touchpoints.html?resultof=%22touchpoint%22%20>)
In this particular case: setProgramProperty, for example 
setProgramProperty(propName:equinox.use.ds, propValue:true);

To get this added to your metadata you need to store that into a p2.inf file 
(Customizing 
metadata<http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/guide/p2_customizing_metadata.html>)

<http://help.eclipse.org/helios/topic/org.eclipse.platform.doc.isv/guide/p2_actions_touchpoints.html?resultof=%22touchpoint%22%20>
On 2011-05-11, at 1:30 PM, Domenico Alessi wrote:

Hi All,

I a have quick question.  I have a feature/plugin that I wish to install but I 
also want at installation time to put in a key/value pair into the config.ini.  
I see that install Handlers are discouraged.  How can I accomplish this?

BR,
Dom

_______________________________________________
equinox-dev mailing list
[email protected]<mailto:[email protected]>
https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to