# HG changeset patch # User Ed Swartz # Date 1270755689 18000 # Node ID 02373fb1e1210d4dc3658eb44a6e51b568a2e505 # Parent 745221c781a342dd5fdc6d03d8fab915b8cfc323 Fix use of PathUtils: do not use new Path() on a Windows format path; this breaks in Linux. diff -r 745221c781a3 -r 02373fb1e121 debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/DebugRunProcessDialog.java --- 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);