Table of Contents Previous Section
How Do I Share Models Across Applications?
You should put shared models in a shared framework. Enterprise Objects Framework automatically looks for models in the frameworks used by your application (both at run-time, and at design time in EOModeler, Interface Builder, and WebObjects Builder). Also put the enterprise object classes that correspond to the model in the framework.
defaults write NSGlobalDomain EOProjectSourceSearchPath"($(HOME)/myProjectsDirectory1, /myOtherProjectsDirectory)"Then, when EOModeler, Interface Builder, or WebObjects Builder look for models contained in one of your frameworks, it first searches all project directories within $(HOME)/myProjectsDirectory1 and /myOtherProjectsDirectory before searching for the built versions.
Table of Contents Next Section