Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#24918 - [eclipse] missing URL causing weird plugin install issues

Attached to Project: Arch Linux
Opened by Philipp (hollunder) - Tuesday, 28 June 2011, 00:34 GMT
Last edited by Ionut Biru (wonder) - Monday, 27 February 2012, 17:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Paul Mattal (paul)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
When attempting to install the subclipse plugin it couldn't find all dependencies, which didn't look too weird, but when I came to the license screen I couldn't go any further because the "Finish" button was greyed out. Well, a web search lead me to this thread: http://ubuntuforums.org/showthread.php?t=1309922

The URL for our version is: http://download.eclipse.org/releases/indigo/

Yes, seriously, after adding this URL all dependencies could be found and I could accept that license. Horrible user interface design if you ask me, but that's eclipse..

Additional info: I found out only now that Arch provides a package for subclipse for some reason. My method was the usual for eclipse plugins, not via repo. I suspect this problem applies to other plugins as well, which might not be packaged.

Additional info:
* package version(s)
eclipse 3.7 indigo
This task depends upon

Closed by  Ionut Biru (wonder)
Monday, 27 February 2012, 17:57 GMT
Reason for closing:  Works for me
Additional comments about closing:  please open a new bug if is still available in 3.7.2
Comment by WhoTouchaMySpageth! (tuxfusion) - Tuesday, 28 June 2011, 18:21 GMT
imho, Arch should provide that URL for each release, without it the user is unable to install missing dependencies at all, for instance the Android ADT plugin needs dependencies that are not installed and uninstallable without that URL. So i have to manually add this release URL everytime arch release a new major version of eclipse. Annoying.
Comment by Klaas Boesche (kagebe) - Wednesday, 06 July 2011, 08:51 GMT
I had the same problem. ArchLinux should include the update sites also included in the default downloads from the eclipse website imho. For this release those are:

Indigo - http://download.eclipse.org/releases/indigo
The Eclipse Project Updates - http://download.eclipse.org/eclipse/updates/3.7

The eclipse site is a mess sadly and you find that info, especially the first site, only if you download and run an eclipse package and look at the update sites.
Comment by Paul Mattal (paul) - Wednesday, 06 July 2011, 11:32 GMT
Agreed this is annoying, and we would like to do it, but has anyone figured out how it can be added to a build process?
Comment by Klaas Boesche (kagebe) - Thursday, 21 July 2011, 00:04 GMT
Okay, I had a look at how Ubuntu handles this and found their bug for it, as well as their solution: Injecting those update sites if the user config does not exist when starting eclipse.

https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/460944/comments/28 - comment describing fix
http://anonscm.debian.org/gitweb/?p=pkg-java/eclipse.git;a=blob;f=debian/extra/eclipse;h=a5bcc8a6f007e59b5e59da00b4b0b11a614f0736;hb=HEAD - eclipse wrapper containing the fix

Maybe I'm missing something, but this would not work when upgrading i.e. 3.7 to 3.8 as new update sites would need to be injected. This of course is no issue for Ubuntu as you're forced to stick with whatever version they shipped with and they are still on 3.5 even for 11.10. (How any developer can use Ubuntu without going crazy is beyond my feeble mind by the way. ;) )

I'm wondering how the default eclipse package from the eclipse site does it. Do they comb through your config when starting and insert that in a hardcoded manner? What exactly does "eclipse -clean -initialize" do with the config and why doesn't it put the update sites in there (bug upstream?)?
I tried to find some of what eclipse does in their code, but their scm is even more of a mess than the site... I'll investigate again later.

Loading...