On Jul 2, 2008, at 12:33 PM, Xavier Hanin wrote:
Actually there isn't much documentation on this class, since until
recently Ivy wasn't meant to be used as an API. But I'm surprised it
doesn't work, that's what Ivy use internally and it works AFAIK. I
guess you can activate Ivy debug logs, you should see logs about
"installing org.apache.ivy.util.url.IvyAuthenticator" and when
accessing the repo "authentication: k='...' c='...'" which can help
setting the right values for realm and host.
i execute gradle in depDebug mode: "gradle -j compile"
and i get the following debug message:
authentication: k='[EMAIL PROTECTED]' c='null'
CLIENT ERROR: Unauthorized url=http://MY_REPO/PATH_TO_MY_JAR
what means 'c'? credential? but i have set the password you described:
org
.apache
.ivy
.util.url.CredentialsStore.INSTANCE.addCredentials("MY_REALM_NAME", "http://HOST
_NAME", "USER", "PASSWORD");
marko
Xavier
Thanks for help
marko
HTH,
Xavier
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
--
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://ant.apache.org/ivy/
http://www.xoocode.org/
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email