Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » reusing setups/tasks
reusing setups/tasks [message #1385974] Thu, 12 June 2014 14:31 Go to next message
Alexander Nittka is currently offline Alexander NittkaFriend
Messages: 1193
Registered: July 2009
Senior Member
Hi,

is there a recommended way for reusing/aggregating setups, tasks, etc. The simple scenario would be as follows. You want to keep p2-tasks and properties for various features in separate models, e.g. p2-task for the Xtext update site, plugins as well as builder and highlighting properties in X.setup, checkstyle plugins and properties in Y.setup.

For project P1 you only need Xtext, so you would want to include X.setup in its project description, for project P2 you need Xtext as well as checkstyle sou you would want to include X.setup and Y.setup.

Alex
Re: reusing setups/tasks [message #1386034 is a reply to message #1385974] Fri, 13 June 2014 06:53 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
Alexander,

Comments below.

On 12/06/2014 4:31 PM, Alexander Nittka wrote:
> Hi,
>
> is there a recommended way for reusing/aggregating setups, tasks, etc.
The only mechanism is subproject nesting..
> The simple scenario would be as follows. You want to keep p2-tasks and
> properties
You mean variables?
> for various features in separate models, e.g. p2-task for the Xtext
> update site, plugins as well as builder and highlighting properties in
> X.setup,
Sounds like preferences then?
> checkstyle plugins and properties in Y.setup.
Certainly with regard to p2 task, it's just an issue of the IU being
specified and the p2 site to get it from. The p2 site could be shared
up in a root project and in a subproject you could specify to actually
install an IU from it, i.e., p2 tasks typically merge into a single task
for the stream in the leaf project.
>
> For project P1 you only need Xtext, so you would want to include
> X.setup in its project description, for project P2 you need Xtext as
> well as checkstyle sou you would want to include X.setup and Y.setup.
So you could nest all the projects that need checkstyle under a project
that specifies the checkstyle stuff. Only projects with streams can
actually be directly provisioned, so the container projects are just
places to keep common tasks.
> Alex


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Creating a Kepler based setup (httpclient 4.1 vs 4.2)
Next Topic:How to add a *.setup file to the installer?
Goto Forum:
  


Current Time: Sat Apr 20 02:26:30 GMT 2024

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

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

Back to the top