Just wanna post a solution to a problem I just had:

My library project's SWC ended up being > 1MB when compiled with
flexmojos, and the catalog.xml contained lots of mx collections
classes and other stuff.

Turns out I need to set the scope of dependencies such as the Flex
Framework to external. As described on this page:
https://docs.sonatype.org/display/FLEXMOJOS/Adding+libraries+to+compilation


What I found quite useful (when finding out why stuff compiles in
FlashBuilder but not the same with flexmojos) is to make FlashBuilder
write the compile config to a file:

Open the properties of your project in FB, and add the following to
the "Addtional compiler args":

 -dump-config c:\\compile-config.xml

Looking at that config file gave me the insight about the external
stuff I had to add.

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to