RE: WOGen task

From: Pierre Bernard (Pierre.Bernar..cl.lu)
Date: Wed Oct 08 2003 - 09:02:03 EDT

  • Next message: Chuck Hill: "RE: WOGen task"

    **********************************************************************
    This email and any files transmitted with it are intended solely for
    the use of the individual or entity to whom they are addressed.
    If you have received this email in error please notify the sender
    of this message. (Pierre.Bernar..cl.lu)
    This email message has been checked for the presence of computer
    viruses; however this protection does not ensure this message is
    virus free.
    Banque centrale du Luxembourg; Tel ++352-4774-1; http://www.bcl.lu
    **********************************************************************

    Bill,

    quite some time ago I send a message to this list discussing the limitation of WOGen I had encountered. You might find it in the archives by searching for my email addresses: pierre.bernard@bcl.lu, I_love_my@mac.com

    I ended up staying with good trusty EOGenerator which actually is pretty easy to call from within the Ant build file:

                    <echo>Generating eos...</echo>
                    <property name="eoCommonArgs"
                            value="-destination src -templatedir eotemplates -force -packagedirs -model ... "
                            />
                            />
                    <property name="eoImplArgs"
                            value="-impl -prefix Impl -javaTemplate EnterpriseImpl.eotemplate ... ${eoCommonArgs}"
                            />
                    <property name="eoPlainEntities"
                            value="..."
                            />
                    <exec dir="." executable="eogenerator"
                            os="Windows 2000" failonerror="true"
                            vmlauncher="false">
                            <arg line="${eoImplArgs} ${eoPlainEntities}" />
                    </exec>

    Pierre

    --
    Got a hang for movies?
    http://homepage.mac.com/I_love_my/movies.html

    -----Original Message-----
    From: Bill Michell [mailto:bill.michell@bbc.co.uk]
    Sent: Wednesday, October 08, 2003 2:56 PM
    To: woproject-dev@objectstyle.org
    Subject: WOGen task


    I'm experimenting with using WOGen to build my EO classes.

    I'm trying to model inheritance through the single table model (keep things simple). However, the classes generated by WOGen do not seem to model the inheritance properly; my sub-classes all say "extends EOGenericRecord" rather than "extends [parent custom class]"

    Am I doing something stupid? Or can WOGen not respect the parent key in the .plist file for the EO yet?

    --
    Bill Michell




    BBCi at http://www.bbc.co.uk/

    This e-mail (and any attachments) is confidential and may contain
    personal views which are not the views of the BBC unless specifically
    stated.
    If you have received it in error, please delete it from your system.
    Do not use, copy or disclose the information in any way nor act in
    reliance on it and notify the sender immediately. Please note that the
    BBC monitors e-mails sent or received.
    Further communication will signify your consent to this.



    This archive was generated by hypermail 2.0.0 : Wed Oct 08 2003 - 10:02:53 EDT