• Bug
  • Status: Closed
  • Resolution: Fixed
  • drb
  • Reporter: sourceforgetracker
  • September 21, 2009
  • 0
  • Watchers: 0
  • September 22, 2009
  • September 22, 2009

Description

If you are in an IDE, especially where the “running directory” is not the same as the “project directory”, the build fails with:

Testcase: testCreateCacheManagerFromFile took 0 sec Caused an ERROR Cannot configure CacheManager: [IDE dir]\src\config\ehcache.xml (The system cannot find the path specified) net.sf.ehcache.CacheException: Cannot configure CacheManager: [IDE dir]\src\config\ehcache.xml (The system cannot find the path specified) at net.sf.ehcache.CacheManager.configure(CacheManager.java:170) at net.sf.ehcache.CacheManager.(CacheManager.java:118) at net.sf.ehcache.CacheManager.create(CacheManager.java:225) at net.sf.ehcache.CacheManagerTest.testCreateCacheManagerFromFile(CacheManagerTest.java:91) [...]

Solution: set the junit task’s dir attribute:

dir=”${basedir}” Sourceforge Ticket ID: 1003659 - Opened By: zacjacobson - 4 Aug 2004 23:52 UTC

Comments

Sourceforge Tracker 2009-09-21

Logged In: YES user_id=693320

Added to CVS. This will be released with ehcache 1.0, in August or September. Thanks for your report. Comment by: gregluck - 8 Aug 2004 11:31 UTC

Fiona OShea 2009-09-22

Re-opening so that I can properly close out these issues and have correct Resolution status in Jira