Bug 3035 - duplicate dir structure created while creating .metadata (1GE8WDW)
Summary: duplicate dir structure created while creating .metadata (1GE8WDW)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 2.0   Edit
Hardware: All Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Rodrigo Peretti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 3094 5685 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-10 22:48 EDT by Jeff McAffer CLA
Modified: 2001-11-08 17:05 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff McAffer CLA 2001-10-10 22:48:14 EDT
Unzipped driver as root, tried to start eclipse as regular user.
After encountering many directory/file permission problems, i finally got to 
the point where it created 
a .metadata area in bin/.   I noticed that there was also a "mirror" structure 
of directories created 
relative to bin/ - specifically, there was a structure
/home/user1/driver111/eclipse/bin/home/user1/driver111/eclipse/bin/.metadata

The Update Manager had a problem like this before.  i'm describing it here in 
hopes that it might help
solve this quickly:
Some code had substituted the "/" of a URL to File.separatorChar but knocked 
off the first char of
the resulting string using substring(1)?     This might be useful on windows 
but is wrong for linux.

NOTES:

RTP (5/24/01 3:51:55 PM)
	I did not have any problems running it here in a RH 6.2. Neither have 
to run it as root.
	About the environtment:
		Are you running locally or on a network? If on a network, what 
file system does the
server use?
	About the permission problems:
		How are you extracting the drop? What program are you using? 
BTW, was it only because
you extracted the drop as root?
	About the "minor" structure of directories:
		How are you running eclipse? Are you passing in any arguments 
like -platform?

JM (5/24/2001 7:49:01 PM)
	Moving to RTP for investigation.


JM (05/06/2001 3:40:42 PM)
	Likely either a really easy path manipulation bug or a really hard 
problem.  
	Fix if easy, don't if hard.

JM (05/06/2001 6:55:39 PM)
	Defer

KJD (7/30/2001 11:13:43 AM)
	For more info see:
		1GHJBG2: IVERE:Linux - Extra directory created under ide-beta
Comment 1 Rodrigo Peretti CLA 2001-10-15 10:38:11 EDT
*** Bug 3094 has been marked as a duplicate of this bug. ***
Comment 2 Rodrigo Peretti CLA 2001-10-15 10:49:28 EDT
The bug is located in PlatformURLConnection.verifyLocation() method.
Comment 3 Rodrigo Peretti CLA 2001-10-15 16:16:53 EDT
Fixed. Release on HEAD.
Comment 4 DJ Houghton CLA 2001-10-24 06:41:47 EDT
PRODUCT VERSION:
Driver 111, Linux RedHat 6.2	

Comment 5 Rodrigo Peretti CLA 2001-10-25 11:14:51 EDT
Closed in v205.
Comment 6 John Arthorne CLA 2001-11-08 17:05:04 EST
*** Bug 5685 has been marked as a duplicate of this bug. ***