eclipse-cbi / targetplatform-dsl

Target Platform Definition DSL and Generator
Eclipse Public License 2.0
76 stars 38 forks source link

Exclude IUs from list? #140

Closed diti0023 closed 1 year ago

diti0023 commented 1 year ago

Is it possible (or planned) to exclude single IUs from a list given by "location"? What can I do if I need to use a version from another location, while discarding the one from the already defined location?

merks commented 1 year ago

No. You can only specify ranges.

It is possible in general in p2 to express "negative requirements" as in this example:

image

I.e., one can set the min/max to 0.

But these resources typically get converted to a .target and it's just not possible to express such a thing (exclusion) in a .target file.