Replies: 2 comments
-
I use Tycho target platform filters a lot, and that's the reasoning:
So what is excluded in some typical filters that I configure?
Basically we include too much by creating a feature based product, and try to counter that by filters for the target platform (at least for the compile and test phase). |
Beta Was this translation helpful? Give feedback.
-
Just to chime in: my primary use of filters is to reduce the number of warnings when including Babel features in the build. The Babel features are cut very broad and include translations for many plugins that I do not include in the build. Therefore I get miles and miles of warnings messages about unsatisfied dependencies. (to put it into perspective: I just counted 130 warnings only for one plugin with tycho version 4.0.2 - the reason being 14 languages and a couple of modules + target resolution which each print the warnings) |
Beta Was this translation helpful? Give feedback.
-
Tycho supports a very generic filtering mechanism (what is not supported by PDE):
https://www.eclipse.org/tycho/sitedocs/target-platform-configuration/target-platform-configuration-mojo.html#filters
while PDE only supports a White-List in the target (that is currently not supported by Tycho).
I wonder if we should take some actions to unify this:
<filter>
of typeeclipse-plugin
(exclude everything except ...) with more than one plugin in the list.<filters>
element in regular target files.That would prevent people of define duplicate entries and further allow to have less configuration in the pom.
For that I would like to gather some feedback of people actually using that feature
Beta Was this translation helpful? Give feedback.
All reactions