【发布时间】:2009-04-22 00:37:41
【问题描述】:
好吧,我被难住了。
我有一个看起来像相当典型的 Eclipse Java 构建的 Java 树:
myproject
src
com
example
test
// Java files in com.example.test here
bin
com
example
test
// Compiled class files will go here
现在我在myproject/src/com/example/test 中有一个MyClass.properties 文件以及源Java 文件。如何编写适当的 ant 任务以将源树中所有更改的 .properties 文件复制到构建 (myproject/bin) 树中的相应位置?
(其中较容易的一半是进行实际复制;我猜这其中较难的一半是检查依赖项)
【问题讨论】:
标签: java ant properties