You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Maarten Coene (JIRA)" <ji...@apache.org> on 2008/08/26 00:13:44 UTC

[jira] Commented: (IVY-880) Ivy is no longer compatible with httpclient 2.x

    [ https://issues.apache.org/jira/browse/IVY-880?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625532#action_12625532 ] 

Maarten Coene commented on IVY-880:
-----------------------------------

For the moment, I've updated URLHandlerRegistry so that it will only return HttpClientHandler when httpclient-3.x is on the classpath...
This way we avoid problems like NoSuchMethodErrors when users have httpclient-2.x on their classpath.

> Ivy is no longer compatible with httpclient 2.x
> -----------------------------------------------
>
>                 Key: IVY-880
>                 URL: https://issues.apache.org/jira/browse/IVY-880
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Maarten Coene
>
> I have several compilation errors when trying to compile org.apache.ivy.util.url.HttpClientHandler with httpclient-2.0.
> I see 2 options:
> - update the code to be compatible with both 2.x and 3.x (maybe create a HttpClient2Handler and HttpClient3Handler class and compile both of them with the appropriate httpclient.jar to avoid this same problem in the future again)
> - don't try to be compatible with httpclient 2.x any longer

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.