Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-dev] tycho-versions-plugin does not consider source-features

sounds like a bug to me

if you already have a patch, can you open a bug and propose it? see [1]



On 09/02/2017, 19:52, "tycho-dev-bounces@xxxxxxxxxxx on behalf of Jakob Strafer" <tycho-dev-bounces@xxxxxxxxxxx on behalf of jakob.strafer@xxxxxxxxx> wrote:

Hello Tycho team,

I am not sure if this is a bug or an intended behavior.
When I run the tycho-versions-plugin (0.26.0) on a project with
packaging 'eclipse-repository' which contains a category.xml with a
source-feature-entry (the source feature is generated using the
source-feature-plugin), that entry is not considered during a change
of the version. After looking into the CategoryXmlManipulator of the
plugin, I created a small workaround which solves this issue for me.

In the updateFeatureReferences-method I check for both, original and
source-feature-id (starting at line 52):
        for (SiteFeatureRef feature : categoryXml.getFeatures()) {
        String featureId = featureVersionChange.getArtifactId();
        String srcFeatureId = featureId + ".source";
            if ((featureId.equals(feature.getId()) ||
featureVersionChange.getVersion().equals(feature.getVersion())) {

Best regards,
tycho-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top