Commit e7983783 authored by Eugene Zhuravlev's avatar Eugene Zhuravlev
Browse files

compile session naming (IDEA-174920)

parent 9c91c1ce
Branches unavailable Tags unavailable
No related merge requests found
Showing with 6 additions and 4 deletions
+6 -4
......@@ -372,10 +372,11 @@ public class CompileDriver {
final CompilerMessage message) {
ApplicationManager.getApplication().assertIsDispatchThread();
final String contentName = CompilerBundle.message(forceCompile ? "compiler.content.name.compile" : "compiler.content.name.make");
final boolean isUnitTestMode = ApplicationManager.getApplication().isUnitTestMode();
final CompilerTask compileTask = new CompilerTask(myProject, contentName, isUnitTestMode, !withModalProgress, true,
isCompilationStartedAutomatically(scope), withModalProgress);
final String name = CompilerBundle.message(isRebuild ? "compiler.content.name.rebuild" : forceCompile ? "compiler.content.name.recompile" : "compiler.content.name.make");
final CompilerTask compileTask = new CompilerTask(
myProject, name, isUnitTestMode, !withModalProgress, true, isCompilationStartedAutomatically(scope), withModalProgress
);
StatusBar.Info.set("", myProject, "Compiler");
// ensure the project model seen by build process is up-to-date
......
......@@ -54,7 +54,8 @@ status.compilation.aborted=Compilation aborted
status.all.up.to.date=All files are up-to-date
compiler.error.failed.to.delete=Failed to delete {0}
progress.updating.caches=Updating caches...
compiler.content.name.compile=Rebuild
compiler.content.name.rebuild=Rebuild
compiler.content.name.recompile=Recompile
compiler.content.name.make=Build
status.compilation.completed.successfully.with.warnings=Build completed successfully with {0} {0,choice, 0#warnings|1#warning|2#warnings}
status.compilation.completed.successfully=Build completed successfully
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment