Skip to main content



      Home
Home » Eclipse Projects » Virgo » plans with overlapping artifacts?
plans with overlapping artifacts? [message #717241] Fri, 19 August 2011 13:10 Go to next message
Eclipse UserFriend
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 15:40 Go to previous messageGo to next message
Eclipse UserFriend
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 19:46 Go to previous message
Eclipse UserFriend
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
Previous Topic:Problems with Virgo IDE
Next Topic:Running a set of eclipse bundles as an application
Goto Forum:
  


Current Time: Tue Jul 15 06:07:32 EDT 2025

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

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

Back to the top