Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338163 - Incorrect javadoc on KnownRepositories.java
Summary: Incorrect javadoc on KnownRepositories.java
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.7   Edit
Hardware: PC Linux
: P3 trivial (vote)
Target Milestone: 3.7 M6   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-24 17:42 EST by Curtis Windatt CLA
Modified: 2011-02-28 07:30 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.