ITeye博客

在ant中多个任务串行运行方法

jackini · 2007-01-10 10:20 · J2EE · Markdown

把几个任务串起来,弄一个default target

  <target name="all">
  <antcall target="clean" />
  <antcall target="build" />
  <antcall target="warfile" />
  </target>

评论(1)

  1. #1 楼 · brucelee80 · 2012-04-16 21:20

    07年的帖子。。。

    The called target(s) are run in a new project; be aware that this means properties, references, etc. set by called targets will not persist back to the calling project.

    建议使用depends

评论功能维护中,当前仅展示历史评论。