hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HTTPCLIENT-1115) Split ehcache and memcached support out of httpclient-cache
Date Sat, 13 Aug 2011 10:14:27 GMT

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084582#comment-13084582
] 

Oleg Kalnichevski commented on HTTPCLIENT-1115:
-----------------------------------------------

Craig,

Both ehcache and memcache dependencies are declared as optional in the pom. They should not
get pulled in by default unless explicitly included in the application pom. If Ivy dehaves
differently with regards to optional dependencies that would seem to be a problem with Ivy.

I would really hate having to create two new modules containing just one class each.

Oleg

> Split ehcache and memcached support out of httpclient-cache
> -----------------------------------------------------------
>
>                 Key: HTTPCLIENT-1115
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1115
>             Project: HttpComponents HttpClient
>          Issue Type: Improvement
>          Components: Cache
>    Affects Versions: 4.1.1
>            Reporter: Craig
>
> httpclient-cache includes ehcache and memcache implementations. This creates an awkward
situation for those of us who aren't using both (or either) of these implementations, as when
using Ivy/Maven/etc, the ehcache/memcache dependencies are still pulled in. Also, on Android,
when using proguard, it's difficult to get proguard to work if the ehcache and memcache jars
aren't available but there are classes in httpclient-cache that refer to them.
> Could you split out these implementation into new jars, perhaps httpclient-cache-ehcache
and httpclient-cache-memcache?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message