I want to get my compilation settings out of the Flash Builder UI and into a config.xml file. I mainly want to do this so individuals on my team that do not have Flash Builder can still compile projects. I've defined a config file like so (simplified):
<flex-config>
<compiler>
<library-path append="true">
<path-element>C:\Libraries\someLibrary.swc</path-element>
</library-path>
</compiler>
</flex-config>
And I've added the following compiler argument in Flash Builder under the Project Properties -> Flex Compiler -> Additional compiler arguments area:
-load-config+=config\myCustomConfig.xml
When I do this, I get inline errors in my project files that have references to classes in someLibrary.swc
. Am I doing something wrong here, or is this not possible? It's maddening to me that we would have to maintain a number of settings in two places. If this is not possible, what do other people do to get around this? Simply switch to compiling with ANT entirely and missing out on inline compiler errors?