[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[p2-dev] Authority component in a p2 repository URI

I'm trying to access a p2 repository using the following syntax:

http://irbull:password@localhost/repository 

And it's failing a parse exception:

java.lang.NumberFormatException: For input string: "password@localhost"

From the stack, it appears that ECF is trying to use 'irbull' as the host and password@localhost as the port. In HttpClientFileSystemBrowse, the URI is converted to a String, and the string is parsed into components (host, port, etc..). Does anybody know if this is supported? If not, is there a URI syntax that we use for specifying usernames and passwords in p2?

Cheers,
Ian


--
R. Ian Bull | EclipseSource Victoria | +1 250 477 7484
http://eclipsesource.com | http://twitter.com/eclipsesource