Is the location predicate sensitive to the path separator of different platforms?
In a setup model I have the following:
<workingSet
name="${scope.project.name} - tooling">
<predicate
xsi:type="predicates:LocationPredicate"
pattern="${git.clone.posysml.location}/plugins/tooling/.*"/>
</workingSet>
... which works on macOS (and presumably on Linux, although I haven't tested it there), but it is ignored on Windows. Must I write the following (quite horrible) predicate?
<workingSet
name="${scope.project.name} - tooling">
<predicate
xsi:type="predicates:LocationPredicate"
pattern="${git.clone.posysml.location}(\\|/)plugins(\\|/)tooling(\\|/).*"/>
</workingSet>
Not only that is quite unappealing and error prone, but some messages in the forum (cf https://www.eclipse.org/forums/index.php?t=msg&th=1085942&goto=1760836&#msg_1760836) suggest that using this with \\ doesn't work.
I've been looking for the implementation of the Working Sets task in Oomph's git repo at http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/ but I can't find where this is implemented. Where should I look?
By the way, is "Pattern" supposed to be a Java regex according to java.util.regex.Pattern, or some inhouse pattern?
[Updated on: Tue, 28 November 2017 16:01] by Moderator