Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove unused source code files using eclipse/ Flash builder 4.6

i have a project having lots of file, around 4500 file in all Project. i separated it in 40 library project.Now my problem is that it taking too much time to Compile. so i increase a memory of Flash builder. This gives me little improvement to compile. i am sure that i have too much file which is not used in my project. so now i want to remove it by plug of Flash Builder / Eclipse. Because it is too much headache process to see that "xyz.as/mxml" file is used in any other file or if it is used in Other file say "abx.as/mxml" then again i have a question that "abx.as/mxml" is useful file or used in any other file. so you have any idea or hint please give me. Thanks in advance...

like image 847
JK Patel Avatar asked Nov 03 '22 03:11

JK Patel


2 Answers

One thing you can try is to use the size-report of your flex compilation : flex compiler options This way you will have an idea of which classes are really used in your libraries and therefore wich ones aren't because the flex compiler only link to classes you really need in your compiled swf. This not ideal but it can avoid a lot of manual process pain.

like image 136
benzonico Avatar answered Nov 08 '22 03:11

benzonico


Add this param to your compiler:

-link-report output.xml

this information will help you.

like image 39
Vipul Avatar answered Nov 08 '22 05:11

Vipul