ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wray, Nathan" <>
Subject RE: Creating a fileset from a list of filenames
Date Tue, 03 Nov 2009 18:33:20 GMT
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.


The contents of this e-mail are intended for the named addressee only. It contains information
that may be confidential. Unless you are the named addressee or an authorized designee, you
may not copy or use it, or disclose it to anyone else. If you received it in error please
notify us immediately and then destroy it.

From: David Weintraub [] 
Sent: Tuesday, November 03, 2009 12:34 PM
To: Ant Users List
Subject: Re: Creating a fileset from a list of filenames

Just curious: Why are you using Ant for this?

Why not have a post-commit script that runs the check on these files?

Or, even better, use Hudson which is a continuous build system. It'll
automatically run your build everytime someone does a Subversion
Plus, it has a CheckStyle plugin which easily find the new files, run
against them, and report back.

Hudson: <>
CheckStyle Plugin for Hudson: <>

By the way, if you are able to get your files into a path, you can use
AntContrib  <for> or <foreach> tasks to parse through this list and run
checkstyle on each of these.

David Weintraub

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message