Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Prerequisites with wildcards in Cspec/x
Prerequisites with wildcards in Cspec/x [message #510526] Wed, 27 January 2010 17:32
Carsten Reckord is currently offline Carsten ReckordFriend
Messages: 139
Registered: July 2009
Senior Member
Hi all,

Looking at the generated Cspec for e.g. an eclipse feature project, there are many groups (and actions) that aggregate attributes of the
feature's dependencies by listing the attributes of all dependencies like this:

<cs:public name="bundle.jars">
<cs:attribute name="bundle.and.fragments" component="org.example.bundle1"/>
<cs:attribute name="bundle.and.fragments" component="org.example.bundle2"/>
<cs:attribute name="bundle.and.fragments" component="org.example.bundle3"/>
...
</cs:public>

This is fine for generated groups. It is, however, rather impractical for specifying similar groups manually in a Cspex, since they would
need to be adapted whenever the component's dependencies change.

It would be a lot nicer to be able to do something like this (to pick up the example above)

<cs:public name="bundle.jars">
<cs:attribute name="bundle.and.fragments" component="org.example.*" componentType="osgi.bundle"/>
</cs:public>

to express "a group of all attributes named bundle.and.fragments from all dependencies of type osgi.bundle matching org.example.* that have
an attribute of that name".

Does this seem feasible? Is there maybe already some other way to do this that I missed?


Regards,
Carsten
Previous Topic:Cannot install headless Buckminster 3.5 or features from update site
Next Topic:Globally extending generated Cspecs
Goto Forum:
  


Current Time: Tue Jan 14 07:14:27 GMT 2025

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

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

Back to the top