ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick <ric...@gmail.com>
Subject Re: ibator.. disable all the comments in pojos?
Date Mon, 17 Nov 2008 05:01:16 GMT
Thanks for the reply Jeff. Actually, does this plugin work in eclipse
3.4.1? I tried to install from the updates url within eclipse and I
got warnings about it not working and never saw anything really show
up? (currently I'm using it manually from the command line with ant)

In regard to why I care about the comments, it's more of a personal
preference I guess.. since I like to see the properties all listed
neatly up top. Also, I'll be adding stuff to the class such as equals
and hashCode and if I need to a new property I'll probably just add it
manually rather than regenerate with ibator. It's not that big a deal
though having the comments. I can deal with it:)

On Sun, Nov 16, 2008 at 11:26 PM, Jeff Butler <jeffgbutler@gmail.com> wrote:
> Yes, you do.  The comments are required for the functioning of the
> Java merge function in the Eclipse plugin.  And hopefully, someday,
> I'll have the time to enable this function outside of Eclipse.  I
> intend to make it an intentional, thoughtful, and somewhat difficult
> process to turn them off.
> Sorry...sort of.
> It's generated code!  Why do you care what it looks like?
> Jeff Butler
> On Sun, Nov 16, 2008 at 7:55 PM, Rick <rickcr@gmail.com> wrote:
>> Do I really need to make my own comment generator (or modify the
>> source) just to disable all the ibator comments generated for the
>> pojos? I know they have commentGenerator but that only lets you
>> disable the date as far as I can tell. I don't want any of the
>> comments in my pojos (and would prefer my properties all the top
>> single spaced, but I can format that later.)
>> --
>> Rick


View raw message