Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338163

Summary: Incorrect javadoc on KnownRepositories.java
Product: [Eclipse Project] Platform Reporter: Curtis Windatt <curtis.windatt.public>
Component: CVSAssignee: Tomasz Zarna <tomasz.zarna>
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: P3    
Version: 3.7   
Target Milestone: 3.7 M6   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Curtis Windatt CLA 2011-02-24 17:42:23 EST
The javadoc on KnownRepositories#getRepository(String location) says the uri format is 

connection:user[:password]@host[#port]:root

However, the uri must be prefixed with an additional colon as follows to work correctly

:connection:user[:password]@host[#port]:root

We are fixing some failing PDE tests that involve CVS (bug 338133) and had problems getting the URI correct because of this.
Comment 1 Tomasz Zarna CLA 2011-02-28 07:30:45 EST
Fixed in HEAD. Available in builds >=N20110228-2000.