Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] Major Version Bounds changes in latest nightly

Hi

Beware. I found that M5 introduced some new very picky name clash detections. See

https://bugs.eclipse.org/bugs/show_bug.cgi?id=512402
These almost persuaded me that API evolution was impossible. But M6 seems tractable again.

Many API 'breakages' are soluble by an 'Extension' interface for the new methods that consumers can access after an instanceof test.

    Regards

        Ed Willink

On 09/05/2017 15:25, NOYRIT Florian wrote:

Hi,

 

For org.eclipse.papyrus.emf.facet.custom.core, the reason is that APITools consider it be an API breakage. I hope that there are not too many like this one. Sorry, I had to be somewhat systematic on fixing those because there were thousands of API issues that were left by the various Papyrus contributors (me included) and I didn’t check all of them. I trusted the APITool but it might be wrong (may be a bug should be filed on the PDE APITTool  project then).

 

For org.eclipse.papyrus.infra.constraints[.edit] it is because, as you said, it has been clumsily bumped without real API break earlier this year.

 

Best regards.

 

/Florian

 

De : mdt-papyrus.dev-bounces@xxxxxxxxxxx [mailto:mdt-papyrus.dev-bounces@xxxxxxxxxxx] De la part de Christian Damus
Envoyé : mardi 9 mai 2017 15:15
À : Papyrus Project list <mdt-papyrus.dev@xxxxxxxxxxx>
Objet : [mdt-papyrus.dev] Major Version Bounds changes in latest nightly

 

Hi, Team,

 

I am currently working on repairing the Papyrus-RT build for API breakages in the latest Papyrus nightly build, and would like to ask about them:

  • the org.eclipse.papyrus.emf.facet.custom.core major version is incremented to 3.0  Why?  The API evolution report suggests that there are breaking changes, but it is incorrect.  The methods that it thinks were removed were not, because the CustomizationsDelegatingList class is still a List and so manifestly still provides the methods that the API report says were removed.  This major version increment is not needed; only a minor version for the change in this class’s supertype from Object to something more specific.
  • the org.eclipse.papyrus.infra.constraints[.edit] major version is decremented to 2.0.  Is this because it was bumped to 3.0 earlier in the Oxygen stream when, in fact, it didn’t need to be (as is the case with the facet bundle above)?

 

Thanks,

 

Christian



_______________________________________________
mdt-papyrus.dev mailing list
mdt-papyrus.dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev


Virus-free. www.avast.com

Back to the top