Seems I have an entity in my EO model named EOGenericRecord, which I was
intending for prototyping purposes as some point in the past.
So... remove that entity, and all is fine. I stumbled upon this by using
the original EOGenerator executable to do the class splits, and it avoided
creating EOGenericRecord.
Perhaps that's something that should be put into the WOGenerator code?
> -----Original Message-----
> From: Ian McDougall [mailto:ian.mcdougal..mode.com]
> Sent: Friday, November 01, 2002 11:44 AM
> To: WOLips
> Subject: WOGen: generated code won't compile...
>
>
> I'm running into the compiler error message when attempting to compile
> classes created by the wogen ant task:
>
> "the hierarchy of the type _CLASSNAME is inconsistent"
>
> for each entity (CLASSNAME) superclass file generated from my eomodel.
>
> my ant task looks like:
>
> <!-- generate EO classes -->
> <taskdef name="wogen"
> classname="org.objectstyle.woproject.ant.WOGenerator">
> </taskdef>
>
> <target name="generate_eo_classes">
> <wogen map="MyModel.eomodeld" destDir="eosrc"
> usepkgpath="false" />
> </target>
>
> What am I doing wrong?
>
> _ _ _
> Ian McDougall ian.mcdougal..mode.com
>
This archive was generated by hypermail 2.0.0 : Fri Nov 01 2002 - 14:35:56 EST