Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Building SimRel with Tycho for 2021-03



On Wed, Nov 11, 2020 at 9:00 AM Christoph Läubrich <laeubi@xxxxxxxxxxxxxx> wrote:
As I'm currently working on category.xml adding support for source
features/bundles if someone can explain what exactly this "fix versions"
does I can investigate if it is possible to be added to tycho.

Fix version will fix the version of the features in category.xml according to p2 repos. Eg for each feature in category.xml, it would verify the feature for the given version is available in the p2 repos (target platform), and if not, it would suggest a change to make.
This is similar and a slight variation of https://github.com/jbosstools/jbosstools-maven-plugins/blob/master/tycho-plugins/target-platform-utils/src/main/java/org/jboss/tools/tycho/targets/FixVersionsMojo.java which enables some similar feature for .target file (however it also replaced 0.0.0, which is not desired here); so it's technically totally doable.

Tycho has already a version-updater for bundles/features so one for
category.xml seems valid for me.

It's a bit different, as it's about fixing the content of the file. Not sure we're talking about the same thing here.

Another area I'm currently investigating is creating an update-site of
everything in the current reactor build so category.xml is generated
automatically, not sure if this is applicable/useful for simrel as well.

Nope, SimRel just takes as input the p2 repos and a category.xml to create a new p2 repo aggregating content. There is nothing else built in the same reactor.

Back to the top