Skip to content
Snippets Groups Projects
Commit 3b75a2b5 authored by Alexander Diewald's avatar Alexander Diewald
Browse files

CLI: Start the handlers after startup

The CLI service must be executed AFTER all other services were fully
started in order to be able to use all other services as needed.

Issue-Ref: 3993
Issue-Url: https://af3-developer.fortiss.org/issues/3993


Signed-off-by: default avatarAlexander Diewald <diewald@fortiss.org>
parent 413e747a
No related branches found
No related tags found
1 merge request!303993
ApplicationActionBarAdvisor.java 881198ff05ab14110efef1673f0914725348442b GREEN
ApplicationWorkbenchAdvisor.java 5d1792809c752bedc08b6d9d993ecbf70b40982c GREEN
ApplicationWorkbenchAdvisor.java 587d7efc234d68e8bac6540c8cafabca113757d8 YELLOW
ApplicationWorkbenchWindowAdvisor.java da5cb38300b384579532c678fbc9faa961c2ca6b GREEN
......@@ -33,6 +33,7 @@ import org.fortiss.af3.project.AF3Project;
import org.fortiss.af3.timing.ITimingSpecificationService;
import org.fortiss.tooling.base.ToolingBase;
import org.fortiss.tooling.kernel.ToolingKernel;
import org.fortiss.tooling.kernel.service.ICommandLineInterfaceService;
import org.fortiss.tooling.kernel.ui.ToolingKernelUI;
/**
......@@ -71,6 +72,9 @@ public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {
IAllocationService.getInstance().startService();
ITimingSpecificationService.getInstance().startService();
IDSEBackendService.getInstance().startService();
// The CLI handlers must be executed last such that all services are available.
ICommandLineInterfaceService.getInstance().executeHandlers();
}
/** {@inheritDoc} */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment