确定 Flex 应用程序中的链接依赖性 [英] Determining linkage dependencies in Flex applications

查看:20
本文介绍了确定 Flex 应用程序中的链接依赖性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含两个应用程序的大型 Flex 项目.许多代码在这些应用程序之间共享.但是,较小的应用程序不需要较大的应用程序所需的大量代码.我正在努力确保较小的应用程序不需要的代码不会被编译到其中.

I have a large Flex project with two Applications in it. A lot of code is shared between these Applications. However, the smaller of the Applications does not require much of the code that the larger one does. I'm trying to ensure that code that isn't required by the smaller application isn't getting compiled into it.

是否有一种简单的方法可以让我确定我的项目中的哪些文件正在被编译到特定的应用程序中?

Is there an easy way for me to determine which files within my project are being compiled into a particular Application?

推荐答案

啊,我在发布后不久就找到了解决方案.

Ah, I managed to discover the solution to this shortly after posting.

Flex 编译器支持 -link-report 标志,该标志可生成一个 XML 文件,该文件描述项目中应用程序的所有链接依赖项.

The Flex compiler supports a -link-report flag that produces an XML file which describes all of the linkage dependencies for the applications in your project.

Flex 2 文档:http://www.adobe.com/livedocs/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=performance_118_19.html

Flex 3 文档:http://livedocs.adobe.com/flex/3/html/help.html?content=modular_4.html

这篇关于确定 Flex 应用程序中的链接依赖性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