Specifying a flex-config.xml with Maven / Flex Mojos

Posted by Sophistifunk on Stack Overflow See other posts from Stack Overflow or by Sophistifunk
Published on 2010-05-19T03:20:33Z Indexed on 2010/05/19 3:50 UTC
Read the original article Hit count: 589

Filed under:
|

I have to port an existing project to Maven, and it includes a resource called "config.xml" that is copied to the deploy directory alongside the SWF and HTML, and loaded at run-time to locate a bunch of WSDLs.

Flex Mojos has taken it upon itself to assume that my xml file is a flex-config file with instructions for the compiler, which of course promptly gives up the ghost.

The question is: How do I specify a named config file for the compiler so that Maven stops this nonsense (as well as specifying my compile-time options)?

© Stack Overflow or respective owner

Related posts about flex

Related posts about maven-2