packagedrone icon indicating copy to clipboard operation
packagedrone copied to clipboard

Aspect "Tycho Cleaner" prevents categories from working

Open SvenEwald opened this issue 9 years ago • 1 comments

Versions: 0.14.0 Steps to reproduce:

  • Create a channel with aspects "P2 Repository" and "Tycho Cleaner"
  • Add Artifact "P2 Category Generator" (with or without category.xml)

NOK: The generated category will not work (when used in IDE "install new software") and be empty in the content tab.

  • remove "Tycho Cleaner" aspect and delete category artifact
  • recreate same category artefact

OK: Now the category works in the IDE and has attached p2metadata.xml

SvenEwald avatar Nov 21 '16 12:11 SvenEwald

Sorry for the long delay ...

The tycho cleaner discards all incoming p2 meta data generated by tycho. So If you don't generate any other P2 meta data, then you will have an empty category file later on.

You will need the OSGi aspect and the P2 meta data aspect if you discard tycho data.

ctron avatar Dec 05 '16 16:12 ctron