Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » plans with overlapping artifacts?
plans with overlapping artifacts? [message #717241] Fri, 19 August 2011 17:10 Go to next message
Eric Hough is currently offline Eric HoughFriend
Messages: 14
Registered: July 2010
Junior Member
I'm curious to see if plans can utilize overlapping artifacts. For instance, say I have the following two plans:

<plan name="plan-a" version="1.0.0" scoped="false" atomic="false" ... >

    <artifact type="bundle" name="bundle-a" version="[1.0.0, 2.0.0)" />
    <artifact type="bundle" name="bundle-b" version="[1.0.0, 2.0.0)" />

</plan>


<plan name="plan-b" version="1.0.0" scoped="false" atomic="false" ...>

    <artifact type="bundle" name="bundle-b" version="[1.0.0, 2.0.0)" />
    <artifact type="bundle" name="bundle-c" version="[1.0.0, 2.0.0)" />

</plan>


My experience so far shows that Virgo will spit out some errors and fail to start plan-b due to the shared dep on bundle-b, even though both plans are unscoped and non-atomic. But it seems perfectly reasonable to me that two plans may share a dependency on some artifact.

Thoughts?
Re: plans with overlapping artifacts? [message #717276 is a reply to message #717241] Fri, 19 August 2011 19:40 Go to previous messageGo to next message
Hristo Iliev is currently offline Hristo IlievFriend
Messages: 156
Registered: May 2010
Location: Sofia, Bulgaria
Senior Member

Currently shared/overlapping artefacts are not supported. You may want to take a look at a similar topic.

You can create enhancement request for this feature. We might get this easily with the upcoming p2 integration. I'm not quite sure about the atomicity aspect though.
Re: plans with overlapping artifacts? [message #717315 is a reply to message #717276] Fri, 19 August 2011 23:46 Go to previous message
Chris Frost is currently offline Chris FrostFriend
Messages: 230
Registered: January 2010
Location: Southampton, England
Senior Member

This feature will be supported after 3.0.0. Regions are to be used to implement the sub-systems spec, when this is done you will be able to share an artifact between unscoped plans.

Chris


------------------------------------------------
Chris Frost, Twitter @cgfrost
Springsource, a divison of VMware.
Previous Topic:Problems with Virgo IDE
Next Topic:Running a set of eclipse bundles as an application
Goto Forum:
  


Current Time: Fri Apr 19 06:51:53 GMT 2024

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

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

Back to the top