We are trying to migrate to Flash Builder 4.6. Code compiles ok with eclipse but fails to compile with ant.
Keep getting the following error:
[compc] Error: could not find source for class mx.core:ScrollControlBase in namespace http://www.adobe.com/2006/mxml.
We are not using the ScrollControlBase class in the code so not sure why it fails on that.
The compc task s pretty straight forward and looks like this:
<compc
output="${temp}/test.swc"
fork="true" incremental="true"
include-classes="${xml.includeClasses.classEntry.path}"
target-player="13"
>
<namespace uri="http://www.adobe.com/2006/mxml" manifest="${FLEX_HOME}/frameworks/mxml-manifest.xml"/>
<include-namespaces uri="http://www.adobe.com/2006/mxml"/>
<namespace uri="library://ns.adobe.com/flex/mx" manifest="${FLEX_HOME}/frameworks/mx-manifest.xml"/>
<include-namespaces uri=">library://ns.adobe.com/flex/mx"/>
<load-config filename="${build.flex-config}"/>
<theme dir="${FLEX_HOME}/frameworks/themes/Halo">
<include name="halo.swc" />
</theme>
<jvmarg value="-Xmx512M"/>
<jvmarg value="-Xms256M"/>
<source-path path-element="${FLEX_HOME}/frameworks/themes" />
<external-library-path dir="${FLEX_HOME}/frameworks/libs/player/13.0">
<include name="*.swc"/>
</external-library-path>
<external-library-path dir="${FLEX_HOME}/frameworks/libs">
<include name="*.swc"/>
</external-library-path>
<external-library-path dir="${FLEX_HOME}/frameworks/libs/mx">
<include name="*.swc"/>
</external-library-path>
<external-library-path dir="${FLEX_HOME}/frameworks/locale/en_US">
<include name="*.swc"/>
</external-library-path>
</compc>
Please advise.
North America
Europe, Middle East and Africa
Asia Pacific