|Progress bar in splash shows for a very short time [message #517161]
||Fri, 26 February 2010 12:33
| Henno Vermeulen
Registered: July 2009
The problem: we have an Eclipse product with splash screen which shows for less than half a second when activating the eclipse help plugin but startup of the bundles takes 15 seconds.|
This is caused by Eclipse not showing the progress bar before it initiates org.eclipse.ui.handlers extensions. Is there a way to show the progress bar before Eclipse tries to instantiate them?
I have an Eclipse RCP application with Spring-DM bundles that need to auto-start at start level 4 (see this blog). We also have a non-eclipse-specific OSGi client bundle which connects to the server.
All bundles (except the eclipse help plugin) are active within about 2 seconds, but after this, Spring-DM is still loading classes and connecting to the server for our client bundle which takes more than 10 seconds.
We have a few Plugins with org.eclipse.ui.handlers extensions which are currently programmed to wait until the client bundle publishes its service before their construction is finished. (using the SpringExtensionFactory, see this blog).
I added a splash screen to our product which shows for about 15 seconds before the workbench shows. Note that if the creation of the handlers would not block, the workbench would show much earlier but the connection to the server is not finished yet.
(We will probably adjust the handlers to take into account the possible absence of the services, but this still doesn't completely solve the problem)
Powered by FUDForum
. Page generated in 0.03429 seconds