We moved our repositories to BitBucket!

If you can't login or you can't register to the forums do not rise an issue, instead please write to support (at) l2jserver.com

Check our wiki!

Report server issues here

Forum has been updated to phpBB 3.2, let's see if this fixes some minor bugs we had.

Thank you for visiting http://www.l2jserver.com/

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 » Wed Jul 04, 2012 12:56 pm

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: 6861
Joined: Tue Aug 11, 2009 3:36 am

Re: How Maintain Updated Eclipse and his Plugins ?

Post by Zoey76 » Wed Jul 04, 2012 5:49 pm

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.
Using Eclipse Photon 4.8 - OpenJDK11 - MySQL 8.0.12 - L2J Server :+1:
Live support

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 » Wed Jul 04, 2012 6:47 pm

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: 6760
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: How Maintain Updated Eclipse and his Plugins ?

Post by jurchiks » Wed Jul 04, 2012 7:12 pm

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 » Mon May 27, 2013 5:16 am

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

Image
Image

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

Re: How Maintain Updated Eclipse and his Plugins ?

Post by jurchiks » Mon May 27, 2013 8:01 am

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 » Mon May 27, 2013 11:19 am

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: 6760
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: How Maintain Updated Eclipse and his Plugins ?

Post by jurchiks » Mon May 27, 2013 11:51 am

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 » Mon May 27, 2013 2:54 pm

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 » Mon May 27, 2013 3:04 pm

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 » Mon May 27, 2013 5:08 pm

MELERIX wrote:you just need to change permissions of "eclipse" and "workspace" folders.
You mean "eclipse" folder in /home/myuser/ ?

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

Re: How Maintain Updated Eclipse and his Plugins ?

Post by jurchiks » Mon May 27, 2013 5:41 pm

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 » Tue May 28, 2013 7:38 pm

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: 6760
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: How Maintain Updated Eclipse and his Plugins ?

Post by jurchiks » Wed May 29, 2013 7:33 am

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