Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » different versions of classes in different plugins
different versions of classes in different plugins [message #272585] Thu, 23 September 2004 20:50 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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

Previous Topic:Vertical ruler in an editor
Next Topic:ClassLoader problems running plugin in development
Goto Forum:
  


Current Time: Sun Dec 22 01:11:15 GMT 2024

Powered by FUDForum. Page generated in 0.03357 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top