Eclipse/RAP/GEF Indigo to Eclipse/RAP/GEF Kepler - eclipse

I am not an Eclipse/RAP developer, but over a year ago I was tasked with getting a particular application to run. The development environment was Eclipse/RAP using Java. The application was already almost done -- I just needed to make a few changes to get it to work the way we wanted it to work. I made the changes, stuck it into the Jboss app, and it worked. I saved away my source code.
Since then they upgraded my PC, so I no longer have access to my old development environment. We need to move the RAP application to another server, and for some reason it has quit working. Either I don't understand why it ever worked or I don't understand why it doesn't work -- it's all a bit baffling.
So now I'm trying to get this thing working again.
The basic problem I haven't been able to resolve is dependencies. Eclipse reports that the following three bundles can't be found:
org.eclipse.rap.draw2d
org.eclipse.rap.zest.core
org.eclipse.rap.zest.layouts
All three should be in the GEF package.
I have tried installing Eclipse Indigo. When I do that, Eclipse can't find GEF to install it, even though it's given the same URL as I give to Kepler. I've installed Eclipse Kepler. I can install GEF, but while Eclipse reports a valid install, and reports that it is installed, I'm still seeing the same missing dependencies.
Any ideas? It's baffled an Eclipse developer here, but then we don't really use RAP except for this one application.
Any help at all would be greatly appreciated.
Sean.

This is a dependency-related issue, and has nothing to do with RAP. Nevertheless, be careful that the notion of GEF has changed a bit. GEF4 includes: GEF, Zest, Draw2D. Rather than installing the whole thing, I suggest you download your dependencies (i.e. go to GIT and pull the GEF4 project), and then include those projects (or build them as JARs) and include them to be available at runtime, and of course as dependencies.

Related

Eclipse is not starting on macOs

I have an issue with Eclipse,
Eclipse macOS High Sierra version 10.13.6
I keep getting JVM terminated exit code=1
I have tried too many times but the response is same after launching it.
I have downloaded it from Stanford's SEE section and still unable to launch. The error message is here.
I downloaded your course material, and it does indeed contain a really old version of Eclipse - as greg-449 pointed out, there's no way this is going to work on macOS High Sierra. Really surprised instructions from 2007 haven't been updated, but that's another matter.
It would seem that your course just requires Java, so you can use the automated Installer that you find on this page: https://www.eclipse.org/downloads/ and then choose the Eclipse IDE for Java Developers in the wizard. Or you can download that package directly here, and install it.
Looking at your course material, it does appear that they have a custom plugin that makes regular Eclipse actions easier to execute, by adding a number of buttons to the Eclipse toolbar, you won't find these in a vanilla install. If you can find that plugin, you could try to install it into this version of Eclipse too, it might still work. If not, you can perform those steps manually - this video will help, as he shows you how to import and run these projects without those plugins, it's not hard!
It's not possible to say if the plugin adds functionality beyond what is normally possible in general Eclipse distributions, but I doubt it does. Good luck!

errors on eclipse startup (WebDev + JBoss Tools + Tomcat)

i'm running into following errors everytime i start eclipse. If i move my project to a new workspace, everything works fine for the duration of one session - as soon as i open eclipse for the next time, the same thing is popping up again.
I tried various suggestions i found in other posts (closing/reopening project, validation, cleaning,etc.) without success. Here is my stacktrace from the last session (its too long to post it directly in here:))
The main symptom is that Tomcat doesnt start - it is stuck at 7%.
Thank you guys in advance, your help is highly appreciated!! If you need anything else, just leave me a comment and i i'll post it!
Your Eclipse environment is seriously messed up. Perhaps you installed plugins the wrong way or you used the wrong Eclipse or plugin version.
Trash everything. Delete the Eclipse program folder altogether. You can keep your workspace folder, but you should delete its .metadata folder. Now download a fresh copy of Eclipse for Java EE (note, with the EE!), extract it and then integrate Tomcat again the usual way by the Servers view. Note that you don't need any additional plugins for this step.
JBoss Tools should be installed via Help > Install New Software. You should specify the JBoss Tools update site matching the exact Eclipse version. Currently it's Indigo SR2, so you should specify http://download.jboss.org/jbosstools/updates/indigo/SR2/ as URL.

Eclipse entries under launch group are missing

