• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Resource manager not finding nested files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resource manager not finding nested files


  • Subject: Re: Resource manager not finding nested files
  • From: Simon McLean <email@hidden>
  • Date: Wed, 10 Oct 2007 13:58:44 +0100

Hi Mike -

Yes, we are using Wonder and Eclipse. The web server stuff is in a brand new Wonder framework and I'm running a Wonder app to test it.

Both the app and the frameworks wsresources.include.patternset is:

WebServerResources/**/*

and their exclude is:

**/*.woa/**
**/*.framework/**
**/*.eomodeld~/**

... but still no joy with nested folders ?

ERXApplication.isDevelopmentModeSafe() was returning false but i just fixed that by adding er.extensions.ERXApplication.developmentMode=true to my WebObjects.properties.

Yes, running direct connect.

Simon



On 10 Oct 2007, at 13:29, Mike Schrag wrote:

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:
40mac.com


This email sent to email@hidden

_______________________________________________ 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
  • Follow-Ups:
    • Re: Resource manager not finding nested files
      • From: Mike Schrag <email@hidden>
References: 
 >Resource manager not finding nested files (From: Simon McLean <email@hidden>)
 >Re: Resource manager not finding nested files (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Resource manager not finding nested files
  • Next by Date: Re: D2W Question
  • Previous by thread: Re: Resource manager not finding nested files
  • Next by thread: Re: Resource manager not finding nested files
  • Index(es):
    • Date
    • Thread