Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-dev] target platform filtering configuration syntax

In order to allow more control over project build target platform
contents, we plan to introduce ability to filter available installable
units [1].

We are currently considering two alternative ways to configure
filtering. Both provide equivalent functionality and we would appreciate
some feedback to help us choose the pretties (or the least ugly,
depending on your view of half-full/half-empty debate :-) ).

<restrictTo> syntax. This syntax is optimized to handle multiple version
of the same installable unit as in shown the short example below, but
the full syntax allows any include/exclude as demonstrated in [2]. The
possibility of conflicting filter definitions is the downside of this
syntax. I also find the full syntax harder to understand, although this
is subjective.


exclude/keep syntax. This syntax takes more traditional approach to
filter configuration, but results in slightly more verbose configuration
required to handle multiple versions of the same installable unit.
<keep> element does not directly explain why certain IUs are required
(unless the user added <!-- comment -->), which is another possible


What do you think?



Back to the top