[QFJ-436] \\ characters are skipped from the directory name on Windows Created: 12/May/09 Updated: 15/Nov/12 Resolved: 05/Apr/10 |
|
Status: | Closed |
Project: | QuickFIX/J |
Component/s: | Engine |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Default |
Reporter: | Charles Moulliard | Assignee: | Unassigned |
Resolution: | Not a bug | Votes: | 0 |
Labels: | None |
Description |
Hi, The appendReplacement methof of Matcher removes the backslash required under Windows to create the directory tree private Pattern variablePattern = Pattern.compile("\\$ "); private String interpolate(String value) { //"value"= "$ {servicemix.home}/data/log/quickfix/files/server" if (value == null || value.indexOf('$') == -1) { return value; } StringBuffer buffer = new StringBuffer(); String variable = m.group(1); } return buffer.toString(); } |
Comments |
Comment by Steve Bate [ 10/Jan/10 ] |
We are assuming the paths are in Java format rather than OS-specific format. This might be something we don't want to support. I'm open to suggestions. |