Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Question about a Feature Dependencies "Compute" function
Question about a Feature Dependencies "Compute" function [message #606492] Sat, 21 August 2010 02:24
Craig Foote is currently offline Craig FooteFriend
Messages: 217
Registered: July 2009
Senior Member
I have two plugins, A & B. Plugin-A has a Require-Bundle dependency on
Plugin-B. I also have a feature that has "<plugin>" entries for both
plugins A & B. When I use the "Compute" button on the Dependencies tab of
the feature, it adds a "<requires><import plugin>" (Dependencies tab)
entry for Plugin-B. Is this correct?

Our build guy who set up our P2 builds on Hudson was surprised to hear
this and stated he actually has code in his build scripts that throws an
error when a plugin is listed in both the "<plugin>" and
"<requires><import plugin>" sections of a feature. I manually removed the
"<requires><import plugin>" entry for Plugin-B and the build worked fine.
His thinking I believe is that "<plugin>" entries indicate "build me"
whereas "<requires><import plugin>" (Dependencies tab) entries indicate
"find me as a P2 artifact, one of the <plugin> entries being built
depends on me". If that's correct, the build should not be looking for a
previous build of Plugin-B but rather the current build of Plugin-B
should be used to satisfy Plugin-A's dependency.

When it's put that way, I have to wonder if the "Compute" function added
the "<requires><import plugin>" entry for Plugin-B because I don't have
my dependencies set correctly somewhere.

What would you expect "Compute" to do in this situation? Any help greatly
appreciated.

Craig
Previous Topic:Headless RCP Product build missing dependent plugins
Next Topic:From PDE/Build to publish
Goto Forum:
  


Current Time: Fri Apr 26 21:36:28 GMT 2024

Powered by FUDForum. Page generated in 0.02960 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top