Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Working Set rule for all repositories
Working Set rule for all repositories [message #1817035] Thu, 14 November 2019 11:15 Go to next message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

In Dartboard we currently have the following rule, which puts all projects from the dart repo into one working set.

<setupTask
xsi:type="setup.workingsets:WorkingSetTask"
prefix="org.eclipse.dartboard-">
<workingSet
name="${scope.project.label}">
<predicate
xsi:type="predicates:AndPredicate">
<operand
xsi:type="predicates:RepositoryPredicate"
project="org.eclipse.dartboard"/>
</predicate>
</workingSet>
<description>The dynamic working sets for ${scope.project.label}</description>
</setupTask>

Now if I add more repos, I have to replicate this rule for each repo.

Is their a way to tell Oomph to create working sets per repo and add all projects in the related repo to the working set? This would avoid replication of the above rule.

Re: Working Set rule for all repositories [message #1817042 is a reply to message #1817035] Thu, 14 November 2019 14:57 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
It's possible to create a Macro but it's likely more effort than it will every save:

https://wiki.eclipse.org/Eclipse_Oomph_Authoring#Macros_and_Macro_Expansion_Tasks

And if you have more repos, it likely makes sense that you have more project setups because one would generally expect/hope that each repo is able to set itself up.


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Working Set rule for all repositories [message #1817047 is a reply to message #1817042] Thu, 14 November 2019 15:52 Go to previous message
Lars Vogel is currently offline Lars VogelFriend
Messages: 1098
Registered: July 2009
Senior Member

Thanks Ed for the answer.
Previous Topic:Open close views via project setup files
Next Topic:Using the Git clone location to build working sets
Goto Forum:
  


Current Time: Fri Apr 19 15:39:19 GMT 2024

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

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

Back to the top