开发者

Apache Ant difference - exec vs apply

Can anyone tell me the开发者_JAVA技巧 difference between <exec> and <apply> in Apache Ant?


The main difference is that apply works for a resource collection - fileset, dirset and the like - so you can, for example, run a script once for each member of a fileset. exec doesn't operate on a fileset; each instance of the task only runs a single external program. Otherwise the tasks are quite similar.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