Re: EOGenerator vs. JavaGenerator vs. VelocityGenerator ?

From: David Holt (programmingos..ac.com)
Date: Mon Dec 03 2007 - 12:36:43 EST

  • Next message: James Cicenia: "Velocity Template Errors on my Model..."

    Hi James,

    When you are creating your entity, just name it properly as part of
    the package you want the entity to be in (using EntityModeler) and
    Eclipse will put the EOs where they're supposed to be.

    See the image below:






    On 3-Dec-07, at 7:44 AM, James Cicenia wrote:

    > I just didn't fight it any more... I had changed that line and it
    > indeed put the proper package at the top... however, it did not put
    > it in the Eclipse package.
    > So I threw my hands up and used the filter to get them out of the
    > way and let them reside in the same package with the subclasses.
    >
    > James
    >
    > On Dec 3, 2007, at 9:39 AM, Pierce T. Wetter III wrote:
    >
    >>
    >> On Dec 1, 2007, at 1:52 PM, James Cicenia wrote:
    >>
    >>> Pierce -
    >>>
    >>> Thank you for your opinion. I have decided that I will now use
    >>> VelocityGenerator. You mad some compelling points.
    >>>
    >>> Now... after using it just now.. how the heck to I get it to put
    >>> my superclasses in a specific package? I just the package part of
    >>> the template and that works as my Java source shows the package
    >>> correctly put it is placing the files in the wrong Eclipse package.
    >>>
    >>> Thank you very much,
    >>
    >> I didn't do anything special. I have the package name as part of
    >> the class name in the eomodels file. The templates have:
    >>
    >> #if ($entity.packageName)
    >> package $entity.packageName;
    >>
    >> #end
    >>
    >> At the top.
    >>
    >> Pierce
    >>
    >



    This archive was generated by hypermail 2.0.0 : Mon Dec 03 2007 - 12:38:51 EST