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 Mississippi John Hurt <jo...@gmail.com> on 2006/08/16 20:13:58 UTC

How tell Abator to Not Put Comments in Generated Code?

Hi,

How can I configure Abator to not generate comments in the generated code,
for instance model properties and get/setters?  Thanks.

Re: How tell Abator to Not Put Comments in Generated Code?

Posted by Mississippi John Hurt <jo...@gmail.com>.
That's fine, its not a big deal. I just sort the properties block, then
remove the comments in a single block, delete the get/setters, then just
have eclipse re-generate the get/setters. It works fine. Thanks!

On 8/16/06, Jeff Butler <je...@gmail.com> wrote:
>
> The Javadoc comments are required in Abator for merge purposes.  So
> there's not an option to turn them off.
>
> If you're using Eclipse, I suppose you could write a Javadoc comment
> remover plugin fairly easily - but this would disable the Abator merge
> function.  Usually people want more comments, not less :)
>
> Would you like to see different things in the Javadoc comments?
>
> Jeff Butler
>
>
> On 8/16/06, Mississippi John Hurt <jo...@gmail.com> wrote:
> >
> > Hi,
> >
> > How can I configure Abator to not generate comments in the generated
> > code, for instance model properties and get/setters?  Thanks.
> >
> >
>
>

Re: How tell Abator to Not Put Comments in Generated Code?

Posted by Jeff Butler <je...@gmail.com>.
The Javadoc comments are required in Abator for merge purposes.  So there's
not an option to turn them off.

If you're using Eclipse, I suppose you could write a Javadoc comment remover
plugin fairly easily - but this would disable the Abator merge function.
Usually people want more comments, not less :)

Would you like to see different things in the Javadoc comments?

Jeff Butler


On 8/16/06, Mississippi John Hurt <jo...@gmail.com> wrote:
>
> Hi,
>
> How can I configure Abator to not generate comments in the generated code,
> for instance model properties and get/setters?  Thanks.
>
>