@Override public String engineToWorld(String path) { if (path == null) { return null; } String res = WindowsSupport.getInstance().convertFromMSysPath(path); if (res != null) { return res; } else { return path; } }
@Override public String engineToWorld(String path) { if (path == null) { return null; } String res = WindowsSupport.getInstance().convertFromCygwinPath(path); if (res != null) { return res; } else { return path; } }
@Override public String worldToEngine(String path) { if (path == null) { return null; } String res = WindowsSupport.getInstance().convertToCygwinPath(path); if (res != null) { return res; } else { return path; } }
&& cs.getCompilerFlavor().isMinGWCompiler() && pae.getExecutable().contains("make")) { // NOI18N env.put("MAKE", WindowsSupport.getInstance().convertToMSysPath(pae.getExecutable())); // NOI18N
Shell activeShell = WindowsSupport.getInstance().getActiveShell(); ShellValidationStatus shellValidationStatus = ShellValidationSupport.getValidationStatus(activeShell); boolean isOK = shellValidationStatus.isValid() && !shellValidationStatus.hasWarnings(); WindowsSupport.getInstance().init(binDir); activeShell = WindowsSupport.getInstance().getActiveShell(); shellValidationStatus = ShellValidationSupport.getValidationStatus(activeShell); isOK = shellValidationStatus.isValid() && !shellValidationStatus.hasWarnings();
WindowsSupport.getInstance().init();
protected String cutIncludePrefix(String line) { CompilerDescriptor compiler = getDescriptor(); if (compiler != null && compiler.getRemoveIncludeOutputPrefix() != null) { String remove = compiler.getRemoveIncludeOutputPrefix(); String lline = line.toLowerCase(); if (lline.startsWith(getIncludeFilePathPrefix().toLowerCase())) { line = line.substring(getIncludeFilePathPrefix().length()); } else { String wpath = WindowsSupport.getInstance().convertToShellPath(getIncludeFilePathPrefix().toLowerCase()); if (wpath != null && lline.startsWith(wpath)) { line = line.substring(wpath.length()); } else if (lline.startsWith(remove)) { line = line.substring(remove.length()); } } } return line; }
command = escapeQuotes(command); profile.setArgs(new String[]{"-c", "\"'"+compilerPath+"' "+command+"\""}); // NOI18N Shell shell = WindowsSupport.getInstance().getActiveShell(); String shellPath = hostInfo.getShell(); if (compilerSet.getCompilerFlavor().isMinGWCompiler() && shell != null && shell.type == Shell.ShellType.CYGWIN) {
final ExecutionEnvironment exEnv = (event.getConfiguration()).getDevelopmentHost().getExecutionEnvironment(); if (exEnv.isLocal() && Utilities.isWindows()) { attachPid = WindowsSupport.getInstance().getWinPID(pid);
&& compilerSet.getCompilerFlavor().isMinGWCompiler() && executable.contains("make")) { // NOI18N envMap.put("MAKE", WindowsSupport.getInstance().convertToMSysPath(executable)); // NOI18N