mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-180687: Various BuildManager fixes to support eel
GitOrigin-RevId: 365796a2c0a54b6b605b0af55233117093456565
This commit is contained in:
committed by
intellij-monorepo-bot
parent
41173d896b
commit
633da30a54
@@ -1593,8 +1593,11 @@ public final class BuildManager implements Disposable {
|
||||
cmdLine.setupAdditionalVMOptions();
|
||||
|
||||
Path hostWorkingDirectory = cmdLine.getHostWorkingDirectory();
|
||||
if (!FileUtil.createDirectory(hostWorkingDirectory.toFile())) {
|
||||
LOG.warn("Failed to create build working directory " + hostWorkingDirectory);
|
||||
try {
|
||||
Files.createDirectories(hostWorkingDirectory);
|
||||
}
|
||||
catch (IOException e) {
|
||||
LOG.warn("Failed to create build working directory " + hostWorkingDirectory, e);
|
||||
}
|
||||
|
||||
if (profileWithYourKit) {
|
||||
@@ -1704,7 +1707,7 @@ public final class BuildManager implements Disposable {
|
||||
cmdLine.addParameter("-Djps.report.registered.unexistent.output=true");
|
||||
}
|
||||
|
||||
if (myFallbackSdkHome != null && myFallbackSdkVersion != null) {
|
||||
if (localProject && myFallbackSdkHome != null && myFallbackSdkVersion != null) {
|
||||
cmdLine.addPathParameter("-D" + GlobalOptions.FALLBACK_JDK_HOME + '=', myFallbackSdkHome);
|
||||
cmdLine.addParameter("-D" + GlobalOptions.FALLBACK_JDK_VERSION + '=' + myFallbackSdkVersion);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user