On Fri, 8 Mar 2002 16:13, Leif Mortenson wrote:
> See the Doxygen task on http://jakarta.apache.org/ant/external.html

Another idea you may want to look at is JDepend task. You can generate a 
report of dependencies between packages and so forth. I also have written 
JUnit tests that check things - see an example in CVS at 

jakarta-ant/proposal/myrmidon

The junit test verifies that there are no circular dependencies, that there 
are no "bad" inter-apcakge dependencies. ie I make sure that the whole 
org.apache.aut tree does not depend on anything in org.apache.myrmidon or 
org.apache.antlib and org.apache.myrmidon.api does not depend on anything etc.

> Another thing that we have implemented is the use of the checkstyle task
> in Ant.  It goes
> through and checks the style of classes making sure amongst other things
> that methods
> and lines are not too long as well as making sure that all methods and
> fields have dovadocs
> for all parameters exceptions and return values.
>
> See the CheckStyle task on http://jakarta.apache.org/ant/external.html

+1

I actually started doing this locally but it not support all the avalon 
idioms but still better than nothing ;) Have you had any better luck ?

I was also thinking of integrating JRefactortys pretty printer into the build 
at one stage but got lazy ;)

> Let me know what you think about these two ideas and Me or Ryan will
> provide more info.

BTW Is Ryan a committer yet ? :)

-- 
Cheers,

Pete

*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power."          |
|       -Abraham Lincoln                               |
*------------------------------------------------------*


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to