CSpec attributes are empty when bundle is resolved from P2 [message #721781] |
Fri, 02 September 2011 20:58 |
Jakob Braeuchi Messages: 69 Registered: July 2009 Location: Switzerland |
Member |
|
|
hi,
i have a prebind action on my plugin.
when the query is resolved for the first time, the prebind action is executes as expected. but when the query is run again i get the following exception
CSpec org.eclipse.core.runtime:osgi.bundle$3.6.0.v20100505 has no action, group, or local artifact named bundle.jar
...
<actions>
<public name = "buckminster.prebind" actor="ant">
<actorProperties>
<property key="buildFile" value="test.ant"/>
</actorProperties>
<prerequisites>
<attribute name="bundle.jar" component="org.eclipse.core.runtime" alias="myAlias"/>
</prerequisites>
</public>
</actions>
...
this behaviour is very annoying because to run the query again eclipse has to be restarted. i have reported a bug some time ago but i hope someone in this forum has a workaround.
a sample plugin can be dowloaded from here:
see also https://bugs.eclipse.org/bugs/show_bug.cgi?id=340658
jakob
[Updated on: Fri, 02 September 2011 21:03] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03231 seconds