Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Initialization of instance location
Initialization of instance location [message #82999] Tue, 06 February 2007 14:38
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Hi,

As reported in https://bugs.eclipse.org/bugs/show_bug.cgi?id=170030
I have run into a situation where the instance location (aka workspace)
was not initialized when the resources bundle was started,
causing an IllegalStateException to be thrown (see the bug for details).

I have installed a handler into the BundleWatcher hook, which caused
some class-loading which then caused starting of the resources bundle.
All this happened before IDEApplication.run() has had a chance to
open the choose workspace dialog and initialize the instance location.

My question is: is there a safe way for asking whether the instance
location has been set?

Normal bundle-dependencies seem not to guarantee that things are
happening in the correct order? What mechanism ensures that normally
(without my bundle watcher) the instance location is actually initialized
before it is first accessed?

thanks,
Stephan


--
Stephan Herrmann
Previous Topic:Help: What is the IPath syntax of a jar embedded in a bundle??
Next Topic:Eclipse at Server Side
Goto Forum:
  


Current Time: Thu Apr 25 02:25:35 GMT 2024

Powered by FUDForum. Page generated in 0.06007 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top