Mike 8.18.2011

Started working on moving the report viewing flex application to the new build structure and ran in to some problems building modules with maven.  So I decided to find out why the files built with maven differ so much from those built with flash builder.  It turns out to be quite a rabbit hole.  Here’s the best article I’ve found so far:

http://workflowflash.com/122648/make-flex-mojos-maven-project-behave-like-flashbuilder.php

Basically you have to add the following command to your ‘additional compiler arguments’ in flash builder, ‘-dump-config filename.xml’, and add the following to your maven build, ‘<configurationReport>true</configurationReport>’.   These will output files detailing all compiler arguments, linked libraries, etc.  Then the name of the game is make one look like the other.  Each file of compiler arguments in only about 700 lines long… so how hard could it be.

Here’s the latest pom:

http://www.fgmdev.com:8081/nexus/content/repositories/snapshots/com/fgm/webdesk/webdesk-client/0.0.2-SNAPSHOT/webdesk-client-0.0.2-20110818.180855-9.pom