1

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.

4

1 回答 1

1

您无法使用基于 Ant 的构建器执行此操作。相反,您需要实现自己的增量构建器,扩展扩展点org.eclipse.core.resources.builders。但由于这将是一项巨大的工作,因此更有效的解决方法可能是仅过滤 Ant 脚本本身。

于 2012-07-22T05:18:40.420 回答