Bug 63618 - Eclipse update site should be availble out of the box in the SDK
Summary: Eclipse update site should be availble out of the box in the SDK
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 3.0   Edit
Assignee: Platform-Update-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: polish
Depends on:
Blocks:
 
Reported: 2004-05-23 19:00 EDT by Erich Gamma CLA
Modified: 2005-01-28 15:17 EST (History)
9 users (show)

See Also:


Attachments
patch to o.e.jdt-feature/feature.xml (674 bytes, patch)
2004-05-25 16:43 EDT, Jim des Rivieres CLA
no flags Details | Diff
patch to o.e.pde-feature/feature.xml (636 bytes, patch)
2004-05-25 16:44 EDT, Jim des Rivieres CLA
no flags Details | Diff
patch to o.e.platform-feature/feature.xml (638 bytes, patch)
2004-05-25 16:45 EDT, Jim des Rivieres CLA
no flags Details | Diff
patch to o.e.sdk-feature/feature.xml (717 bytes, patch)
2004-05-25 16:46 EDT, Jim des Rivieres CLA
no flags Details | Diff
patch to o.e.platform.source-feature/feature.xml (738 bytes, patch)
2004-05-25 16:58 EDT, Jim des Rivieres CLA
no flags Details | Diff
patch to o.e.jdt.source-feature/feature.xml (725 bytes, patch)
2004-05-25 16:58 EDT, Jim des Rivieres CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Gamma CLA 2004-05-23 19:00:31 EDT
The eclipse update site http://download.eclipse.org/updates should be 
available out of the box when I search for new features to install.

