« Return to Thread: Pretty Printing in Generated Help Goal

Re: Pretty Printing in Generated Help Goal

by Vincent Siveton :: Rate this Message:

Reply to Author | View in Thread

Hi Benjamin,

2008/5/9, Benjamin Bentmann <benjamin.bentmann@...>:
> Hi,
>
>  The help goal that gets generated by the Maven Plugin Tools 2.4 contains
> various internal utility methods (e.g. toLines()) that do some pretty
> printing of long descriptions at execution time of the help goal.
>
>  Any reason why we couldn't do all this line breaking and indentation stuff
> right beforehand when generating the source code for the help mojo?

IIRC the main reason to have toLines() in the generated class is to
control the ouput, ie getting user configuration like max buffer or
indentation and providing the specific output.

Cheers,

Vincent

>
>  Benjamin
>
> ---------------------------------------------------------------------
>  To unsubscribe, e-mail: dev-unsubscribe@...
>  For additional commands, e-mail: dev-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

 « Return to Thread: Pretty Printing in Generated Help Goal