[osgi] Let the framework run the configuration check
commit4d8ae5e93d40dbf3908d9abcbf5db5180ec855a8
authorThomas Wolf <thomas.wolf@paranor.ch>
Wed, 10 Feb 2021 07:44:17 +0000 (10 08:44 +0100)
committerThomas Wolf <thomas.wolf@paranor.ch>
Thu, 11 Feb 2021 14:18:30 +0000 (11 15:18 +0100)
tree2a901bb57c9a9b4a90ec0b94cf1a02dedd73cc59
parent6483bcae41c2af9999a9e7d341f207b30dc92938
[osgi] Let the framework run the configuration check

Make the job for running the configuration check an OSGi component
of its own, scheduled on APP_STARTUP_COMPLETE. The configuration
check is fairly expensive, involving file system accesses, so it
must still be a job. But it's not necessary to run it on the UI
thread.

Change-Id: I50b716d42e0f8b4587255dce35c830bb26b0398a
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.egit.ui/META-INF/MANIFEST.MF
org.eclipse.egit.ui/OSGI-INF/org.eclipse.egit.ui.internal.ConfigurationChecker$Checker.xml [new file with mode: 0644]
org.eclipse.egit.ui/src/org/eclipse/egit/ui/Activator.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/ConfigurationChecker.java