Fix use of PathUtils: do not use new Path() on a Windows format path; this breaks in Linux.
--- a/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/DebugRunProcessDialog.java Thu Apr 08 14:31:29 2010 -0500
+++ b/debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/DebugRunProcessDialog.java Thu Apr 08 14:41:29 2010 -0500
@@ -452,8 +452,7 @@
data.setExeSelection(EExeSelection.USE_PROJECT_EXECUTABLE);
IPath selectedPath = (IPath) ((IStructuredSelection) projectExecutableViewer.getSelection()).getFirstElement();
if (selectedPath != null) {
- String symbianPath = PathUtils.convertPathToWindows(selectedPath);
- data.setExeSelectionPath(new Path(symbianPath));
+ data.setExeSelectionPath(selectedPath);
}
validate();
} else {
@@ -498,8 +497,8 @@
if (remoteExecutableRadioButton.getSelection()) {
remoteProgramEntry.setEnabled(true);
data.setExeSelection(EExeSelection.USE_REMOTE_EXECUTABLE);
- String symbianPath = PathUtils.convertPathToWindows(remoteProgramEntry.getText());
- data.setExeSelectionPath(new Path(symbianPath));
+ IPath path = PathUtils.createPath(remoteProgramEntry.getText());
+ data.setExeSelectionPath(path);
validate();
} else {
remoteProgramEntry.setEnabled(false);