p2artifacts.xml, how is that generated? By default it doesn't have certain properties #1549
jcompagner
started this conversation in
General
Replies: 1 comment 10 replies
-
Using the same version and id is really bad and because of that Tycho detects that your jar is tampered and thus triggers a fresh download. So you better ask at jface to provide some kind of extension point for what you want to archive here, or choose a higher version for your patch e.g. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think that is be done by the tycho-p2-repository plugin and then i guess the p2-metadata section.
But a lot of docs are not there anymore (some links for example in the release notes of Tycho 3.0 are not working because of this stuff like: https://www.eclipse.org/tycho/sitedocs/tycho-p2/tycho-p2-repository-plugin/ )
now if i build a plugin it generates:
but what tycho wants is the .m2\repository\p2\osgi\bundle\org.eclipse.jface\3.27.0.v20220817-1444
location is:
the thing is what i do is
https://github.com/Servoy/servoy-eclipse/blob/master/org.eclipse.jface/pom.xml#L60
because we have a patch jface plugin (that as far as i see we really need because we need to be able to override all icons that our product has no matter which plugin they come from, so there is 1 extra class and 1 class is adjusted for this)
until now (tycho 2.6.0) this worked fine.
But now with 2.7.5 it always starts to download when it seems my generated p2artifacts.xml:
so at the first time it encounters the jface plugin, Tycho doesn't find the one in my local repo to be correct and will download the original one of eclipse..
So it seems to me that i really need to generate such a full artifacts.xml file. Is that configurable?
It seems if i don't overwrite the xml file that Tycho finds it ok.. But that is then with invalid data (sizes and checksums)
Beta Was this translation helpful? Give feedback.
All reactions