Hristo Iliev Messages: 156 Registered: May 2010 Location: Sofia, Bulgaria
The Eclipse launcher will most probably require you to add some entries in config.ini (provided you use 3.5) or Virgo launch properties (for 3.0.2). This seems to me a better approach since you may build a bundle and have it accessible by the OSGi framework either in config.ini or in launch properties.
The Java 6 splash screen approach will require adding splash screen argument in dmk.bat/sh and then adding the JAR with the splash screen in Virgo's class path since the JDK is not an OSGi framework
Please have in mind that I haven't tried these myself so it's all just theory and in practice more work may be required to get things working.
Unfortunately I am running an earlier version of Virgo, so I cannot use the Eclipse based approach.
I have tried the Java approach, but for some reason I cannot get it to work within OSGi (a splash screen in a plain Java app works without issues).
So my fallback at the moment is to have a bundle that just contains a borderless frame acting as the splash screen and to have it start up as soon as possible at OSGi container startup. The splash screen gets shown later than I would like, but...
I have now updated my Virgo Kernel to 3.5 and I am trying to use config.ini to define a splash screen. However all my efforts have been for nought so far. In config.ini (located in the configuration dir of my Virgo installation), I have added the following line:
and I have added a file called splash.bmp in the configuration directory (for testing purposes). A splash screen is not shown and no errors are produced at all.