• 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: Theodore Petrosky <email@hidden>
  • Date: Wed, 16 Aug 2017 19:36:30 -0400

yea, So I created the folder, created the Person.d2wmodel in the folder and my
app will not see it. I copied the file to Resources and it works.

I thought it ‘should’ find it, but no joy. I hate shoulding on myself, but I
seem to be doing it quite frequently.

Maybe this is one that doesn’t work



> On Aug 16, 2017, at 7:20 PM, Paul Hoadley <email@hidden> wrote:
>
> Hi Ted,
>
> On 17 Aug 2017, at 02:18, Theodore Petrosky <email@hidden
> <mailto: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://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: Kai Lochbaum <email@hidden>
References: 
 >moving my .d2wmodel files (From: Theodore Petrosky <email@hidden>)
 >Re: moving my .d2wmodel files (From: Paul Hoadley <email@hidden>)

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