Optionales "Import packages" entfernt Version nicht #583

CLOSED
Submitted 4 years ago

Hallo Lars.

Wenn ich, wie in der Übung zum Erstellen eines OSGI-Service angegeben, org.osgi.service.component.annotations als Optional in Import packages markiere, wird die Version nicht entfernt wie von dir angegeben. Es wird nur "resolution:=optional" angehängt.

Um das folgende Ergebnis zu bekommen, muss ich manuell die Minimum-Version entfernen. "Import-Package: com.vogella.tasks.model, org.osgi.service.component.annotations"

Zumindest in den Versionen 2020-06 und 2020-09 ist das so.

"the version constraint has been removed to avoid issues with later Eclipse releases" passt damit nicht zum aktuellen Verhalten.

Kannst du dir das mal bei Gelegenheit anschauen?

Viele Grüße Yvonne

Comments

  4 years ago

Hallo Yvonne,

war einfach nur verwirrend formuliert. Habe es geändert auf:

  • In the above listing the version constraint has been removed so that you will not be confused by version number different from your listing. In your code the version will be present.

Viele Grüße, Lars

Please login to write a comment.