-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tycho-p2-extras-plugin::compare-version-with-baselines Bug in Tycho 2.2.0 .. 2.6.0 for features with root files #562
Comments
After debugging, it seems to me that tycho compares the main artifact and the attached artifact that contains the root files. |
I think it's worth a PR, and even better if you can add some integration test that showcases the bug and validates the fix. |
@mlehmannm pleas still provide a PR:
because of the second, please consider adding an integration test that shows this case fails. |
Thanks for the fix, is there anything left for now or can we close this? |
Can confirm that the latest 2.7.0-SNAPSHOT fixes the issue. It also works (just checked it) with features and root folders that are not coincidentally named root (e.g. build.properties says root=ex instead of root=root). Thanks! |
@beyerjsb thanks for verification |
We are seeing compare-version-with-baselines failing for features with root files. It works fine for features without root files. It's happening in Tycho 2.2.0 to Tycho 2.6.0 and also in Tycho 2.7.0-SNAPSHOT. It is not happening in Tycho 2.1.0.
Error message is:
It seems it tries to compare the local main feature IU jar with the root files IU jar from the baseline.
See attached sample repo.
Run
mvn install
It will produce a repo to compare against (required step).
Since you don’t change anything, a compare with itself should result in no issues.
Run
mvn install -Pdo-baseline
It will fail with
Run
mvn install -Pdo-baseline -Dtycho-version=2.1.0
It will run successfully and compare without issues – it does not happen in Tycho 2.1.0
Run
mvn install -Pdo-baseline -Dtycho-version=2.6.0
It will fail with same error message – it’s not fixed in Tycho 2.6.0
tychobug.zip
The text was updated successfully, but these errors were encountered: