discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Argh! Bundle loading bug...


From: Bjoern Giesler
Subject: Argh! Bundle loading bug...
Date: Wed, 13 Feb 2002 10:36:49 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

OK, I've narrowed down my problem. I just take a look at the list of 
bundles with the following code:

    NSArray *allBundles; int i;
    
    allBundles = [NSBundle allBundles];
    for(i=0; i<[allBundles count]; i++)
      printf("  Bundle %d: %@\n", i,
             [[allBundles objectAtIndex: i] bundlePath]);

...and this is what I get:

- From main program immediately after loading the bundle:

  Bundle 0: /usr/GNUstep/Local/Library/Bundles/CodeEditorBundle.bundle
  Bundle 1: /usr/GNUstep/Local/Libraries
  Bundle 2: /usr/GNUstep/System/Apps/CodeEditor.app
  Bundle 3: /usr/GNUstep/System/Libraries/Resources/gnustep-gui
  Bundle 4: /usr/GNUstep/System/Libraries

(here, bundle 0 is what I want.)

- From a class in the bundle, later:

  Bundle 0: /usr/GNUstep/System/Apps/CodeEditor.app
  Bundle 1: /usr/GNUstep/System/Libraries/Resources/gnustep-gui
  Bundle 2: /usr/GNUstep/System/Libraries

What is happening here? Where do the first two entries disappear to? Help!

Regards,
                --Björn
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBPGozscjvWsQJsktKEQLv9gCeKgiVHnlZgWvypPkGd6sMwbtFl2sAoLDC
mQeXorByb+f6WBQ++KnSJOYw
=bg6O
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]