• 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
Don't put a directory with an unrelated git repo into your d2w app's resources
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Don't put a directory with an unrelated git repo into your d2w app's resources


  • Subject: Don't put a directory with an unrelated git repo into your d2w app's resources
  • From: Fabian Peters <email@hidden>
  • Date: Fri, 31 Jan 2014 13:21:49 +0100

Hi all,

Just to spare anybody else a long debugging session: The above is a bad idea. I put two javascript git projects in my webserver-resources. Among them, they account for a good 900 files. Since my app had "WOMissingResourceSearchEnabled" set to true, and did not have a "d2wclientConfiguration.plist" nor a "d2wclient.d2wmodel", _NSProjectBundleIDEProject.extractFilesIntoWOProject() was called on each request. Which causes the list of available resources to get rebuilt from scratch…

Having WOMissingResourceSearchEnabled set to true seems like a sensible default choice in development. But maybe we could handle d2wclientConfiguration.plist and d2wclient.d2wmodel in a more intelligent way? Like: If it's not there the first time round, stop looking?

Fabian
 _______________________________________________
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


  • Prev by Date: Re: Doing database creation before EOF gets involved ?
  • Next by Date: Re: WOLips for Eclipse 4.3.1
  • Previous by thread: Re: Doing database creation before EOF gets involved ?
  • Index(es):
    • Date
    • Thread