Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 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">