different versions of classes in different plugins [message #272585] |
Thu, 23 September 2004 20:50 |
Eclipse User |
|
|
|
Originally posted by: dschaefe.ca.ibm.com
I remember hearing something but my memory is foggy...
If I have two plugins, unrelated from a dependency standpoint, and these two
plugins each have a different version of the same class, are my clothes
going to catch on fire?
I remember something about plugins provided contexts for class loading that
would allow for two implementations of the same class to be loaded but
treated as seperate. Is this true? Or was I dreaming?
Thanks,
Doug
|
|
|
Re: different versions of classes in different plugins [message #272587 is a reply to message #272585] |
Thu, 23 September 2004 21:32 |
Eclipse User |
|
|
|
Originally posted by: richkulp.NO.SPAM.us.ibm.com
It will work but you have to be extremely careful that no one else EVER
prereqs (either directly or indirectly) both of your plugins and tries
to access that class. This is almost impossible to control because you
can't control who pre-reqs you.
It is much better to simply make them unique. Usually all packages
within a plugin start with some form of the plugin id, and this is a
simple way to make them unique.
--
Thanks, Rich Kulp
|
|
|
Powered by
FUDForum. Page generated in 0.03357 seconds