Page 1 of 1

How Maintain Updated Eclipse and his Plugins ?

Posted: Wed Jul 04, 2012 12:56 pm
by MELERIX
Just enable this ;)

Image

and you will be notified when a new version or an update is available for Eclipse or his plugins, like Subclipse or any other you may have installed.

also this will help you update easily without reinstall anything.

Re: How Maintain Updated Eclipse and his Plugins ?

Posted: Wed Jul 04, 2012 5:49 pm
by Zoey76
It may work but is not really recommended, mostly when it's a version change such as 3.7.2 to 4.2, usually you will keep libraries from older versions and invalid metadata then you will have errors starting Eclipse while it initialize those plugins.

Re: How Maintain Updated Eclipse and his Plugins ?

Posted: Wed Jul 04, 2012 6:47 pm
by MELERIX
if an update from 3.7.x --> 3.8/4.2 is safe, due the new compatibility with plugins and the migration compatibility from previus versions.

and about the older Eclipse libraries... these will be overriden (as always) with the new ones, even if you have the old files present (because Eclipse checks the date of each file before load).

troubles only could be if you are updating from a really old Eclipse version for example from 3.4/5/6 -->3.8/4.2

anyway you can uninstall old plugins manually and reinstall them :P

PD: Idea of this is to maintain a standar with same IDE Tool version between Devs and Community in order to fix and detect same issues and use same features.

Re: How Maintain Updated Eclipse and his Plugins ?

Posted: Wed Jul 04, 2012 7:12 pm
by jurchiks
It should be enabled anyway to keep at least the plugins updated, so there can't be any arguments against this.
I always enable it when I set up Eclipse.

Slightly offtopic, but here's how to enable SVN 1.7 support in Eclipse 3.7 (and probably older versions too):
SPOILER:
For Subversive plugin (and, possibly, others) in versions of Eclipse prior to 4.2, you need to manually enable the update link in Available Software Sites in order to get the SVN 1.7 support for Subversive.
I.E. install Subversive normally via Help->Install new software..., then go to Automatic Update Sites, find the update site for Subversive and enable it (for some reason it's not enabled automatically). Then, if you have automatic updates enabled, it will prompt you to update it and you'll have SVN 1.7 support. Or you can just click Help->Check for Updates.

For Eclipse 4.2, the update site is different and is automatically enabled, so no hassle with it anymore.

Re: How Maintain Updated Eclipse and his Plugins ?

Posted: Mon May 27, 2013 5:16 am
by Opiam
What do you say about when Eclipse can't update: insufficient access privileges to apply this update (Ubuntu)

Image

Re: How Maintain Updated Eclipse and his Plugins ?

Posted: Mon May 27, 2013 8:01 am
by jurchiks
Run eclipse as sudo? I don't know, not directly related to this anyway. Seems stupid that it doesn't even ask for admin password to install the updates :/

Re: How Maintain Updated Eclipse and his Plugins ?

Posted: Mon May 27, 2013 11:19 am
by Opiam
jurchiks wrote:Run eclipse as sudo? I don't know, not directly related to this anyway. Seems stupid that it doesn't even ask for admin password to install the updates :/
:roll: no, as sudo isn't a variant...

Re: How Maintain Updated Eclipse and his Plugins ?

Posted: Mon May 27, 2013 11:51 am
by jurchiks
Why not?
sudo eclipse...

Re: How Maintain Updated Eclipse and his Plugins ?

Posted: Mon May 27, 2013 2:54 pm
by MELERIX
you just need to change permissions of "eclipse" and "workspace" folders.

Re: How Maintain Updated Eclipse and his Plugins ?

Posted: Mon May 27, 2013 3:04 pm
by Opiam
jurchiks wrote:Why not?
sudo eclipse...
because it will be updating for root, not for main user.
MELERIX wrote:you just need to change permissions of "eclipse" and "workspace" folders.
ok, I can try it later.. :idea:

Re: How Maintain Updated Eclipse and his Plugins ?

Posted: Mon May 27, 2013 5:08 pm
by Opiam
MELERIX wrote:you just need to change permissions of "eclipse" and "workspace" folders.
You mean "eclipse" folder in /home/myuser/ ?

Re: How Maintain Updated Eclipse and his Plugins ?

Posted: Mon May 27, 2013 5:41 pm
by jurchiks
Wherever your eclipse executable is. There is no default directory, you just extract it anywhere you want. And don't forget to set those permissions recursive, not just for the main directory.

Re: How Maintain Updated Eclipse and his Plugins ?

Posted: Tue May 28, 2013 7:38 pm
by Opiam

Code: Select all

drwxr-xr-x   9 root root  4096 Май 21 09:56 .drwxr-xr-x 208 root root 24576 Май 28 19:50 ..drwxr-xr-x   2 root root  4096 Май 21 08:49 about_files-rw-r--r--   1 root root 37774 Апр  4  2012 artifacts.xmldrwxr-xr-x   2 root root  4096 Май 21 08:50 buildscriptsdrwxr-xr-x  10 root root  4096 Май 21 09:56 configurationdrwxr-xr-x   4 root root  4096 Май 21 08:50 dropins-rwxr-xr-x   1 root root 18536 Апр  4  2012 eclipselrwxrwxrwx   1 root root    16 Апр  4  2012 eclipse.ini -> /etc/eclipse.ini-rw-r--r--   1 root root    59 Апр  4  2012 .eclipseproductdrwxr-xr-x  10 root root  4096 Май 21 08:49 featuresdrwxr-xr-x   6 root root  4096 Май 21 09:56 p2drwxr-xr-x   9 root root 12288 Май 21 08:49 plugins
suxx :shock:

Re: How Maintain Updated Eclipse and his Plugins ?

Posted: Wed May 29, 2013 7:33 am
by jurchiks
Welp, sudo eclipse it is.