Marcel Weiher wrote:
On Aug 17, 2008, at 4:41 , Roland King wrote:
I started building a Cocoa app then decided that I wanted to build
myself a little command-line tool to test the classes I'm writing.
Perhaps it should be a Unit test but I thought perhaps I'd learn
those another day. So I added a command-line target, marked the .m
and .h files I wanted to test as belonging to that target, wrote a
main() and all is well.
Cool.
Now I want my final cocoa app to use a plist file in the app bundle
for some startup data, so I'd like my little command-line tool to be
a bundled app too (instead of the straight executable which is
currently built) so I can put the plist file in there and do some
tests. So I was trying to convert the commandline tool target to
build a bundle and haven't managed it.
Have you considered just passing the path to the startup data to your
command line utility?
Marcel
I hadn't - that probably would have worked, however I was testing my
bundle and preference stuff so I really did want a bundle.
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]