Delete unused source files with eclipse / Flash builder 4.6

I have a project with a large number of files, about 4500 files in the whole project. I separated it in 40 library projects. Now my problem is that it takes too much time to compile. therefore I am increasing the memory of the Flash builder. This gives me a slight improvement for compilation. I am sure that I have too many files that are not used in my project. so now I want to remove it using the built-in Flash Builder / Eclipse. Because there is too much headache to see that the file "xyz.as/mxml" is used in any other file, or if it is used in another file, say "abx.as/mxml", then again I have a question that "abx. as / mxml" is a useful file or used in any other file. so you have an idea or a hint, please give me.Thanks in advance...

+5
source share
3 answers

You can try to use size-reportyour flex compilation: flex compiler options This way, you will have an idea of ​​what classes are really used in your libraries, and therefore they are not related to the fact that the flex compiler refers only to the classes that you really need in the compiled swf. This is not ideal, but it can avoid many manual pain processes.

+1
source

Add this parameter to your compiler:

-link-report output.xml

this information will help you.

+1
source

, flash-builder, Java UCDetector.

0

All Articles