You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Rick <ri...@gmail.com> on 2008/11/17 04:55:59 UTC
ibator.. disable all the comments in pojos?
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
Re: ibator.. disable all the comments in pojos?
Posted by Jeff Butler <je...@gmail.com>.
Something's wrong with the plugin in 3.4. I'm not sure what it is -
but am working on the new ibator plugin in instead. Hopefully soon -
although I have not as much time to work on it as I want to.
Jeff Butler
On Sun, Nov 16, 2008 at 9:01 PM, Rick <ri...@gmail.com> wrote:
> 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 <je...@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 <ri...@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
>>>
>>
>
>
>
> --
> Rick
>
Re: ibator.. disable all the comments in pojos?
Posted by Rick <ri...@gmail.com>.
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 <je...@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 <ri...@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
>>
>
--
Rick
Re: ibator.. disable all the comments in pojos?
Posted by Jeff Butler <je...@gmail.com>.
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 <ri...@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
>