确定联动依赖Flex应用程序 [英] Determining linkage dependencies in Flex applications

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

问题描述

我有一个大的Flex项目,在这两个应用程序。很多code为这些应用程序之间共享。然而,应用程序的小并不需要多大的code。该较大的人能。我想,以确保不要求较小的应用程序是没有得到编译到它的code。

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编译器支持生成描述项目中的所有的联系依赖于应用程序的XML文件-link-报告标志。

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文档: <一href="http://www.adobe.com/livedocs/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=performance_118_19.html" rel="nofollow">http://www.adobe.com/livedocs/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Parts&file=performance_118_19.html

Flex 2 Documentation: 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 3 Documentation: http://livedocs.adobe.com/flex/3/html/help.html?content=modular_4.html

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

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