【问题标题】:Run ant exec task from different folder从不同的文件夹运行 ant exec 任务
【发布时间】:2012-08-09 21:23:07
【问题描述】:

我想在我的 grails 项目中运行我的“exec grails”任务。我在 exec 任务中设置了圣杯路径,例如

 <exec executable="${grails}"

怎么说呢,那个 exec 应该从我的项目文件夹开始?

【问题讨论】:

    标签: deployment ant build continuous-integration


    【解决方案1】:

    来自exec Ant task documentation

    属性 描述 dir 应该在其中执行命令的目录。
    <exec executable="${grails}" dir="${my.project.dir}">
    

    【讨论】:

      猜你喜欢
      • 2012-01-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-03-31
      • 2011-04-25
      • 2015-11-22
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多