How Maintain Updated Eclipse and his Plugins ?

Have you created a useful tool? or Do you want to get help building one? This is the right place!
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

How Maintain Updated Eclipse and his Plugins ?

Post 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.
User avatar
Zoey76
L2j Inner Circle
L2j Inner Circle
Posts: 7005
Joined: Tue Aug 11, 2009 3:36 am

Re: How Maintain Updated Eclipse and his Plugins ?

Post 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.
Powered by Eclipse 4.30 🌌 | Eclipse Temurin 21 ☕ | MariaDB 11.2.2 🗃️ | L2J Server 2.6.3.0 - High Five 🚀

🔗 Join our Discord! 🎮💬
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: How Maintain Updated Eclipse and his Plugins ?

Post 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.
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: How Maintain Updated Eclipse and his Plugins ?

Post 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.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
Opiam
Posts: 181
Joined: Thu Jun 02, 2011 12:26 am
Location: Europe, Ukraine

Re: How Maintain Updated Eclipse and his Plugins ?

Post by Opiam »

What do you say about when Eclipse can't update: insufficient access privileges to apply this update (Ubuntu)

Image
Image
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: How Maintain Updated Eclipse and his Plugins ?

Post 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 :/
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
Opiam
Posts: 181
Joined: Thu Jun 02, 2011 12:26 am
Location: Europe, Ukraine

Re: How Maintain Updated Eclipse and his Plugins ?

Post 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...
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: How Maintain Updated Eclipse and his Plugins ?

Post by jurchiks »

Why not?
sudo eclipse...
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
MELERIX
L2j Veteran
L2j Veteran
Posts: 6667
Joined: Sat Sep 23, 2006 11:31 pm
Location: Chile
Contact:

Re: How Maintain Updated Eclipse and his Plugins ?

Post by MELERIX »

you just need to change permissions of "eclipse" and "workspace" folders.
User avatar
Opiam
Posts: 181
Joined: Thu Jun 02, 2011 12:26 am
Location: Europe, Ukraine

Re: How Maintain Updated Eclipse and his Plugins ?

Post 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:
User avatar
Opiam
Posts: 181
Joined: Thu Jun 02, 2011 12:26 am
Location: Europe, Ukraine

Re: How Maintain Updated Eclipse and his Plugins ?

Post by Opiam »

MELERIX wrote:you just need to change permissions of "eclipse" and "workspace" folders.
You mean "eclipse" folder in /home/myuser/ ?
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: How Maintain Updated Eclipse and his Plugins ?

Post 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.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
User avatar
Opiam
Posts: 181
Joined: Thu Jun 02, 2011 12:26 am
Location: Europe, Ukraine

Re: How Maintain Updated Eclipse and his Plugins ?

Post 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:
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: How Maintain Updated Eclipse and his Plugins ?

Post by jurchiks »

Welp, sudo eclipse it is.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Post Reply