[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [NSBundle mainBundle] + gdb
From: |
Marcus Müller |
Subject: |
Re: [NSBundle mainBundle] + gdb |
Date: |
Thu, 5 Jun 2003 02:44:12 +0200 |
On Wednesday, Jun 4, 2003, at 11:13 Europe/Berlin, Nicola Pero wrote:
I see your point, which is good; the drawback is that setting
<Tool>_HAS_RESOURCE_BUNDLE = yes causes a resource directory to be
created
for the tool - and that is a pointless annoyance for some people who
are
not using resources, as it's cluttering their filesystem with empty
resource directories for tools having no resources
Ok, I see the point. Is it necessary then to couple the actual creation
of a resource bundle directory to the behaviour of the result of
mainBundle for a tool so tightly? Wouldn't it be better to let
mainBundle point to the (probably non-existent) bundle anyways? I don't
see why this shouldn't be done anyways. It's also more compatible (in
this case exactly the same) with what Apple does in its Foundation.
BTW: I'm currently porting Sen:te's OCUnit to GNUstep. OCUnit needs to
gather the bundles for all testclasses in the runtime. Even if there
are no resources involved at all, I'd have to create a resource bundle
for the tools because otherwise +[NSBundle bundleForClass:] wouldn't
work. That directly leads to clutter (albeit not that much, given I'm
not creating 1000 testing tools), but it's strictly unnecessary.
Cheers,
Marcus
--
Marcus Mueller . . . crack-admin/coder ;-)
Mulle kybernetiK . http://www.mulle-kybernetik.com
Current projects: finger address@hidden