Link report files for Flex with multiple modules overwrite each other

I am using the link-report option in Flex Builder 3 to try and track dependencies in Flex application modules.

However, a different report is generated for each module, and they all use the same file name to overwrite each other!

Is there a way to generate separate files for each module - without having to create a file collection to copy them as they are created!

I use the following command line arguments:

-locale en_US -link-report=linkreport.xml -optimize

Ideally, I would like something like -locale en_US -link-report=linkreport_%MODULE%.xml -optimize , but I don’t know if this is possible?

+4
source share
2 answers

I agree, this is annoying and should be supported by the compiler.

The not-so-elegant approach (assuming that your modules and the main swf are all in the same project) is to create a project and send the original folder back to the original project's original folder, but with a different output folder.

Now compile only the module, and you can get a link report for the module only.

Crummy approach, but useful for getting-er-done when trying to track link leaks.

0
source

I think you are using dependent modules. If you use independent modules, they will have their own classes and will not be shared with the main application and may give you the desired results.

-1
source

All Articles