Duplicate dynamic working sets [message #1736928] |
Mon, 04 July 2016 08:05  |
Eclipse User |
|
|
|
Hi,
I have multiple setup files which can be used to clone specific git repositories (one setup file per repository) and import the cloned projects in Eclipse. I use dynamic working sets to group the cloned projects based on their file path. Every git clone setup contains the following working set task:
<setupTask
xsi:type="setup.workingsets:WorkingSetTask">
<workingSet
name="{$group}">
<predicate
xsi:type="predicates:LocationPredicate"
pattern="C:/develop/git/{$group}/.*"/>
</workingSet>
<description>A dynamic working set</description>
</setupTask>
{$group} gets replaced by an actual group e. g. "workingset1".
This works fine but every time another repository is cloned that uses the same group another dynamic working set is created even though the content is exactly the same as in the already existing dynamic working set.
After cloning three projects of the same group I get three dynamic working sets:
workingset1 Location like C:/develop/git/workingset1/.*
workingset1 Location like C:/develop/git/workingset1/.*
workingset1 Location like C:/develop/git/workingset1/.*
While one would be enough (obviously).
Needless to say the overview becomes a bit messy as time goes on.
Is there a way to prevent this without removing the setupTask?
Thanks!
Christian
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.08891 seconds