[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[ecf-dev] Re: E [0001] : Unauthorized & E [0001] : java.lang.NumberFormatException
|
Hi Matthias,
This seems to be caused by code in the ECF HttpClientRetrieveFileTransfer class that assumes that a port number should
follow the ':'. Hence, it makes an attempt to parse the password as an integer. I'm CC'in the ecf-dev mailing list. I
guess Buckminster should do something with the URL before passing it to ECF and perhaps they can clarify what the
correct approach should be.
What you report but I don't see when running tests on this is the conversion into a 'mailto:' URL. I wonder if that's my
newsreader that plays a trick on me. Do you see that in your original mail too?
Regards,
Thomas Hallgren
On 01/22/2010 04:45 PM, Matthias Kappeller wrote:
Hi,
in my CQuery i would like to access a rmap from http...
<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery
xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0"
resourceMap="http://my.location/repo/trunk/tests/app1.rmap">
<cq:rootRequest name="app1.a" componentType="osgi.bundle"/>
</cq:componentQuery>
this will result in the error:
E [0001] : Unauthorized
So i've thought i will prefix a (of course valid) login user.
<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery
xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0"
resourceMap="http://test:test@my.location/repo/trunk/tests/app1.rmap">
<cq:rootRequest name="app1.a" componentType="osgi.bundle"/>
</cq:componentQuery>
but then i've received the error:
E [0001] : java.lang.NumberFormatException: For input string:
"mailto:test@my.location": For input string: "mailto:test@my.location"
How can i access a rmap from a secure http adress?
Thank U a lot for a possible solution :)
Regards
Matthias