Bug 283142 - The executor actor should be able to use prerequisites and product
Summary: The executor actor should be able to use prerequisites and product
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Buckminster (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: buckminster.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-10 10:28 EDT by Thomas Hallgren CLA
Modified: 2019-02-25 14:41 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Hallgren CLA 2009-07-10 10:28:02 EDT
A Buckminster action is like a link in a chain. It has prerequisites as input and is supposed to produce some output. This is currently hard to accomplish when using the executor actor since it has no way to get hold of the material provided by the prerequisites. Another problem is that it cannot see what base and paths that are listed in the action product.

I think this executor should use a scheme similar to what is used with Ant. In ant, we send a list of file sets as a property and we have an ant type (the FileSetGroup and ValueFileSet) that can interpret this property so that it can be used from ant. With the executor, I think these file sets should be provided in environment settings where the name of the variable matches the alias.

The org.eclipse.buckminster.jarprocessor.JarProcessorActor might serve as a good example on simple usage of prerequisites and product.
Comment 1 Thomas Hallgren CLA 2009-07-10 10:33:26 EDT
Adding Guillaume as CC since he's the primary keeper of this actor.