• 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: moving my .d2wmodel files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: moving my .d2wmodel files


  • Subject: Re: moving my .d2wmodel files
  • From: Paul Hoadley <email@hidden>
  • Date: Thu, 17 Aug 2017 08:50:28 +0930

Hi Ted,

On 17 Aug 2017, at 02:18, Theodore Petrosky <email@hidden> wrote:

> Can I put my .d2wmodel files in a folder? I usually create a rule file for
> each of my entities but then the Resources folder starts filling up. I tried
> to use:
>
> er.directtoweb.ERD2WModel.additionalModelNames=(“model/Person.d2wmodel","InventoryItem.d2wmodel”)
>
> I was looking in ERD2WModel to see if when it went looking for the rule files
> it would travers the folders looking but no joy.
>
> is there a way to add a folder to the places that D2W will look for these
> files?

Short answer is that I don’t know, but it will depend on how ERD2W is sourcing
these model files. In many cases (e.g., EO Models in sub-folders, pulling in
SQL with executeUpdateScriptFromResourceNamed()), resources will be found in
Resources without explicitly naming any intervening directories. That is, you
can often stick things in folders and do nothing else. So have you tried
putting the model files in the ‘model’ folder and doing nothing else?


--
Paul Hoadley
https://logicsquad.net/
https://www.linkedin.com/company/logic-squad/




 _______________________________________________
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: moving my .d2wmodel files
      • From: Theodore Petrosky <email@hidden>
References: 
 >moving my .d2wmodel files (From: Theodore Petrosky <email@hidden>)

  • Prev by Date: moving my .d2wmodel files
  • Next by Date: Re: moving my .d2wmodel files
  • Previous by thread: moving my .d2wmodel files
  • Next by thread: Re: moving my .d2wmodel files
  • Index(es):
    • Date
    • Thread