Hi Ted,

On 17 Aug 2017, at 02:18, Theodore Petrosky <tedp...@yahoo.com> 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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to