Re: How do I refresh _Entity.java?

From: Mike Schrag (mschra..dimension.com)
Date: Sun Dec 16 2007 - 10:17:19 EST

  • Next message: James Cicenia: "Velocity Template _Entity Error Question"

    You need to either put the template file in one of the paths that
    VeloEOGen looks in by default (~/Library/Application Support/WOLips/
    EOGenerator/_Entity.java, among a couple others); or inside your eogen
    file you need to set template path to the _folder containing_
    _Entity.java, and if it's named something other than _Entity.java, you
    need to also set template name. Note that template name is ONLY a
    name, not a full path. Also, make sure you're using a somewhat recent
    (meaning more recent than about two weeks old) because there was a bug
    a couple weeks ago about overriding path. Personally I would
    recommend doing the ~/Library/App.. folder -- it's less pain.

    ms

    On Dec 16, 2007, at 6:47 AM, Tom Woteki wrote:

    > Yes I have an eogen file. I have described what happens when I right
    > click on it. That is, EOGenerate is not picking up the changes I
    > made to _Entity.java.
    >
    > Tom
    >
    >
    > On Dec 15, 2007, at 11:17 PM, John Huss wrote:
    >
    >> Do you have an .eogen file? If so, you can right-click it and
    >> select "EOGenerate". Otherwise the generator runs whenver the
    >> model is saved.
    >>
    >> John
    >>
    >> On Dec 15, 2007 7:06 PM, Tom Woteki < drw..oteki.com> wrote:
    >> Hi:
    >>
    >> I am using EOGenerate with Velocity templates. I generated using the
    >> stock versions of _Entity.jav and Entiry.java. Now I have made some
    >> changes to _Entity but the changes are not recognized.
    >>
    >> I have:
    >> - quit Eclipse and restarted
    >> - deleted the original generated .java files then regenerated
    >> - logged out and back in
    >> - pointed the "Template" field in xxx.eogen to a renamed version of
    >> _Entity.java
    >> - etc ad nauseam
    >>
    >> Nothing I do seems to have an effect. The _xxx.java files that are
    >> generated are always the same as the very first generation.
    >>
    >> What do I need to do for the changes to be processed?
    >>
    >> Thanks
    >> Tom
    >>
    >>
    >



    This archive was generated by hypermail 2.0.0 : Sun Dec 16 2007 - 10:18:29 EST