This will open the door to make other add-on components easily available from 
there for new users.
Comment 1 Dorian Birsan CLA 2004-05-25 12:37:47 EDT
The url provided by Erich (http://download.eclipse.org/updates) is redirected 
to http://update.eclipse.org/updates, which is already used as the update url.

Jim, I don't have access to the feature projects, but what is needed, is for 
every eclipse feature (particularly for sdk,platform,jdt,pde) to add the 
discovery url, next to the update url:

   <url>
      <update url="http://update.eclipse.org/updates" 
              label="%updateSiteName" />
      <discovery url="http://update.eclipse.org/updates" 
                 label="%updateSiteName" />
   </url>

Now, that update site (http://download.eclipse.org/updates) contains all the 
drivers since 2.0) so it is not very useful for 3.0. 
The recommended way is for each major release to have its own update site, 
especially as the update manager cannot update from 2.x to 3.x.
So, if not much trouble, we could change the above url's to be
http://update.eclipse.org/update/3.0/ instead. That would make the look up 
faster, and will show less clutter in the results page in the install wizard.

Thoughts ?
Comment 2 Dejan Glozic CLA 2004-05-25 12:49:17 EDT
+1 from me
Comment 3 Jim des Rivieres CLA 2004-05-25 16:43:55 EDT
Created attachment 11093 [details]
patch to o.e.jdt-feature/feature.xml

Dani, please apply
Comment 4 Jim des Rivieres CLA 2004-05-25 16:44:40 EDT
Created attachment 11094 [details]
patch to o.e.pde-feature/feature.xml

Wassim, please apply.
Comment 5 Jim des Rivieres CLA 2004-05-25 16:45:40 EDT
Created attachment 11095 [details]
patch to o.e.platform-feature/feature.xml

Sonia, please apply.
Comment 6 Jim des Rivieres CLA 2004-05-25 16:46:32 EDT
Created attachment 11096 [details]
patch to o.e.sdk-feature/feature.xml

Sonia, please apply this one too.
Comment 7 Wassim Melhem CLA 2004-05-25 16:54:53 EDT
Patch to the PDE feature has been released to HEAD.
Comment 8 Jim des Rivieres CLA 2004-05-25 16:58:04 EDT
Created attachment 11097 [details]
patch to o.e.platform.source-feature/feature.xml

Sonia, one more.
Comment 9 Jim des Rivieres CLA 2004-05-25 16:58:58 EDT
Created attachment 11098 [details]
patch to o.e.jdt.source-feature/feature.xml

Dani, This is the last one.
Comment 10 Sonia Dimitrov CLA 2004-05-25 17:20:59 EDT
The o.e.platform.source and o.e.jdt.source features and plugins are generated 
at build time for the 3.0 stream.  Adding Pascal to cc: for comment to 
determine if PDE Build needs any changes.
Comment 11 Dani Megert CLA 2004-05-26 06:00:47 EDT
Re comment 3: patch applied (>= I200405260800)
Re comment 9: not done since this project is no longer in use (auto-generated)
Comment 12 Pascal Rapicault CLA 2004-05-26 09:54:08 EDT
The generated source feature are missing the discovery entry. I entered bug 
#64109 to capture this problem.
Comment 13 Pascal Rapicault CLA 2004-05-26 10:49:17 EDT
The bug #64109 has just been fixed.
The next I build will contain the change in PDE Build.
To get the proper value in the generated feature Sonia will have to update to 
the coming version of pde build.
Comment 14 Dorian Birsan CLA 2004-05-28 13:01:34 EDT
This bug is targeted for RC1, so I wonder what else is needed.
Sonia, have you had a chance to update to the PDE Build that has Pascal's fix?

Currently, the site does not contain anything. Should we put any 
features/patches there? Perhaps the Core Tools, or JDT's Cheetah patch, etc. ?
Comment 15 Sonia Dimitrov CLA 2004-05-28 13:21:40 EDT
Not just yet.  I believe this will have to be deferred to RC2 once we have had 
a chance to fully test the new pde build.  We intend to move to it after RC1 
is declared.
Comment 16 Sonia Dimitrov CLA 2004-05-29 15:56:18 EDT
Pascal's fix has been successfully tested in I200405290105.  Have moved to 
this for builds > 20040529.
Comment 17 ilias CLA 2004-05-29 18:11:42 EDT
[I am a new user to eclipse. I've planned to start my first java project on
2004-06-01.]

Possibly this "new user perspective" can help you a little:

As a user, I would expect the following behaviour:

Update sites should be entered as "www.eclipse.org" or "eclipse.org" (not
"update.eclipse.org/update", where "update" ocours twice, which is btw.
redundant). [eclipse can still internally switch to "update.eclipse.org/update"
or "update.eclipse.org/update3.0" etc.! but a user can only enter "eclipse.org"]

All main eclipse features, which are described on eclipse.org should be
reachable from the "Search for new features to install" Perspective (GEF, SWT,
EMF, CDP, ...), thus a user can quickly select an download the basic
installation he wants.

-

Please review this 2 messages / threads on the newsgroup.

Remember, this is what i got after download and install - an immediate
disappointment about the automatisms provided by eclipse. The "serverity" of
such intro/update-related bugs should be "major" [personally, I would define
them as "blocker", cause they can 'block' people to use eclipse!]

news://news.eclipse.org/c967do$crt$1@eclipse.org

news://news.eclipse.org/c9601g$543$1@eclipse.org

-

Hope you can gain some value out of my writings.
Comment 18 Erich Gamma CLA 2004-06-01 13:06:26 EDT
Regarding comment# 14
>Currently, the site does not contain anything. Should we put any 
>features/patches there? Perhaps the Core Tools, or JDT's Cheetah patch, etc. ?
yes Cheetah should show up there - I've CCed Philippe. This at least gives us 
a start.
Comment 19 William E. Taylor CLA 2004-06-07 12:50:03 EDT
Hello All,

Sorry but I am new to Eclipse. Did I miss something that updates for 3.0 are
unavaible using the Eclipse IDE or something to that affect? Can't seem to
use the check for updates IDE option:

    Menu /Help/Software Updates/Find and Install

I have a log export for this particular error.

A person in the news.eclipse.org/ecipse.platform sugested that I add this inof 
to this bug possibly because I am using java.version=1.5.0-beta. Also because of 
the eclipse.buildId=I200405260010. He is suggestion that, [You may ask for 
increasing priority of this bug] 

Thanks..
Bill


!SESSION Jun 05, 2004
13:49:57.749 ---------------------------------------------
eclipse.buildId=I200405260010
java.version=1.5.0-beta
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
!ENTRY org.eclipse.update.core 4 42 Jun 05, 2004 13:49:57.749
!MESSAGE Unable to access "http://update.eclipse.org/updates/3.0".
!SUBENTRY 1 org.eclipse.update.core 4 42 Jun 05, 2004 13:49:57.749
!MESSAGE Unable to access Site stream:
"http://update.eclipse.org/updates/3.0"
[http://update.eclipse.org/updates/3.0]
!STACK 0
java.io.FileNotFoundException: http://update.eclipse.org/updates/3.0
 at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
Source)
 at
org.eclipse.update.internal.core.ConnectionThreadManager$StreamRunnable.run(
ConnectionThreadManager.java:75)
 at java.lang.Thread.run(Unknown Source)
Comment 20 Dorian Birsan CLA 2004-06-07 14:59:40 EDT
Sonia, for the short term, could you please create an empty site (provide the 
site.xml without any features) so that update does not complain the site 
cannot be found?  Thanks.
Comment 21 Sonia Dimitrov CLA 2004-06-07 15:38:10 EDT
I have created the empty site.
Comment 22 Dorian Birsan CLA 2004-07-19 11:09:06 EDT
Marking bug as fixed in 3.0.
Comment 23 jim CLA 2005-01-28 14:58:03 EST
I am new to eclipse and I am getting the same error as the other person....:

Sorry but I am new to Eclipse. Did I miss something that updates for 3.0 are
unavaible using the Eclipse IDE or something to that affect? Can't seem to
use the check for updates IDE option:

    Menu /Help/Software Updates/Find and Install

I have a log export for this particular error.

the error text is:

Unable to access "http://update.eclipse.org/updates/3.0"
How can I fix this....
Comment 24 Dorian Birsan CLA 2005-01-28 15:17:48 EST
Jim, what eclipse version do you have installed now?
If you see any problems, please open a new bug report on Platform Update, this 
one is for a different problenm. Thanks.