[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Location of bundles
From: |
Philippe C.D. Robert |
Subject: |
Re: Location of bundles |
Date: |
Tue, 12 Dec 2000 09:46:42 +0100 |
On Mon, 11 Dec 2000, Nicola Pero wrote:
> I am talking about apps or libraries which use bundles to implement
> `loadable modules'. I think this should be quite standardized between
> apps and libraries.
On NEXTSTEP the common path was /LocalLibrary/Bundles as far as I remember.
Thus sth like $(GNUSTEP_LOCAL_ROOT)/Library/Bundles/'AppName'/ would make sense
to me...
<snip>
> And a method to retrieve a specific bundle, such as:
>
> [NSBundle bundleWithName: @"PCAppProj"
> withGNUstepPath: @"ProjectCenter"];
Well, I am not sure if GS should handle retreiving of bundles in that way. I
really like the fact that I can place bundles where I want to. Perhaps there
could be a method like
- (NSString *)defaultBundlePath;
in NSBundle or so. This would allow you to do sth like
p = [[NSBundle mainBundle] defaultBundlePath];
to get the proper location of the particular app. But I am not sure
either....;-)
Just my $0.02....
cheers, Phil
--
Philippe C.D. Robert | http://www.iam.unibe.ch/~robert/
Research Group on Computational Geometry and Graphics
Institute of Computer Science and Appl. Mathematics (IAM), Office 208
Neubrueckstrasse 10, CH-3012 Bern Switzerland, phone: +41 31 6314902