I do C++ embedded development for the NetBurner platform. They have plug-ins that customize Eclipse and in addition to a build tool-chain they add a Launch Group under the Run Configuration area. Everything was working fine under Indigo (32 bit) when I decided to install Subclipse (big mistake). As soon as the install finished I could no longer run my existing configurations successfully. When I went into the Run Configurations area I noticed the Launch Group I used to use was missing. Here is what it looked like earlier yesterday:
Here's what it looks like today:
Things I've tried
First I uninstalled the Subclipse plugins using the
Help->About->Installation Details and then selecting them one at a
time, Uninstalling and restarting after each uninstall. No change.
Then I unpacked the original Eclipse Indigo/CDT 32 bit download to a
fresh folder. Copied over the NetBurner plugins from the zip I got
from the manufacturer. No change.
Launched with different Workspaces, no change.
Launched a Galileo version, it uses older plug-ins, and it still
works.
Copied older plug-ins into Indigo, the older NetBurner launcher
shows up (but it doesn't really work with Indigo)
Removed the older plug-ins put in the newer ones, old NetBurner
launcher went away new launcher does not show up.
Tried removing the
{Workspace}.metadata.plugins\org.eclipse.debug.core.launches - no
change.
Interestingly even though launches has many .launch files that should show up under Run Configuration, nothing shows up.
One other strange (possibly relevant) thing is that icon for the NetBurner Perspective went away, now it just has <NetBurner> as the text and a generic perspective icon.
I can still cross-compile and build for the NetBurner (i.e. the build toolchain still works), it's just the ability to use run configurations that seems to be missing.
I'm out of ideas, does anyone know of some global setting that sits outside the workspace and outside the Indigo installation folder that could be causing this?
I'm running on Win 7 64 bit ultimate, I run the 32 bit version of Indigo because the 64 bit doesn't appear to work with the NetBurner plug-ins. I've also disabled the two Mylyn tasks under General->Startup and Shutdown (they seemed to cause many Permgen memory crashes). This is the same setup I had working flawlessly yesterday.
Update
I also noticed that only 3 of the 4plug-ins are showing up in the Installation Details plug-in pane. The nbeclipse.core_2.6.0.jar is in the eclipse plugin directory but not showing as loaded. So I guess I know now the problem is the plug-in isn't loading but I don't know why or how to get it to load, or what subclipse could have changed that would cause this.
I suspect that the Subclipse installation may have caused an update to some other plugin(s) that it depended on (keep in mind the transitive nature plugin dependency resolution; if you're installing plugin A and it requires a certain version of Plugin B that you don't have, Plugin B will be installed or updated to that version). In doing so, maybe the NetBurner plugin can no longer load because its declared dependencies are no longer met (ie, it depended on an earlier version and does not tolerate a later version).
You can use the OSGi Console to help determine why a plugin is not loading. Here are a couple of references that should help:
http://grep.elasticpath.com/community/techblog/blog/2010/05/27/eclipse-plugins-and-the-osgi-console
http://www.vogella.com/articles/OSGi/article.html#osgiconsole
By the way, you can not just copy plugins into an Eclipse installation and expect them to work. For several versions now, Eclipse has not supported that ability. You must use Help > Install New Software or File > Import > Install > From Existing Installation to install plugins. Ask the vendor if they have an update site to install from; like I said above, simply dropping things into Eclipse's plugins folder is not supported any more, it won't work. Other than the vendor providing an update site, the only other option is to use the dropins folder, as described here.

eclipse plugins not visible

I have recently installed gwt-plugin to my eclipse. But plugins are are not visible, even if I try to install it again, eclipse is not allowing me to install, saying its already installed.I even I ran eclipse as administrator(I am using it in windows 7) and also with clean option, nothing worked out.
And one more thing, After GWT installation, it gave two options - 'Restart' and 'Apply changes'.I have chosen 'Restart'. (Does it matter?)
Any help is appreciated..
Maybe you installed gwt-plugin correctly, but you are missing one of its dependencies? Take a look at this thread. One of the answers discusses using the OSGI console to locate missing dependencies.

Eclipse Ganymede - Integeration with Tomcat 6 (without the whole WTP)

If I start with a Eclipse IDE for Java Developers (85 MB) (Ganymede) installation. What plug ins do I need to install to be a able to:
See the Server tab and being able to add my Tomcat 6 installation.
Be able to create a Dynamic Web Project which I may connect to my server.
I want to be able to start and stop the server.
See the server Stdout-output in my Console tab.
Debug an application on the server.
I want to install as little as possible, as long as I can do the above things I am more than satisfied.
Especially since I have problems with the complete Web Tools Platform (WTP); according to me it's full of bugs related to validation. It sometimes says valid files are invalid, often it helps if you simply restart Eclipse. I have also found it to ignore exclusions as well as sometimes completely ignoring that I have disabled validation all together.
The problems I've experienced have made me uninterested in anything from the WTP project, except the plug ins enabling me to work more smoothly by fulfilling the above unordered list (because that part of WTP worked really well).
I have heard the some have had success with Sysdeo Eclipse Tomcat Launcher Plug-in together with Ganymede. But since it's officially not supported and there has not been a new release since May 2007 and running it with Ganymede involved changing the plug-in files to accept versions >=3.4 I don't see it as a long term solution.
Installing parts of the WTP but not it in its whole feels like a long term solution while at the same time skipping the error ridden parts of the WTP. But I need help with which parts I need to install, as the documentation on Eclipse.org does not explain. Of course, if there is another supported solution than using parts of WTP then that is of interest too!
When I display the "eclipse Plug-in Dependencies" view for org.eclipse.jst.server.tomcat.ui, I see:
org.eclipse.wst.common.emf
org.eclipse.wst.common.emfwrokben.integration
org.eclipse.wst.common.environment
org.eclipse.wst.common.frameworks
org.eclipse.wst.common.modulecore
org.eclipse.wst.common.project.facet.core
org.eclipse.wst.common.project.facet.ui
org.eclipse.wst.common.uriresolver
org.eclipse.wst.internet.monitor.core
org.eclipse.wst.server.core
org.eclipse.wst.server.ui
org.eclipse.wst.validation
So if you can select org.eclipse.jst.server.tomcat.ui through p2 and let that "update process" to pick the dependencies for you, you should end up with the minimal set of plugins needed for running/managing Tomcat on Eclipse (with WTP).