| buckminster.postbind? [message #735401] |
Tue, 11 October 2011 13:03  |
Fabian Baboschi Messages: 40 Registered: December 2009 |
Member |
|
|
Hi,
I have a few plugins (osgi.bundle) which download a zip file from an url in an ant action, depositing some jars found inside it somewhere in a lib/ folder, each inside their corresponding plugin. This action is called during buckminster.prebind. The problem is that the changes are not seen in the plugins unless I manually do a refresh on each of them. I need to do this every time these jars are updated/changed for eclipse to see the change.
I'd like to refresh the plugin (equivalent to pressing F5 in eclipse on the project) after this action finishes.
I found some eclipse ant tasks:
<eclipse.convertPath fileSystemPath="${sp:output}" property="outputProjectRelativePath"/>
<echo message="${sp:output} ${outputProjectRelativePath}" />
<eclipse.refreshLocal resource="${outputProjectRelativePath}" depth="infinite"/> This code works if the plugin is already in the workspace when the bucknminster.prebind command is run, but fails if the plugin is not in the workspace (like it says in the manual, the buckminster.prebind is set to run before the component is bound to the workspace).
I'd like to know to which action/group/artifacts I could bind this code to so it works in both cases:
- if the plugin is in the workspace and also
- if it's not yet in the workspace (does something like buckminster.postbind exist?).
Thank you.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Re: buckminster.postbind? [message #793180 is a reply to message #792904] |
Tue, 07 February 2012 16:24   |
Jakob Braeuchi Messages: 59 Registered: July 2009 Location: Switzerland |
Member |
|
|
hi thomas,
my first try was to replace eclipse.build with my own action, but then the actor was missing in the renamed action.
Action ch.rtc.bdv.data:osgi.bundle$1.0.0.qualifier#original.eclipse.build refers to actor with id null but no such actor has been registered with extension-point org.eclipse.buckminster.core.actors
thanks
jakob
[Updated on: Tue, 07 February 2012 16:24] Report message to a moderator
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02314 seconds