【问题标题】:How do I catch mxmlc ant task failure如何捕获 mxmlc ant 任务失败
【发布时间】:2011-07-01 14:27:35
【问题描述】:

我尝试过使用haltonfailure="false"failureproperty="compile.failed",但是当我尝试运行它时,ant 会抛出一个错误:"The <mxmlc> type doesn't support the "haltonfailure" attribute."

如果 mxmlc 任务失败,我需要在构建脚本退出之前进行一些清理,我该如何实现?

【问题讨论】:

标签: flash ant mxmlc


【解决方案1】:

考虑ant-contrib try-catch 支持。

【讨论】:

    猜你喜欢
    • 2011-09-15
    • 2014-03-09
    • 1970-01-01
    • 1970-01-01
    • 2012-01-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-09-13
    相关资源
    最近更新 更多