>
> On Tue, Nov 3, 2009 at 1:33 PM, Wray, Nathan <nathan.w...@compuware.com>wrote:
> Hi David,
>
> It has to do with the procedures I'm trying to piggyback onto.  The ant
> target creates some required code review documentation.  The goal is to
> have the ant target fail, rather than having the commit fail as you
> typically would with a pre-commit hook script (or a report as you might
> with a post-commit hook script).  We're using Hudson as well, but again,
> it doesn't help me run checkstyle at the point that I need to run it.
>

Will the <for> or <foreach> task help in this circumstance?

If I understand it, you already have a list of files separated by
semicolons, and all you need is someway to run checkstyle on these. The
<for> and <foreach> will work on such a list without having to convert it
into a fileset. and the CheckStyle Ant task can work on individual files.

-- 
David Weintraub
qazw...@gmail.com

Reply via email to