After a day I figured out why resources in embedded frameworks we're
not working. The problem turned out to be that in my eagerness to
keep things tidy I had all my resources in subfolders ie: /Graphics /
Styles within WebServerResources. Looks like that doesn't work, but
in development these work fine and I'm trying to understand why.
My guess is because the use of wodata=path/to/resources/ behaviour
just happens to work although I'm not sure how ResourceManager
resolves something called image.gif to /graphics/image.gif if it
doesn't understand nested resources. In deployment they don't work
because I'm assuming that when asking say in a WOImage for a
filename=image.gif the
WODeployedBundle has everything internally named "graphics/image.gif"
and so the filename doesn't match up.
I'm just checking this is correct behaviour and that basically you
shouldn't nest your resources. On the other hand I'm wondering if
this is indicating something wrong with the build of my Frameworks. I
also seem to be having a problem with finding /Resources/
English.lproj/Localized.strings files in frameworks which is of
course also nested and also seems to be unable to be found when
deployed.
Paul S
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]