r661 - branches/jrst-docutils-jython/jrst/src/main/java/org/nuiton/jrst
Author: jpages Date: 2012-05-15 18:01:42 +0200 (Tue, 15 May 2012) New Revision: 661 Url: http://nuiton.org/repositories/revision/jrst/661 Log: Correction de l'?\195?\169chappement des chemins pour windows. Modified: branches/jrst-docutils-jython/jrst/src/main/java/org/nuiton/jrst/JRST.java Modified: branches/jrst-docutils-jython/jrst/src/main/java/org/nuiton/jrst/JRST.java =================================================================== --- branches/jrst-docutils-jython/jrst/src/main/java/org/nuiton/jrst/JRST.java 2012-05-15 14:21:13 UTC (rev 660) +++ branches/jrst-docutils-jython/jrst/src/main/java/org/nuiton/jrst/JRST.java 2012-05-15 16:01:42 UTC (rev 661) @@ -457,7 +457,7 @@ // If the OS is windows, escapes the backslashs in the filepath String filePath = in.getAbsolutePath(); - String property = System.getProperty("os.name"); + String property = System.getProperty("os.name").toLowerCase(); if (property.contains("win")) { filePath = filePath.replaceAll("\\\\", "\\\\\\\\"); }
participants (1)
-
jpages@users.nuiton.org