Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 57952 - [1.5] Corruption of Install After 1.5 Update
Summary: [1.5] Corruption of Install After 1.5 Update
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
: P3 normal with 1 vote (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Dorian Birsan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-08 14:31 EDT by R.J. Lorimer CLA
Modified: 2004-04-10 21:31 EDT (History)
0 users

See Also:


Attachments
Log Failure of Fresh Install errors. (26.03 KB, text/plain)
2004-04-08 14:32 EDT, R.J. Lorimer CLA
no flags Details
configuration directory (zipped) (143.62 KB, application/zip)
2004-04-09 18:35 EDT, R.J. Lorimer CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description R.J. Lorimer CLA 2004-04-08 14:31:15 EDT
I installed 20040407 and all was well. Afterwards I followed the 'Update Site'
instructions for upgrading Eclipse with Cheetah.

Afterwards I was given many errors and my install no longer works. I will attach
my .log file shortly.
Comment 1 R.J. Lorimer CLA 2004-04-08 14:32:05 EDT
Created attachment 9338 [details]
Log Failure of Fresh Install errors.
Comment 2 Philipe Mulet CLA 2004-04-08 17:07:22 EDT
I suspect it rather has to do with the install component.
Comment 3 Dorian Birsan CLA 2004-04-09 15:34:05 EDT
Is it possible to zip the eclipse\configuration directory and attach it here?
Is the log attached the entire log or just a portion of it?
If not the entire log, do you see a message "Could not rename temp file" ?

I was able to reproduce the problem once, but I cannot consistently reproduce 
it. When it failed, it was caused by having saved the new config data into 
platform.xml.tmp and then, when renaming it to platform.xml, the operation 
failed, apparently caused by some lock being help on that file (just guessing)
Comment 4 R.J. Lorimer CLA 2004-04-09 18:35:31 EDT
Created attachment 9367 [details]
configuration directory (zipped)

Yes, it was the full log file from a fresh install. I've attached my config
directory (zipped).

I should be able to reproduce this if need be (I can't NOT reproduce it after
all ;)).
Comment 5 Dorian Birsan CLA 2004-04-09 19:23:29 EDT
Thanks.
It looks like there is some regression in the update code, as the url's in the 
configuration appear as full paths (file:/blah.... instead of just 
features/org.eclipse.jdt/).
I will try to fix this over the weekend.
Comment 6 Dorian Birsan CLA 2004-04-09 23:09:45 EDT
It looks like this is somehow related to url comparisons, see bug 51165.
I will add some workaround code to deal with various file: url formats.
Comment 7 Dorian Birsan CLA 2004-04-10 21:31:43 EDT
Fixed.