Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317957 - Find and Install doesn't work
Summary: Find and Install doesn't work
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 4.0   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-Update-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-25 08:25 EDT by David E. Narvaez CLA
Modified: 2010-06-25 13:23 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David E. Narvaez CLA 2010-06-25 08:25:36 EDT
Build Identifier: I20100608-0911

I try to use the Find and Install feature on a fresh Helios installation (Eclipse Classic) and it doesn't work, here are the details:

Network connection problems encountered during search.
  Unable to access "http://download.eclipse.org/releases/helios".
    Error accessing site stream. [Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd]
    Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
    Error accessing site stream. [Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd]
    Server returned HTTP response code: 503 for URL: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd
  Unable to access "http://download.eclipse.org/eclipse/updates/3.6".
    Error parsing site stream. [The XML stream is not a valid default "site.xml" file. The root tag is not site.]
    The XML stream is not a valid default "site.xml" file. The root tag is not site.
    Error parsing site stream. [The XML stream is not a valid default "site.xml" file. The root tag is not site.]
    The XML stream is not a valid default "site.xml" file. The root tag is not site.


Reproducible: Always

Steps to Reproduce:
1. Help -> Software Updates -> Find and Install...
2. Select "Search for new features to install"
3. Mark "Helios Discovery Site" and "The Eclipse Project Updates" 
4. Click Finish
Comment 1 John Arthorne CLA 2010-06-25 12:54:54 EDT
(In reply to comment #0)
> Steps to Reproduce:
> 1. Help -> Software Updates -> Find and Install...
> 2. Select "Search for new features to install"
> 3. Mark "Helios Discovery Site" and "The Eclipse Project Updates" 
> 4. Click Finish

The Helios discovery site and 3.6 repository are in a modern format that is not understood by legacy update manager. If you contact a classic update site such as the following it will work:

http://download.eclipse.org/eclipse/updates/3.4/
http://download.eclipse.org/releases/ganymede/
Comment 2 David E. Narvaez CLA 2010-06-25 13:14:49 EDT
(In reply to comment #1)
> The Helios discovery site and 3.6 repository are in a modern format that is not
> understood by legacy update manager. If you contact a classic update site such
> as the following it will work:
> 
> http://download.eclipse.org/eclipse/updates/3.4/
> http://download.eclipse.org/releases/ganymede/

Yes, I read that on similar bugs for Helios M6, etc, but the question is why is the option still there, i.e., why having two menus, namely Help -> Software Updates -> Find and Install... and Help -> Check for Updates, that won't work out of the box.

David E. Narvaez
Comment 3 DJ Houghton CLA 2010-06-25 13:23:45 EDT
The option/menu items should be disabled by default (see Preferences  > General > Capabilities > Classic Update).

This functionality is intended to be removed in the next release of Eclipse but there are rules about removing so we have to wait a sufficient amount of time/releases after announcing the intention.

There are also companies who have products built on top of Eclipse who still use the old mechanism and produce old-style update sites because their build processes have not yet been migrated to the new style.