On Mar 21, 2006, at 11:14 AM, Ken Anderson wrote:
>
> OK, I am now much further along, thanks. I now have an eomodeld
> that I would like to bring into a framework... what's the best way?
>
>
Copy it into the project. Refresh the project in Eclipse. Done.
> Also, right now I have a script in xcode that runs EOGenerator
> automatically. It has the paths for eo's and the generated eo's
> hard coded. So I have 2 questions:
>
> 1. Is there a way with Eclipse to run EOGenerator and
>
Yes, several. I use a custom Ant task and some integration in the
build.xml file so it looks like this:
<!-- Generate Page Component EOs -->
<target name="eos_pagecomponents" depends="setProps">
<eogenerator
isDebugging="${debug.eogenerator}"
model="PageComponents.eomodeld"
baseClassDestination="GeneratedEOs"
subClassDestination="src">
<referencedModels>
<model location="../GVCSMEOPrototypes/
GVCSMEOPrototypes.eomodeld" />
<model location="${gvc.frameworks.path}/
GVCGenericObjects/GVCGenericObjects.eomodeld" />
<model location="${gvc.frameworks.path}/
GVCVirtualTables/VirtualTables.eomodeld" />
<model location="GVCSiteMaker.eomodeld"/>
</referencedModels>
</eogenerator>
</target>
> 2. If I break things out into multiple packages, is there a good
> way to get EOGenerator to work with it?
>
Not clear what you mean. If you have the packages declared in the
EOModel then EOGenerator will automatically generate the classes in
the correct directories.
Chuck
-- Coming in 2006 - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointroPractical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects
This archive was generated by hypermail 2.0.0 : Tue Mar 21 2006 - 15:10:57 EST