Re: Mysteries of WOResourceManager
Re: Mysteries of WOResourceManager
- Subject: Re: Mysteries of WOResourceManager
- From: Chuck Hill <email@hidden>
- Date: Tue, 30 Dec 2003 14:19:48 -0800
- Organization: Global Village Consulting, Inc.
Is the current directory the .woa directory when you launch? NSBundle
and WOResourceManager use some assumptions about path names in order
to locate resources. That is your most likely problem.
If that does not help, what is the stack trace on the exception?
Chuck
Anthony Paras wrote:
Hi all,
I have written a few woapps that are designed to boot up, process some
stuff, and then exit. I have been writing my own shell commands to launch
them by copying and modifying the java command that gets generated in
ProjectBuilder.
One problem I just noticed is that the application().resourceManager() can't
find anything. When I call bytesForResourceNamed(), I get a null pointer
exception from deep in the bowels of apple's code.
Is there something I need to do prior to launching the app? Is there a
better way to do what I'm trying to do?
Thanks.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
--
Chuck Hill email@hidden
Global Village Consulting Inc. http://www.global-village.net
Progress is the mother of all problems.
- G. K. Chesterton
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.