compc and include-sources

Categories: flex
Written By: sebi

Just a short shout-out.
If the compc complains about unsupported file types, make sure that you explicitly tell him which files to includes:

Even if the LiveDocs says the opposite, like

If you specify a directory, this option includes all files with an MXML or AS extension, and ignores all other files.

the compc tries to include every file in the directory, even the pmd.xml ones. So use something like this:


<include-sources dir="${PROJECT_HOME}/Lib_Interfaces/src" includes="**/*.as **/*.mxm" />

One Response to “compc and include-sources”

  1. Bruce Says:

    Thanks! Kinda hard to compile a .png!

Leave a Reply