Bug 15833 - Unable to update PDE and JDT from Nevada site
Summary: Unable to update PDE and JDT from Nevada site
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Update (deprecated - use Eclipse>Equinox>p2) (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P1 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Dejan Glozic CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-12 17:43 EDT by Vlad Klicnik CLA
Modified: 2002-05-15 10:39 EDT (History)
1 user (show)

See Also:


Attachments
Failed to update JDT (60.42 KB, image/jpeg)
2002-05-13 13:08 EDT, Vlad Klicnik CLA
no flags Details
failed to update PDE (67.12 KB, image/jpeg)
2002-05-13 13:24 EDT, Vlad Klicnik CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vlad Klicnik CLA 2002-05-12 17:43:54 EDT
Running 20020510 plus exported update jars from HEAD.

Start up. go to UM .... shows picked up features.
Create bookmark for http://sonialnx.ott.oti.com/downloads/hubba/NevadaTestSite/

Try to update PDE ot JDT .... fail.
Can update other features. PDE and JDT are the only 2 with prereqs.

Note. The 20020510 test are just dummy features pointing to same plugins as 
20020510 build. The other one (200205100916) has new versions of plugins.
Comment 1 Vlad Klicnik CLA 2002-05-13 13:02:34 EDT
Retried with 20020510 + HEAD (as of 5/13 noon)

Failed Eclipse update scenario step D.2. 
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/doc
/working/Sniff%20Tests/eclipse%20update.html

Comment 2 Vlad Klicnik CLA 2002-05-13 13:03:59 EDT
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/doc
/working/Sniff%20Tests/eclipse%20update.html
Comment 3 Vlad Klicnik CLA 2002-05-13 13:04:27 EDT
Sorry .... bugzilla is splitting the URL
Comment 4 Vlad Klicnik CLA 2002-05-13 13:08:32 EDT
Created attachment 802 [details]
Failed to update JDT
Comment 5 Vlad Klicnik CLA 2002-05-13 13:12:25 EDT
The feature I am trying to update to has the following feature.xml

<?xml version="1.0" encoding="UTF-8"?>
<feature
      id="org.eclipse.pde"
      label="%featureName"
      version="1.9.0.200205100916"
      provider-name="%providerName">

   <requires>
      <import plugin="org.eclipse.ant.core"/>
      <import plugin="org.eclipse.jdt.core"/>
      <import plugin="org.eclipse.update.core"/>
      <import plugin="org.eclipse.core.resources"/>
      <import plugin="org.apache.xerces"/>
      <import plugin="org.eclipse.core.runtime"/>
      <import plugin="org.eclipse.ui"/>
      <import plugin="org.eclipse.jdt.ui"/>
      <import plugin="org.eclipse.debug.core"/>
      <import plugin="org.eclipse.jdt.launching"/>
      <import plugin="org.eclipse.ant.ui"/>
      <import plugin="org.eclipse.debug.ui"/>
      <import plugin="org.eclipse.update.ui.forms"/>
      <import plugin="org.eclipse.pde"/>
   </requires>

   <plugin id="org.eclipse.pde" version="1.9.0.v20020510"/>

   <plugin
         id="org.eclipse.pde.build"
         download-size="0"
         install-size="0"
         version="1.9.0.v20020510">
   </plugin>

   <plugin
         id="org.eclipse.pde.core"
         download-size="0"
         install-size="0"
         version="1.9.0.v20020510">
   </plugin>

   <plugin
         id="org.eclipse.pde.runtime"
         download-size="0"
         install-size="0"
         version="1.9.0.v20020508">
   </plugin>

   <plugin
         id="org.eclipse.pde.ui"
         download-size="0"
         install-size="0"
         version="1.9.0.v20020510">
   </plugin>

</feature>
Comment 6 Vlad Klicnik CLA 2002-05-13 13:19:53 EDT
The funny thing is when I click on Abort (in the error dialog) the wizard comes 
up but then fails.

!STACK org.eclipse.core.runtime.CoreException[0]: java.io.FileNotFoundException: 
http://sonialnx.ott.oti.com/downloads/hubba/NevadaTestSite/plugins/org.eclipse.j
dt.core_1.9.0.v-245.jar
	at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.jav
a:595)
	at 
sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.jav
a:838)
	at java.net.URLConnection.getHeaderFieldInt(URLConnection.java:485)
	at java.net.URLConnection.getContentLength(URLConnection.java:397)
	at 
org.eclipse.update.core.ContentReference.getInputSize(ContentReference.java:143)
	at 
org.eclipse.update.core.FeatureContentProvider.asLocalReference(FeatureContentPr
ovider.java:104)
	at 
org.eclipse.update.internal.core.FeaturePackagedContentProvider.getPluginEntryAr
chiveReferences(FeaturePackagedContentProvider.java:219)
	at org.eclipse.update.core.Feature.install(Feature.java:306)
	at org.eclipse.update.internal.core.SiteFile.install(SiteFile.java:69)
	at 
org.eclipse.update.internal.core.ConfiguredSite.install(ConfiguredSite.java:203)
	at 
org.eclipse.update.internal.ui.wizards.InstallWizard.execute(InstallWizard.java:
152)
	at 
org.eclipse.update.internal.ui.wizards.InstallWizard.access$2(InstallWizard.java
:133)
	at 
org.eclipse.update.internal.ui.wizards.InstallWizard$1.run(InstallWizard.java:61
)
	at 
org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:29
6)
	at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:249)
	at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:720)
	at 
org.eclipse.update.internal.ui.wizards.InstallWizard.performFinish(InstallWizard
.java:72)
	at 
org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:577)
	at 
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:312)
	at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:398)
	at 
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:85)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled 
Code))
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled 
Code))
	at 
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled 
Code))
	at org.eclipse.jface.window.Window.runEventLoop(Window.java(Compiled 
Code))
	at org.eclipse.jface.window.Window.open(Window.java:535)
	at 
org.eclipse.update.internal.ui.forms.DetailsForm$7.run(DetailsForm.java:694)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:56)
	at 
org.eclipse.update.internal.ui.forms.DetailsForm.executeJob(DetailsForm.java:687
)
	at 
org.eclipse.update.internal.ui.forms.DetailsForm.doButtonSelected(DetailsForm.ja
va:714)
	at 
org.eclipse.update.internal.ui.forms.DetailsForm.access$12(DetailsForm.java:702)
	at 
org.eclipse.update.internal.ui.forms.DetailsForm$4.widgetSelected(DetailsForm.ja
va:333)
	at 
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:85)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java(Compiled 
Code))
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled 
Code))
	at 
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java(Compiled Code))
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Compiled 
Code))
	at 
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java(Compiled Code))
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1045)
	at 
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:73
9)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:450)
	at java.lang.reflect.Method.invoke(Native Method)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:176)
	at org.eclipse.core.launcher.Main.run(Main.java:614)
	at org.eclipse.core.launcher.Main.main(Main.java:451)
Comment 7 Vlad Klicnik CLA 2002-05-13 13:23:10 EDT
When I try the same with PDE, I get a different failure ... see screen cap
Comment 8 Vlad Klicnik CLA 2002-05-13 13:24:32 EDT
Created attachment 803 [details]
failed to update PDE
Comment 9 Christophe Elek CLA 2002-05-13 17:03:34 EDT
The JDT install error comes from the fact ythat we buikld a
PluginVersionIdentifier with "1.9.0.v_245"
the toString() of that obejct is "1.9.0.v-245" so we fail finding the
appropriate default Jar file location
Comment 10 Christophe Elek CLA 2002-05-13 17:26:14 EDT
Verified teh JDT feature installs properly once the "_" issue is resolved in the
Feature.xml, the name of the Jar file and the plugin.xml
Comment 11 Dejan Glozic CLA 2002-05-15 10:39:42 EDT
This should work now.