How to Override Eclipse Core Plug-ins [message #784931] |
Sat, 28 January 2012 06:45 |
Kivanc Muslu Messages: 153 Registered: November 2010 |
Senior Member |
|
|
Hi all,
I know that the title is a little scary and it is actually not what I need to know at the moment, but pretty close.
For various reasons -research being the top- I have to change the code inside two Eclipse plug-ins: org.eclipse.jface.text and org.eclipse.jdt.ui.
To change it, I import the source as a plug-in project, change the source and re-compile it with a new version identifier.
Before this, I was only changing the first one (org.eclipse.jface.text) and it was working perfectly from the debug platform (i.e., running a second eclipse inside eclipse) and when I installed my final plug-in to other eclipses (i.e., deployed version). All hooks I have added to org.eclipse.jface.text work.
Then, I needed to change org.eclipse.jdt.ui. Similarly, it worked perfect inside the second eclipse (debugging). However, I am having problems with the deployment. I try the same trick for org.eclipse.jdt.ui, recompile it with a new version identifier, however for some reasons, when I move it under the dropins/ directory of another eclipse and restart that eclipse, it does not get loaded (my version).
I have attached a screenshot that shows the plug-ins that are currently running on my eclipse (partial). You can clearly see that I have two org.eclipse.jface.text running (my version and eclipse original), however for org.eclipse.jdt.ui, I only have one (original eclipse).
I guess my first question is: what could be the reason beyond that?
2. question: is there a workaround?
3. question: is there a better way to path existing eclipse source code for the purposes of your plug-in?
Finally, I have also attached another screenshot that shows the error I get when I tried to install my plug-in from an update site automatically. I don't know if it is related, however it was complaining about two org.eclipse.jdt.ui's being in conflict or something like that. It might mean more to someone who knows the error messages better.
All help is appreciated. Thanks in advance, best regards,
Cannot complete the install because of a conflicting dependency.
Software being installed: Quick_Fix_Scout 0.1.0 (edu.washington.cs.quick-fix-scout.feature.group 0.1.0)
Software currently installed: Eclipse SDK 3.7.1.M20110909-1335 (org.eclipse.sdk.ide 3.7.1.M20110909-1335)
Only one of the following can be installed at once:
Java Development Tools UI 3.7.1.r371_v20110824-1200 (org.eclipse.jdt.ui 3.7.1.r371_v20110824-1200)
Java Development Tools UI 3.7.0.v20110531-1200 (org.eclipse.jdt.ui 3.7.0.v20110531-1200)
Java Development Tools UI 3.7.1.r371_v20110824-0800 (org.eclipse.jdt.ui 3.7.1.r371_v20110824-0800)
Cannot satisfy dependency:
From: Quick_Fix_Scout 0.1.0 (edu.washington.cs.quick-fix-scout.feature.group 0.1.0)
To: org.eclipse.jdt.ui [3.7.1.r371_v20110824-1200]
Cannot satisfy dependency:
From: Eclipse Java Development Tools 3.7.1.r371_v20110810-0800-7z8gFcoFMLfTabvKsR5Qm9rBGEBK (org.eclipse.jdt.feature.group 3.7.1.r371_v20110810-0800-7z8gFcoFMLfTabvKsR5Qm9rBGEBK)
To: org.eclipse.jdt.ui [3.7.1.r371_v20110824-0800]
Cannot satisfy dependency:
From: Eclipse Project SDK 3.7.1.r37x_v20110728-7Q7xAEDDePtVvBAYYD3z-il0ox7CoGe6mz-B8FDdVn0YR (org.eclipse.sdk.feature.group 3.7.1.r37x_v20110728-7Q7xAEDDePtVvBAYYD3z-il0ox7CoGe6mz-B8FDdVn0YR)
To: org.eclipse.jdt.feature.group [3.7.1.r371_v20110810-0800-7z8gFcoFMLfTabvKsR5Qm9rBGEBK]
Cannot satisfy dependency:
From: Eclipse SDK 3.7.1.M20110909-1335 (org.eclipse.sdk.ide 3.7.1.M20110909-1335)
To: org.eclipse.sdk.feature.group [3.7.1.r37x_v20110728-7Q7xAEDDePtVvBAYYD3z-il0ox7CoGe6mz-B8FDdVn0YR]
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03515 seconds