Rainer Hermanns wrote:

>I just traced down this strange behaviour and found out the following:
>
>checkstyle.dvsl is correct in its generation of documents, but the
>src.dir directive in $maven_home/build-maven.xml for the check-source
>task does not strip out prefixes to "real" source paths ( here:
>${src.dir}/java ).
>
>To suggest a solution, I think it would be useful, to create a wrapper
>task for checkstyle, which maps the directories as correctly as the jxr
>task does, recursively down from $src.dir with each "sub module" checked
>separately.
>
>What do think about this solution?
>

Why not ...
Maybe would it be easier to strip out prefixes in checkstyle.dvsl, using 
string utils
or something. (I don't know the o.a.commons.strings package, so I can't 
tell what is
possible ...)
The problem is that one can't know what is the name of the parent directory.
Something like $path.Parent could do it (I don't know if that is present 
in any
tools available to checkstyle.dvsl )

The creation of a wrapper is probably a too big workaround for a simple 
"bug" as
this one.

St�phane


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to