Custom 'BuildTimestampProvider' stopped working using tycho version 4.0.10 #5741
|
I have implemented a custom BuildTimestampProvider in my OSGi-based application to update the .qualifier with the current timestamp only for bundles that have actually changed, instead of updating all bundles. The custom timestamp provider is implemented as follows: It is used in the pom.xml as shown below: This setup works with Tycho version 2.7.5 but stopped working after upgrading the application to Tycho version 4.0.10. What changes are required to make it work with the newer version of Tycho? |
Replies: 4 comments
Have you recompiled your custom provider using Tycho 4.x API? By the way 4.x is EOL now and 5.x is the current latest release so you maybe want to upgrade to 5.x anyways. |
|
Yes, I tried compiling a custom There are errors for other packages too, but the primary issue is that A sample pom for tycho version 4.0.10 looks like this: It works when we change |
|
@ChetanKaila Looks to me like the interface was moved into a different package when it added a new required method. Does it work if you update and recompile your provider? |
|
The interface is now in the |
The interface is now in the
tycho-spimodule: https://github.com/eclipse-tycho/tycho/blob/main/tycho-spi/src/main/java/org/eclipse/tycho/build/BuildTimestampProvider.java#L22