mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Build tw: Completed successfully message is too long, updated according to the mockup IDEA-209457
GitOrigin-RevId: a6aefea4849650936ef814612a8c97944119cff5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
ed0bc6318d
commit
0d22ff54d4
+1
-1
@@ -386,7 +386,7 @@ public class ExternalSystemRunConfiguration extends LocatableConfigurationBase i
|
||||
public void onSuccess(@NotNull ExternalSystemTaskId id) {
|
||||
if (progressListener != null) {
|
||||
progressListener.onEvent(new FinishBuildEventImpl(
|
||||
id, null, System.currentTimeMillis(), "completed successfully", new SuccessResultImpl()));
|
||||
id, null, System.currentTimeMillis(), "successful", new SuccessResultImpl()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+3
-5
@@ -511,16 +511,14 @@ public class ExternalSystemUtil {
|
||||
String title = ExternalSystemBundle.message("notification.project.refresh.fail.title",
|
||||
externalSystemId.getReadableName(), projectName);
|
||||
com.intellij.build.events.FailureResult failureResult = createFailureResult(title, e, externalSystemId, project);
|
||||
String message = isPreviewMode ? "project preview creation failed" : "sync failed";
|
||||
finishSyncEventSupplier.set(() -> new FinishBuildEventImpl(id, null, System.currentTimeMillis(), message, failureResult));
|
||||
finishSyncEventSupplier.set(() -> new FinishBuildEventImpl(id, null, System.currentTimeMillis(), "failed", failureResult));
|
||||
processHandler.notifyProcessTerminated(1);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(@NotNull ExternalSystemTaskId id) {
|
||||
String message = isPreviewMode ? "project preview created" : "sync finished";
|
||||
finishSyncEventSupplier.set(
|
||||
() -> new FinishBuildEventImpl(id, null, System.currentTimeMillis(), message, new SuccessResultImpl()));
|
||||
() -> new FinishBuildEventImpl(id, null, System.currentTimeMillis(), "successful", new SuccessResultImpl()));
|
||||
processHandler.notifyProcessTerminated(0);
|
||||
}
|
||||
|
||||
@@ -619,7 +617,7 @@ public class ExternalSystemUtil {
|
||||
String message = "Sync finish event has not been received";
|
||||
LOG.warn(message, exception);
|
||||
ServiceManager.getService(project, SyncViewManager.class).onEvent(
|
||||
new FinishBuildEventImpl(resolveProjectTask.getId(), null, System.currentTimeMillis(), "sync failed",
|
||||
new FinishBuildEventImpl(resolveProjectTask.getId(), null, System.currentTimeMillis(), "failed",
|
||||
new FailureResultImpl(new Exception(message, exception))));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user