gpt4 book ai didi

apache-flex - 如何使用 ant mxmlc 编译器忽略警告

转载 作者:行者123 更新时间:2023-12-04 18:16:44 25 4
gpt4 key购买 nike

我正在使用 ant mxmlc 任务来构建我的项目。我希望使用 ant mxmlc 任务忽略使用 flex sdk 生成的编译器警告。我需要对我的构建脚本做些什么才能让这些被忽略?

谢谢

最佳答案

添加警告=“假”

例子:

<mxmlc file="${SRC_DIR}/MainApplication.mxml" output="${OUTPUT_DIR}/MainApplication.swf' link-report="report.xml" compiler.optimize="true" keep-generated-actionscript="false" warnings="false" debug="false" strict="true" benchmark="true">

关于apache-flex - 如何使用 ant mxmlc 编译器忽略警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11518964/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com