Idealism is what precedes experience; cynicism is what follows...

Sunday, June 15, 2008

Adobe Flex : Linkreports

An important tool when trying to examine an application with the objective to divide it into modules and libraries or generally if you want to understand your application better, is the linkreport compiler option.

Adding the following to your compiler options will print a linkreport upon a successful compile. A linkreport is an XML file which lists all type definitions included in the output as well as the classes it depends on, but has not included.

-linkreport=[FileLocation][Filename].xml
eg. -linkreport=../reports/Linkreport.xml

It will generate the file on disk relative to the BIN directory, so if you want to place the linkreport in a separate directory on level with the BIN directory you have to append ../ to the beginning of the value.

No comments:

Blog Archive

My Network