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 checkin.
Plus, it has a CheckStyle plugin which easily find the new files, run
against them, and report back.

Hudson: <https://hudson.dev.java.net/>
CheckStyle Plugin for Hudson: <
http://wiki.hudson-ci.org//display/HUDSON/Checkstyle+Plugin>

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

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

Reply via email to