Updating m2e version in Eclipse EE? - java

Is it just me or have they made this absolutely impossible?
On a fresh install of Eclipse Kepler (with m2e 1.4.1) I'm getting a bug with the m2e lifecycle plugin so have decided to do a basic update of the plugin to see if it fixes the issue.
I go to update the version via Help > Check For Updates and of course it says there are no updates, which isn't true.
How about updating manually then. Help > About Eclipse > Installation Details > Update on the plugin itself. Nope, still reports it as up to date, when it's not.
OK, how about Help > Install New Software then adding the release site : http://download.eclipse.org/technology/m2e/releases/ then Select All > Next on 1.8.3 version. Eclipse tells me it can't perform the operation because 1.4.1 is already installed, well duh, I'm trying to update the version, but nope doesn't let me bump up the version, just some weird merge which doesn't fix the issue.
OK, now I'm annoyed, how hard should this be? I decide to nuke m2e from the eclipse installation. I go to Help > Installation Details select the plugin and uninstall. Then follow the steps above to add back 1.8.3 version from the update site except....nope. 1.4.1 is still installed and I'm not allowed to update it again according to Eclipse.
OK, this is getting bad now, I read a few articles online which seem to be in agreement that the only way to make m2e disappear is to delete all references to it from the plugin and features folders. I do this and attempt to reinstall 1.8.3 from the update site. Nope...1.4.1 is still installed according to Eclipse and yet again I can't update. Are you relally telling me I have to start hacking around in the configuration files to delete a plugin?
Has anyone actually been able to successfully do this on Kepler or should I just give up and start using IntelliJ? How such basic things are made so difficult is beyond me, Eclipse's plugin management is horrific.

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.

How to run old STS 2.8.0 GWT SDK project in new STS 3.7.2?

I unfortunately happened to have to fix an old project written by somebody else long ago. All they left were brief instructions regarding what IDE did they use and what configurations to select to compile.
I have the old STS version they used and the project can be launched in it. The problem is that the IDE is incredibly laggy and erroneous. It randomly crashes on memory exceptions, needs me to clean and rebuild often as it messes up builds, randomly not compiles java classes and so on. I want to try whether they improved at least some of that over the years.
I downloaded the new STS. I backed up my workspace, fortunately, because of course new STS also messes up things as I quickly learned. This is the menu I used to launch the project from old STS:
New STS deleted the items:
The IDE instructions for the project state that the the GWT should added using Window -> Preferences -> Google -> Web Toolkit. You guessed it, it's not there:
How to run GWT project in new STS IDE?
It looks like someone installed the GWT plugin for Eclipse into the old STS installation and you don't have that yet in the new STS installation. I would recommend to take a look at: https://developers.google.com/eclipse/ to get instructions on that extension of Eclipse.
I am sure there is also an item on the STS Dashboard Extension install to easily grab the Google Plugin and install it into your STS version.
Aside of that I would be interested in hearing more details about what exactly the latest STS version is messing up. Please let us know the details behind your projects so that we are able to fix them for the next version. A simple "of course new STS also messes up things as I quickly learned" doesn't help much. Would appreciate more details and reports about that doesn't work as expected.

Eclipse-PMD : error while installing through eclipse market place

I'm trying to install the PMD source code analyser plugin for Eclipse. It's available through Eclipse Market Place, but I'm getting following problem in the phase of installation :
Why am I getting this problem ?
EDIT
I do not have this menu even though I have added the ruleset configuration file
I'm the creator of eclipse-pmd, the plugin you are trying to install. I tried to install it myself just now and it worked without any problems. So I can only guess what could be the problem in your case:
The repository was temporarily not available
Simply try again.
You are using a (very) old version of Eclipse
The plugin requires Eclipse Indigo (3.7) or later. I tried to install eclipse-pmd with Indigo and Luna just now and it worked both times.
Run Eclipse with Java 7
You need to run Eclipse with a JRE 7 or later. There have been problems during the installation with people using an older JRE in the past. However they could finish the installation but Eclipse silently refused to load the plugin (this has been fixed a few versions ago though).
Proxy configuration
Although unlikely as you came this far, please open the proxy configuration in Eclipse and check if the settings are correct and the domain is accessible.
If you tried everything I suggested above and are still not able to install the plugin, please head over to the project's Github page and open an issue.

Is the Google Eclipse Plugin for Juno (Eclipse 4.2) broken?

I just installed Eclipse EE Juno (4.2) and a whole slew of plugins for it. I am now attempting to install the Google plugin (GAE and GWT) and am getting an error when adding the update site through Juno's Install new software window:
Name: Google-Plugin
Location: http://dl.google.com/eclipse/plugin/4.2
When I try to enter this I get:
Could not find http://dl.google.com/eclipse/plugin/4.2
I see this question from a few months ago. Although I am having a very similar problem, I think I have a different problem altogether.
When I change the Location to http://dl.google.com/eclipse/plugin/3.7, I get the same error (except with 3.7 appended on the end of the error message instead of 4.2). I definitely have Internet access (how else would I be posting this question?!) so that's not the issue. If this was only working for the 4.2 plugin, I would happily try the "workaround" mentioned in the other post, or even step back down to Eclipse 3.7 (I have to have this plugin!) until 4.2 was working. But the fact that it's not even working for 3.7 tells me that something else is awrye here. Thanks in advance!
Edit:
Just to mess around with things, I have downloaded Indigo (3.7) and immediately attempted to install the Google-Eclipse plugin. I entered the following for my update site:
http://dl.google.com/eclipse/plugin/3.7
And received a nasty error:
Artifact not found: http://dl.google.com/eclipse/plugin/3.7/compositeContent.xml.
Artifact not found: http://dl.google.com/eclipse/plugin/3.7/compositeContent.xml.
http://dl.google.com/eclipse/plugin/3.7/compositeContent.xml
Am I going crazy here?!?! I've installed my fair share of Eclipse plugins and never had this much trouble. Especially from Google. And I know its not my Internet connection or my Eclipse instance because before I attempted to install the Google plugin, I installed Subversive, IvyDE and EclEmma...
It was also broken for me a little while ago, but seems to be working now. Maybe the site was down for a bit?
You can try installing the plugin from archive as described in the link:
https://developers.google.com/eclipse/docs/install-from-zip
Basically what you are doing is, you download the plugin as a zip(archive) and browse this archive instead of update site, during the plugin installation.

Eclipse update site

I am trying to install eclipse WTP and am getting dependency issues.
In order to install the missing dependencies I am trying to load them from the Galileo update site: http://download.eclipse.org/releases/galileo However, when I try to open this update site, no items show up. I tried messing around with the options (group items by category, show only latest versions...) but no luck. Any ideas why I can't see the software under this update site? I'm pretty sure I need to install some dependencies from here (emf..) in order to get WTP working.
Thanks
Maybe your firewall is blocking Eclipse, preventing Eclipse from getting the list of plugins from the update site.
Are you starting with Eclipse 3.5.x?
If WTP is your destination, it might just be easier to start with a preassembled Galileo package from http://eclipse.org/downloads/ . The "Eclipse IDE for Java EE Developers" contains the entirety of WTP and its prerequisites.

Categories

Resources