discuss-gnustep
[Top][All Lists]
Advanced

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

Re: GDL2 questions


From: Nicola Pero
Subject: Re: GDL2 questions
Date: Wed, 7 May 2003 13:18:18 +0100 (BST)

[my attention was randomly attracted by this sentence - since I didn't
read the context, I might miss the point]


> It searches in the application bundle and all frameworks bundles, but 
> since you're writing a tool, you probably have niether.

In GNUstep tools can have a resource bundle, just as applications do.

You need to add 

xxx_HAS_RESOURCE_BUNDLE = yes

to your GNUmakefile, then you can use all the usual things
(xxx_RESOURCE_FILES, etc) that you use for bundling resources into
applications - they will be automatically saved into a bundle which is
installed with the tool.

The bundle is available to the tool via [NSBundle mainBundle], exactly as
it happens for applications, so if your software is searching that, it
will automatically search the tool bundle too.





reply via email to

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