discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Bundles inside Application resources


From: Wolfgang Lux
Subject: Re: Bundles inside Application resources
Date: Fri, 4 Oct 2013 15:18:29 +0200

Wolfgang Lux wrote:

> Riccardo Mottola wrote:
> 
>> Currently, TalkSoup puts all of its bundles (and they are many) In 
>> ApplicationSupport.
>> 
>> I'd like to put them inside the application, e.g. in Resources. This woul 
>> dhave the benefit of being cleaner, but also simplifyin gthe install, since 
>> currently the bundles are installed during the build pahse and this creates 
>> problems for packagers.
>> 
>> Where should bundle reside? I put them "as is" with the same structure 
>> inside Resources, but they fail to load.
> 
> Putting application bundles directly into the application directory did work 
> for me.

But then I also notice that I'm effectively using this code to load the bundle:
  NSString *path = [[NSBundle mainBundle] pathForResource:@"GNUstepPatches" 
ofType:@"bundle"];
  NSBundle *bundle = [NSBundle bundleWithPath:path];
So this may or may not be relevant to you.

Wolfgang





reply via email to

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