Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Migrating LTK/JDT related plugins from Eclipse 3.3 to 3.8(Need changed API details for org.eclipse.jdt.internal.corext.refactoring.base)
Migrating LTK/JDT related plugins from Eclipse 3.3 to 3.8 [message #930894] Tue, 02 October 2012 14:44 Go to next message
Eclipse UserFriend
Hi,

I need to migrate an Eclipse Platform built on Eclipse 3.3 to 3.8. The Platform uses the LTK/JDT internal refactoring APIs.

One of the classes, org.eclipse.jdt.internal.corext.refactoring.base.JDTChange from 3.3 seems to have been removed/moved to other package.

I see the similar class at org.eclipse.wst.jsdt.internal.corext.refactoring.base.JDTChange

Kindly let me know whether old APIs were refactored and migrated to the above package?

Or is there any other package which is still under the same API?

It would be great if someone can point me to a detailed list of API changes for migration specific to LTK/JDT.

Thank you in advance.
Re: Migrating LTK/JDT related plugins from Eclipse 3.3 to 3.8 [message #930917 is a reply to message #930894] Tue, 02 October 2012 15:07 Go to previous messageGo to next message
Eclipse UserFriend
Well, I realize, both classes extend the same abstract class, so this should be the correct API to migrate. But still, would like to know if someone has more information on this as the new class is under wst.jsdt.

Thanks.
Re: Migrating LTK/JDT related plugins from Eclipse 3.3 to 3.8 [message #932306 is a reply to message #930917] Wed, 03 October 2012 22:03 Go to previous messageGo to next message
Eclipse UserFriend
My guess is that the wst.jsdt class is just a stale copy from the original, intended only for JavaScript, not Java.
I personally don't know about the evolution of this internal "API", but have you tried identifying the commit in git that (re)moved this class?
Here's a perfect starting point:
https://git.eclipse.org/c/jdt/eclipse.jdt.ui.git/log/org.eclipse.jdt.ui/core%20refactoring/org/eclipse/jdt/internal/corext/refactoring/base/JDTChange.java?h=R3_4_maintenance
Smile
Stephan
Re: Migrating LTK/JDT related plugins from Eclipse 3.3 to 3.8 [message #932495 is a reply to message #932306] Thu, 04 October 2012 02:36 Go to previous message
Eclipse UserFriend
Hi Stephan,

That's great Smile! That's exactly what I wanted! Thank you very much.
Previous Topic:Problem with using Eclipse Marketplace under Windows 7
Next Topic:Programmatically folding of methods
Goto Forum:
  


Current Time: Sat May 17 06:24:11 EDT 2025

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

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

Back to the top