diff --git a/java/compiler/impl/src/com/intellij/compiler/server/BuildManager.java b/java/compiler/impl/src/com/intellij/compiler/server/BuildManager.java index 54611d246853..effc3aab560a 100644 --- a/java/compiler/impl/src/com/intellij/compiler/server/BuildManager.java +++ b/java/compiler/impl/src/com/intellij/compiler/server/BuildManager.java @@ -1508,7 +1508,8 @@ public final class BuildManager implements Disposable { // No external project cache -- no copy of external project cache. } catch (FileSystemException err) { - throw new ExecutionException("Failed to copy external project configuration", err); + throw new ExecutionException( + JavaCompilerBundle.message("build.manager.launch.build.process.failed.to.copy.external.project.configuration"), err); } } else { @@ -1676,7 +1677,8 @@ public final class BuildManager implements Disposable { cmdLine.addPathParameter(parameter.getFirst(), cmdLine.copyProjectSpecificPathToTargetIfRequired(project, parameter.getSecond())); } catch (FileSystemException err) { - throw new ExecutionException("Failed to copy parameter " + parameter.getFirst(), err); + throw new ExecutionException( + JavaCompilerBundle.message("build.manager.launch.build.process.failed.to.copy.parameter", parameter.getFirst()), err); } } } @@ -1745,7 +1747,7 @@ public final class BuildManager implements Disposable { cmdLine.copyProjectSpecificPathToTargetIfRequired(project, Paths.get(path)); } catch (FileSystemException err) { - throw new ExecutionException("Failed to copy additional plugin", err); + throw new ExecutionException(JavaCompilerBundle.message("build.manager.launch.build.process.failed.to.copy.additional.plugin"), err); } } } diff --git a/java/compiler/openapi/resources/messages/JavaCompilerBundle.properties b/java/compiler/openapi/resources/messages/JavaCompilerBundle.properties index 07206f0706f6..2934349677c3 100644 --- a/java/compiler/openapi/resources/messages/JavaCompilerBundle.properties +++ b/java/compiler/openapi/resources/messages/JavaCompilerBundle.properties @@ -360,4 +360,8 @@ notification.action.enable.space.plugin=Enable Space plugin notification.title.git.crlf.config=Wrong Git line-endings configuration notification.content.git.crlf.config=To have working compiler caches you need to execute {0} command and force checkout the project class.can.be.record.suppress.conversion.if.annotated.description=Specify class names or package wildcards like com.example.* -error.clean.state.rebuild.not.possible=Complete cleaning of build system data is not possible, if option 'Clear output directory on rebuild' is set to 'false'. Build system data will be cleared as a part of project rebuild. \ No newline at end of file +error.clean.state.rebuild.not.possible=Complete cleaning of build system data is not possible, if option 'Clear output directory on rebuild' is set to 'false'. Build system data will be cleared as a part of project rebuild. + +build.manager.launch.build.process.failed.to.copy.parameter=Failed to copy parameter {0} +build.manager.launch.build.process.failed.to.copy.external.project.configuration=Failed to copy external project configuration +build.manager.launch.build.process.failed.to.copy.additional.plugin=Failed to copy additional plugin \ No newline at end of file