Flash Builder 4.5 中的链接报告不生成输出文件
理想情况下,这是我在过去几个小时的搜索中忽略的简单内容,但在 Flash Builder 4.5 中包含“link-report”编译器命令时,我似乎无法生成任何输出。
我尝试了网上看到的几种不同的语法:
-linkreport filename.xml
-link-report=文件名.xml
-link-report C:\fullpath\filename.xml
-link_report filename.xml
但当我运行、构建或调试项目时绝对不会创建任何内容。 =(
关于可能导致此问题的任何想法?也许是其他应用程序设置?该项目相对较新,没有很多自定义设置,所以我认为它可能与应用程序或配置相关?
感谢您的帮助!
This is ideally something simple I've overlooked in the past several hours of searching, but I can't seem to generate any output when including the "link-report" compiler commands in Flash Builder 4.5.
I've tried several different syntaxes that I've seen online:
-linkreport filename.xml
-link-report=filename.xml
-link-report C:\fullpath\filename.xml
-link_report filename.xml
but absolutely nothing gets created when I run, build, or debug the project. =(
Any ideas about what might be causing this? Other application settings perhaps? The project is relatively young and doesn't have many custom settings so I'm thinking it is maybe application or config related?
Thanks for your help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
直接从命令行使用 Flex (mxmlc) 编译器,而不是从 Flash Builder(如果面向 AIR,则为 amxmlc)。例如:
${FLEX_HOME}/bin/mxmlc -size-report=$SIZE_REPORT_OUTPUT_PATH -link-report $LINK_REPORT_OUTPUT_PATH -debug=$IS_DEBUG -load-config $FLEX_CONFIG -source-path $SRC_DIR -define=CONFIG::DEBUG,$ IS_DEBUG -define=CONFIG::FLASH_AUTHORING,$IS_FLASH_AUTHORING -define=CONFIG::IS_RELEASE,$IS_RELEASE -- ${TARGET_NAME}.as
(其中自然定义了 ${VARIABLE} 或 $VARIABLE)
Use the Flex (mxmlc) compiler from the command-line directly, rather than from Flash Builder (amxmlc if targeting AIR). For example:
${FLEX_HOME}/bin/mxmlc -size-report=$SIZE_REPORT_OUTPUT_PATH -link-report $LINK_REPORT_OUTPUT_PATH -debug=$IS_DEBUG -load-config $FLEX_CONFIG -source-path $SRC_DIR -define=CONFIG::DEBUG,$IS_DEBUG -define=CONFIG::FLASH_AUTHORING,$IS_FLASH_AUTHORING -define=CONFIG::IS_RELEASE,$IS_RELEASE -- ${TARGET_NAME}.as
(where ${VARIABLE} or $VARIABLE are defined, naturally)
-link-report myLinkReport.xml
在 FlashBuilder 4.7 中适用于我
-link-report myLinkReport.xml
That works for me in FlashBuilder 4.7