What makes eclipse for RCP different from eclipse classic? - java

I understand that I need RCP for eclipse plugin and eclipse RCP development. However, as I have some crashes, and software installation issues, I guess I have to use eclipse classic until the issues are solved.
What makes eclipse for RCP different from eclipse classic?
I checked eclipse download page, and to me it seems like that eclipse classic doesn't have any feature whereas RCP has a lot.
Are the features only difference between the two choices?
If so, can I download the features/plugins to use all the RCP features in eclipse classic without any problems?

All the downloads on the eclipse.org page are only predefined packages of generally available Eclipse plugins. So you can always install any plugin into any existing Eclipse installation (assuming no dependency conflicts). The package selection on the download site only determines what is pre-installed (and it is hard to disable the pre-installed features).
For RCP development you need the JDT and PDE features. Both the "classic" as well as "for RCP development" packages contain those, so it is still your choice.
If you really want a minimalistic Eclipse suited to your needs, then install the "Platform Runtime Binary" from http://download.eclipse.org/eclipse/downloads/drops4/R-4.2.1-201209141800/, which is an "empty" Eclipse. Afterwards install only your chosen plugins using the update manager.

Related

Should I Uninstall Eclipse, or Just Install a New Version on Top?

To preface, I am a student and have limited experience with IDEs. My situation is that I currently have two versions of Eclipse on my machine (OSX El Capitan), one being a C/C++ IDE (Mars) and the other is a Java IDE (Mars.2). I am interested in upgrading to Eclipse Neon for my Java IDE.
Would it be a good idea to uninstall my current Mars.2 version, or just install Neon on top of what I have?
Or, is there a another simple way to upgrade?
If the solution involves uninstalling my Mars.2 version, what files/directories do I need to delete so that my C++ IDE remains functional?
I apologize for the newbie question, but I wanted to get an expert's take that I can bring into my (hopeful) career.
Thanks.
No need to uninstall existed Eclipse since it's allowed to let multi eclipse run on the same machine.
If no big change has been made from original eclipse, I suggest just download a new version eclipse and unzip it to a different folder from existed eclipse folder based on instructions from FAQ How do I upgrade Eclipse IDE?
We strongly recommend against unzipping over your existing Eclipse
version as unexpected side effects may occur, including (but not
limited to): nausea, vomitting, shortness of breath, corrupt
installation.
You can then point the new Eclipse version to your existing workspace(s) and it will load with all your projects and preferences intact.
If your you have added many plugins and preferences to current Eclipse, please follow Easiest way to upgrade eclipse 3.7 to 4.2 (Juno) to migrate the plugins and preferences. Although that's a bit of a dicey process, since many plugins would be incompatible or need to be updated themselves. Better to just install whatever third-party plugins you use into the new Eclipse installation.

java GEF independ from Eclipse IDE

I have a project, we want the SWT/JFace GEF Eclipse plugin project independ from Eclipse IDE. for example, as a java project, we import the java libarary, and run the java application as normal, could anyone help me to give me an idea. Many thanks!
You have to write an Eclipse Rich Client Platform (RCP), this includes enough of Eclipse to provide the infrastructure needed by all Eclipse plugins.
There are lots of web resources on writing Eclipse RCPs, see here for example.
You cannot run Eclipse plugins in an ordinary Java program.

The "Installed Software" vs "Features" vs "Plug-ins" in eclipse

When I click the Installation Details in eclipse,
I got this tab for Installed software
and a tab for Features
and a tab for plug-ins.
What are the relationships between eclipse software, eclipse features, and eclipse plugin as is shown in this window?
I guess Help -> Install New Software ... to install software, and software is comprised of a bunch of related plugins. Those two tabs are just the same contents (software names/plugin names) that is installed from Install New Software ... menu?
In his answer https://stackoverflow.com/a/12863077/260127, Bananeweizen says Eclipse "features" are the smallest installable pieces of Eclipse applications for users (e.g. the Java development toolkit). They consist of multiple plugins, where plugins are the smallest pieces that make sense from the developers point of view (e.g. org.eclipse.jdt.core, org.eclipse.jdt.ui, org.eclipse.jdt.somethingelse)., but to me it seems like eclipse feature is almost the same as eclipse software, and eclipse application is a set of eclipse software(feature) on top of eclipse platform.
"Installed software" is that subset of features, which you as a user actively choose to install in this Eclipse instance.
The features list on the other hand contains all features installed in this Eclipse instance. It includes all items from "installed software" and it contains the dependencies of the items from "installed software". Those are the features which you did not choose to install by yourself, but the Eclipse P2 update manager decided that, to be able to satisfy your installation request.
So again, an Eclipse installation process installs features, some of them on request of the user, some of them on request of the system to be able to install those from the user.
To make this all more complicated, Eclipse features are often referred to as "plugins" by Eclipse users, although that is not correct. So if you read about something like "installing the PHP plugin", that really refers to installing the PHP feature, which again consists of multiple plugins (but you don't see those as an Eclipse user, only as an Eclipse developer).
You can double click one of the features in that dialog to see the list of plugins it contains.
A plugin is that adds specific abilities to a larger software application.
Each plug-in
1)Contributes to 1 or more extension points(Means it can increase his property by just connecting it to any extension point)
2.)Small set of prog which generally require JRE and add some small feature to your Eclipse SDK..
While eclipse software is a set of plugins(Generally called RCP-Rich Client Platform )which provide a complete functionality to eclipse SDK.
Yep, software may consists of multiple plugins. "Installed" not only means that you have installed them via update site, but also this software were included in that package of eclipse.

