ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Weintraub <qazw...@gmail.com>
Subject Re: Creating a fileset from a list of filenames
Date Wed, 04 Nov 2009 15:15:32 GMT
>
> On Tue, Nov 3, 2009 at 1:33 PM, Wray, Nathan <Nathan.Wray@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
qazwart@gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message