buckminster.postbind? [message #735401] |
Tue, 11 October 2011 13:03  |
Eclipse User |
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.28366 seconds