eclipse-passage / passage

Define and control license checks and usage constraints for OSGi / RCP / IDE
https://www.eclipse.org/passage/
Eclipse Public License 2.0
7 stars 8 forks source link

[LOC] OSGi EventListener not usable like LicensePackIssueListener #1399

Closed HannesWell closed 1 month ago

HannesWell commented 3 months ago

Using an OSGi EventListener registered (e.g. as DS component) for the topics

is not as powerful as registering an LicensePackIssueListener as Eclipse Extension for two reasons:

If both points are implemented, using an OSGi EventListener can even be more powerful since the decodedIssued event is fired before the the encoding happens, which allows to enhance the issued decoded license file before it is encoded. This can for example be used to issue Passage 2 complaint files with Passage 3.

eparovyshnaya commented 3 months ago

@HannesWell many thanks for the finding. Indeed, it revelas that there are two mechanisms for the same purpose, and none of them covers enough ground.

So. In the scope of this task following things shoul be done:

eparovyshnaya commented 1 month ago

Irrenevant as LOC sample project has been shut down.