Java SWT autocomplete for Eclipse

I'm manipulating SWT library for Java with Eclipse. It's cool however something is missing. Eclipse doesn't propose any thing concern SWT, Ctrl-Space seems losing its magic.
I'd like to know if we can add Autocompletation for SWT and Do you know any cool site to learn SWT
Thanks
If you are creating a project that uses SWT, and you'd like to have all the SWT source and Javadoc available while you're coding, you probably want to use the PDE version of Eclipse. This version comes with all of the source and documentation for all of the SWT, JFace, and Eclipse RCP classes, and provides useful functionality if you are ultimately going to create an RCP application or plug-ins for one.
No auto-completion? That's not supposed to happen. Does your project compile? Do you have the swt.jar in your build path? Does the JDK version work with the SWT version?
Anyway if you want all the documentation, completion etc, if you're using IDE Eclipse, you need both swt.jar and swt.zip - the source. Add swt.jar to build path, tie swt.zip for source and build the project. If still doesn't work try Refresh and build again.

Which Eclipse IDE version to choose?

How do I find which Eclipse version I have on my Ubuntu system?
This is what "About Eclipse SDK" says.
Eclipse SDK
Version: 3.5.2
Build id: M20100211-1343
I am not sure if its the Eclipse IDE for Java Developers or the Eclipse Classic version.
What I would like to do is use Eclipse for
Java based Web Application Development
Ant Builds
Deploy using Tomcat
including HTML, CSS Editing
Please help me decide which version I should choose? I would like to upgrade my Eclipse setup from whatever version it is now to a version that supports all the above. Should I go for Eclipse IDE for Java EE Developers?
Should I download a totally new version from Eclipse site or can I just ADD necessary features/plugins to my current Eclipse setup.
Please suggest.
See Compare Eclipse Packages for a nice chart
What I would like to do is use Eclipse for (...)
The Eclipse IDE for Java EE Developers allows to do what you're asking for out of the box.
Should I download a totally new version from Eclipse site or can I just ADD necessary features/plugins to my current Eclipse setup.
Both would work, although it would be simpler to just get directly the Eclipse IDE for Java EE Developers (especially if you don't know exactly what plugin(s) you're looking for). Personally, I don't use the version you can get from the repository but download Eclipse from the official website and install it in user mode.
If you are using Eclipse for only Enterprise Development, then as everybody has recommended I would use the Eclipse Java EE version. If you plan on occasionally using it for other development purposes then I would consider downloading a separate classic version as well.
The reason for this is that everybody is well aware of eclipse's plugin capabilities. Unfortunately, Eclipse can get bogged down with too many plugins or add on tools. What I have experienced is that if you are using it for Enterprise Development(J2EE) it might be a good idea to keep that as a separate environment then your other Java Development. That way you can download the plugins,tools,libraries,etc for your enterprise development, and you can use your classic version for any other development you might need.
The downside is you will have two versions, but this is not a problem granted you do not run them simultaneously.
If you want to play with Web development, then the Eclipse java EE for Developers is for you. It is shipped with components to make Java Enterprise applications to create Enterprise Applications (and bundle it in an Enterprise ARchiver, known as EAR file or Web ARchive, known as WAR file).
The default Eclipse shipping with Ubuntu is the Classic version, and you can add more plugins.
I would recommend, however, to download th eJEE version manually and unzip it and run. Then you have a local installation outside the system files.

Categories

Resources