Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Ant task to get the list of direct dependencies
Ant task to get the list of direct dependencies [message #529510] Mon, 26 April 2010 08:50 Go to next message
Christophe Gregoire is currently offline Christophe Gregoire
Messages: 5
Registered: February 2010
Junior Member
Hello,

I am new to the forum, and very happy to join the Buckminster users community.
I am already using Buckminster and Hudson to build our set of plug-ins (very easy and powerful when you understand the concepts).
I am now trying to use Buckminster to build and package our custom components requesting a custom build.

I have several plug-ins grouped in one feature, and I would like to call a custom ant task on each of them.
I created a cspecx in my feature, but I would like not to hard-code the list of plug-ins.

Is there any Buckminster ant task providing such a list?
Or is the only solution to parse the feature.xml?

What would be your recommendation to achieve this?

Thanks beforehand,

Christophe
Re: Ant task to get the list of direct depe ndencies [message #529732 is a reply to message #529510] Tue, 27 April 2010 02:01 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik Lindberg
Messages: 2500
Registered: July 2009
Senior Member
Have you looked at the reference documentation describing the auto
generated actions for a feature? When you say you want to pass each
bundle to an ant task, what exactly is it you want as input to this
task?

- henrik

Christophe Gregoire <christophe.gregoire@alcatel-lucent.com> wrote:
> Hello,
>
> I am new to the forum, and very happy to join the Buckminster users
> community.
> I am already using Buckminster and Hudson to build our set of plug-ins
> (very easy and powerful when you understand the concepts).
> I am now trying to use Buckminster to build and package our custom
> components requesting a custom build.
>
> I have several plug-ins grouped in one feature, and I would like to
> call a custom ant task on each of them.
> I created a cspecx in my feature, but I would like not to hard-code
> the list of plug-ins.
>
> Is there any Buckminster ant task providing such a list?
> Or is the only solution to parse the feature.xml?
>
> What would be your recommendation to achieve this?
>
> Thanks beforehand,
>
> Christophe
>


--
- henrik
Re: Ant task to get the list of direct depe ndencies [message #529834 is a reply to message #529732] Tue, 27 April 2010 12:32 Go to previous message
Christophe Gregoire is currently offline Christophe Gregoire
Messages: 5
Registered: February 2010
Junior Member
I again cross checked the auto generated actions for the feature as well as the available ant tasks exposed by buckminster, PDE and P2, but did not find anything returning the list of plug-ins from the feature.xml... I may have missed something.

It would be great to have a comma separated list of the project name of the plug-ins included into a feature.
I would then be able to iterate on this list and call a task on each of them.
Previous Topic:Packages not found during build
Next Topic:Dependency problem when building JARs
Goto Forum:
  


Current Time: Thu Oct 23 09:02:38 GMT 2014

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

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