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

Description

It’s been documented (see below) how the java.io.tmpdir is inconsistent with regards to the trailing separator depending upon the platform.

On Windows, you get something like C:\temp. On Mac OSx and other Linux platforms, you get something like /tmp.

On one platform, there is a trailing separator. On the other, no.

When we attempt to define an ehcache.xml that works on both Linux and Windows, and we’re unable to. That’s because the trailing slash isn’t looked for.

On Windows, the definition would need to look like this:

On Linux, the definition would need to look like this:

Unfortunately, adding the ‘/’ on Windows fails.

Thanks for your consideration on this bug,

***References*** http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4391434

http://www.rationalpi.com/blog/replyToComment.action?entry=1146628709626&comment=1155660875090

Marc Batchelor Senior Architect and Engineer Pentaho - Open Source Business Intelligence Tel. +1 407-812-OPEN | http://www.pentaho.org

Sourceforge Ticket ID: 1557579 - Opened By: mbatchelor - 13 Sep 2006 02:13 UTC

Comments

Sourceforge Tracker 2009-09-21

Logged In: YES user_id=693320

Marc

Fixed.

See DiskStoreTest#testWindowsAndSolarisTempDirProblem and DiskStoreConfiguration.

This is in trunk and will be in ehcache-1.2.4.

Greg Comment by: gregluck - 21 Oct 2006 13:34 UTC

Fiona OShea 2009-09-22

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