Eclipse autobuilder on certain file extensions
===

I'm setting up an Eclipse autobuilder to run the closure template compiler.  I've already got an ant task setup and running automatically whenever any file changes.  How can I set it up so that it only runs when I change a *.soy file?

I see that I can use a directory as a set of "relevant files," but my *.soy files may be scattered throughout the whole project.