RE: Problems with EOGenerate on Windows

From: Phillip Dupuy (pdupu..ompanywatch.net)
Date: Tue Sep 12 2006 - 11:50:11 EDT

  • Next message: Watkins, Garry: "Entity Modeler"

    Hi Henrique,

    We've been having exactly the same problem using almost exactly the same
    configuration (we are using WO 5.2.3).

    My colleague Lance French has found a temporary workaround thus -

    1. Edit your xxx.eogen file by removing the 'weird' drive prefix from
    the -model argument e.g. 'C:my.eogen' becomes 'my.eogen'.

    2. Re-name your xxx.eogen file to xxx.bat.

    3. Run xxx.bat from the command line.

    Phillip Dupuy

    -----Original Message-----
    From: Henrique Prange [mailto:hprang..mail.com]
    Sent: 12 September 2006 16:02
    To: woproject-de..bjectstyle.org
    Subject: Problems with EOGenerate on Windows

    Hi all,

    I’m trying to use the WOLips Tools -> EOGenerate option without success.
    No files are generated and no feedback is provided neither in error log
    nor in the console and in the progress views.

    Here is the content of MyEOModel.eogen file generated by WOLips:

    C:\Program Files\EOGenerator\eogenerator.exe -destination src -java
    -javaTemplate JavaSourceERX52.eotemplate -model C:MyEOModel.eomodeld
    -packagedirs -subclassDestination src -subclassJavaTemplate
    JavaSubclassSourceEOF5.eotemplate -templatedir "C:/Program
    Files/EOGenerator/Templates" –verbose

    I think that the segment “-model C:MyEOModel.eomodeld” is weird, since
    MyEOModel.eomodeld isn’t in the C: root folder. Is it expected to happen?

    I’m doing something wrong?

    System Configuration:
    -Windows XP
    -Eclipse 3.2
    -WOLips 2.0.0.3118
    -WebObjects 5.2.4
    -EOGenerator 1.7

    Thanks,

    Henrique

    PS.: I’ve tried to remove “C:” from “-model C:MyEOModel.eomodeld” but it
    doesn’t work too.

    PS 2.: I've tried EOGenerate on Mac and it works.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    This message is intended only for the addressee and may
    contain information that is confidential or privileged.
    Unauthorised use is strictly prohibited and may be unlawful.

    If you are not the addressee, you should not read, copy,
    disclose or otherwise use this message, except for the
    purpose of delivery to the addressee. If you have received
    this in error, please delete and advise us immediately.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Although Company Watch makes every reasonable effort to keep
    its network and systems free from viruses, the company
    accepts no responsibility for computer viruses transmitted
    through this mail or in any attachments. It is your
    responsibility to virus scan any attachments we send to you.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



    This archive was generated by hypermail 2.0.0 : Tue Sep 12 2006 - 11:47:12 EDT