Note that there are some explanatory texts on larger screens.

plurals
  1. POFlex-Ant: mxmlc doesn't support the "file" attribute
    text
    copied!<p>Just moved my Flex app onto Ant with a basic ant script and I am getting this stupid error: mxmlc doesn't support the "file" attribute. I looked through docos and it seems that my code is right, so hows it going. </p> <p></p> <pre><code>&lt;!-- load previously defined configuration properties file --&gt; &lt;property file="build.properties" /&gt; &lt;!-- points to our flexTasks.jar we copied to the libs folder to distribute with the project --&gt; &lt;taskdef resource="flexTasks.tasks" classpath="${basedir}/libs/flexTasks.jar"/&gt; &lt;!-- delete and recreate the DEPLOY dir --&gt; &lt;target name="init"&gt; &lt;delete dir="${DEPLOY_DIR}" /&gt; &lt;mkdir dir="${DEPLOY_DIR}" /&gt; &lt;/target&gt; &lt;!-- Build and output the Main.swf--&gt; &lt;target name="compile flex project" depends="init"&gt; &lt;mxmlc file="${SRC_DIR}/DNASupport.mxml" actionscript-file-encoding="UTF-8" keep-generated-actionscript="false" incremental="true" optimize="true" output="${DEPLOY_DIR}/Main.swf"&gt; &lt;license product="flexbuilder3" serial-number="137740016118223699076222" /&gt; &lt;load-config filename="${FLEX_HOME}/frameworks/flex-config.xml" /&gt; &lt;source-path path-element="${app_root_dir}/src" /&gt; &lt;source-path path-element="${FLEX_HOME}/frameworks" /&gt; &lt;load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/&gt; &lt;source-path path-element="${FLEX_HOME}/frameworks"/&gt; &lt;compiler.debug&gt;false&lt;/compiler.debug&gt; &lt;/mxmlc&gt; &lt;/target&gt; </code></pre> <p></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload