tmf: Use OSString for the supplementary files folder property
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Thu, 14 May 2015 20:13:18 +0000 (16:13 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Tue, 19 May 2015 15:33:32 +0000 (11:33 -0400)
commitcdb43c169ba85db4c654c6c5d512640619f40b5b
tree0c6f1131f252f9b4ccfe2dfaed20c0ac74dfdbe2
parent932fc1823cafd1f7a57acf5ea705b44d67ca99da
tmf: Use OSString for the supplementary files folder property

On Windows, getLocationURI().getPath() returns a string that
starts with "/C:/...". This does not get parsed correctly by
utilities like java.nio.file.Path.

Using getLocation().toOSString() instead solves this problem.

Change-Id: I7c5d6d43cd21fd9c0021105884f61fb32bd133d5
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/47932
Reviewed-by: Hudson CI
Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
Tested-by: Patrick Tasse <patrick.tasse@gmail.com>
org.eclipse.tracecompass.tmf.core.tests/src/org/eclipse/tracecompass/tmf/core/tests/synchronization/TimeOffsetTest.java
org.eclipse.tracecompass.tmf.core/src/org/eclipse/tracecompass/tmf/core/trace/TmfTraceManager.java
org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/tmf/ui/project/model/TmfCommonProjectElement.java
This page took 0.032693 seconds and 5 git commands to generate.