Hi Juan Pablo,

The upgrade to EHCache seems pretty painless. The current trunk is on
version
2.6.6,from May 2013. So it's not terribly old but my understanding is a)
the API
has changed a bit, and b) EHCache is no longer distributed as an
ehcache-core
module in contemporary versions.

This may not be a high priority so feel free to ignore this message...

I've updated my local version (JSPWiki 2.10.2-SNAPSHOT) to the latest
version
2.8.3 by modifying the two POMs as shown below. All tests pass and I've
seen
no difference in my own tests.

In ./pom.xml:

      <dependency>
        <groupId>net.sf.ehcache</groupId>
        <artifactId>ehcache</artifactId>
        <version>2.8.3</version>
      </dependency>

In ./jspwiki-war/pom.xml:

    <dependency>
      <groupId>net.sf.ehcache</groupId>
      <artifactId>ehcache</artifactId>
    </dependency>

We ran across this when upgrading EHCache for a different application and
found some API differences that required an upgrade, so I thought to see
about
JSPWiki at the same time.

Note that any use of

    CacheManager.getInstance().removeAll();

has been deprecated, replaced with:

    CacheManager.getInstance().removeAllCaches();

All told, about 10 minutes work (not counting this email)...

Cheers,

Ichiro

Reply via email to