Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] Guava conflicts

Hi

Once upon a time it was necessary to use import package to accommodate the migration of com.google.collect between differently named bundles.

It seems to be conventional to import org.apache.log4j and com.ibm.icu.* as packages.

I'm not sure that there is really much difference apart from the anarchic freedom of import-package to be in an unspecified bundle.

    Regards

        Ed Willink


On 29/03/2017 12:26, Christian Damus wrote:
Hi, Benoit,

If I recall correctly, there used to be checks in a JUnit test class for bundle and feature metadata that assert there were no occurrences of Import-Package headers in any Papyrus bundle manifest. I could be wrong about that. I also seem to recall asking the reason for it, in the mailing list or in Paris, I'm not sure.

Anyways, I do see some bundles using Import-Package, and the test apparently is not checking it, so if it was policy, then it isn't now? Indeed, the BundlesTests class still has the "importPackage" test method but it is commented out. The doc comment on that test indicates that importing packages was "discouraged" at some time in the past.

Cheers,

Christian

On Mar 29, 2017, 04:08 -0400, MAGGI Benoit <Benoit.MAGGI@xxxxxx>, wrote:

Hello everyone,

 

Guava’s conflicts are still present!

 

The recent bump from 15 to 21 solved internal Papyrus problems but brakes EMF-Compare integration.

All information in the bugtracker [1]

 

Christian said that we have a policy for only using required bundle and not imported package. I can’t find a reference for this policy in the wiki

Can someone point it for me?

 

Please follow and comment the bug if you have any suggestion.

 

 

Regards,

Benoît

1: https://bugs.eclipse.org/bugs/show_bug.cgi?id=514332

 

_______________________________________________
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


_______________________________________________
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