You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Craig (JIRA)" <ji...@apache.org> on 2011/08/12 19:42:27 UTC

[jira] [Created] (HTTPCLIENT-1115) Split ehcache and memcached support out of httpclient-cache

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


[jira] [Resolved] (HTTPCLIENT-1115) Split ehcache and memcached support out of httpclient-cache

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oleg Kalnichevski resolved HTTPCLIENT-1115.
-------------------------------------------

    Resolution: Won't Fix

> 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


[jira] [Commented] (HTTPCLIENT-1115) Split ehcache and memcached support out of httpclient-cache

Posted by "Oleg Kalnichevski (JIRA)" <ji...@apache.org>.
    [ 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