Re: Resource manager not finding nested files
Re: Resource manager not finding nested files
- Subject: Re: Resource manager not finding nested files
- From: Mike Schrag <email@hidden>
- Date: Wed, 10 Oct 2007 08:29:33 -0400
I was looking at the source to the wonder Ajax framework and can
see that all the web server stuff in that framework is in the root
WebServerResources folder so I'm presuming this is a known feature
of the RM. Can anyone confirm if that's true ?
It is not ... Ajax just doesn't bother with subfolders. RM works
just fine with folders, but you're probably using the terrible
default project files from WOLips vs using a Wonder Project layout.
Change your woproject/wsresources.includes.patternset to:
WebServerResources/**/*
and get rid of all that other junk in there and it will just preserve
all the file structure under the WSR folder.
/cgi-bin/WebObjects/Test.woa/wr/wodata=/Users/Eclipse/Test/build/
TestFramework.framework/WebServerResources/another.css
... but that doesn't work (when put in a browser it returns a page
with no content at all).
Are you using Wonder? That your URL is /wr/wodata= leads me to
believe that you are, but this problem usually only happens to either
people that aren't using Wonder or people running with Xcode (which I
don't believe you are either). Print out the value of
ERXApplication.isDevelopmentModeSafe() in your app -- that should be
true in development. Are you running DirectConnect or not?
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden