The underlying problems here appear to be....

 * The repository list in the /usr/bin/eclipse startup script is still that for 
Helios, but the release for Oneiric has been updated to Indigo
 * The repo injection functions in the script are broken

If there's no .eclipse folder the startup script executes this command
which creates it and pre-fills it

 /usr/lib/eclipse/eclipse -clean -initialize

It then hunts for the settings files governing p2 repositories so it can
inject some extra entries.

The find commands in the script now locate 2 paths rather than one, then
tests the string of two paths to see if it's a file ; it isn't, it's a
list of two paths. Thus it fails to inject entries into the config.

e.g. for metadata, one set of settings in

~/.eclipse/org.eclipse.platform_3.7.0_155965261/p2/org.eclipse.equinox.p2.engine/.settings/org.eclipse.equinox.p2.metadata.repository.prefs

And one here

~/.eclipse/org.eclipse.platform_3.7.0_155965261/p2/org.eclipse.equinox.p2.engine/profileRegistry/PlatformProfile.profile/.data/.settings/org.eclipse.equinox.p2.metadata.repository.prefs

The latter file appears to be the correct one for the metadata ; this is
where eclipse stores any update sites you add for yourself.

The default files in the PlatformProfile.profile folder as created by
this command appear to contain the Helios update sites as well  ; and
also references to the Galileo repositories (3.5). I'd be surprised if
that were correct - these files look like they could do with a good
cleanout. Since the way they are generated is hidden in the eclipse
implementation, I'm not sure what contributes to their content.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/873187

Title:
  Eclipse does not include the relevant software plugin repository

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/873187/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to