Re: Mysteries of WOResourceManager
Re: Mysteries of WOResourceManager
- Subject: Re: Mysteries of WOResourceManager
- From: Hsu <email@hidden>
- Date: Tue, 30 Dec 2003 15:18:49 -0800
Both NSBundle and WOResourceManager can only find things inside the
app/framework bundles. Have you verified that the scripts are actually
in the bundle?
Karl
On Dec 30, 2003, at 2:19 PM, Chuck Hill wrote:
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.
--
Who said humans weren't complicated?
Cats.
Homepage:
http://homepage.mac.com/khsu/index.html
_______________________________________________
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.