protected void setSourceContainer(IProject project,
ILaunchConfigurationWorkingCopy configuration) {
PlatformRootstrap rootstrap = target.getRootstrap();
- String basePath = rootstrap.getPath().toOSString();
+ String basePath = rootstrap.getPath().toString();
String rootstrapPath = "";
if (OSChecker.isWindows()) {
rootstrapPath = basePath;
PLATFORM_SOURCE_CONTAINER);
MapEntrySourceContainer entry2 = new MapEntrySourceContainer();
backend = "/usr";
- local = new Path(rootstrapPath).append("usr").toOSString();
+ if (OSChecker.isWindows()) {
+ String syncRootstrap = RootstrapUtil.getUserSyncRootstrapPath(rootstrap.getId());
+ local = new Path(syncRootstrap).append("usr").toString();
+ } else {
+ local = new Path(rootstrapPath).append("usr").toString();
+ }
entry2.setBackendPath(new Path(backend));
entry2.setLocalPath(new Path(local));
public ICommandStatus getMd5Checksum(String path) {
String command = String.format("md5sum %s", path);
ICommandStatus status;
- status = RootstrapCommandLauncher.execute(command, rootPath.toString(), null, null);
+ status = execute(command, null, null);
if (status.isOk()) {
printResultLog(String.format("[RDS] Checked checksum: %s", path));
}