I'm getting an error when trying to build a flex4 project with Ant. This code works when i don't have a custom namespace for exporting CustomComponent (aka: it builds just fine normally) - but as soon as i add the namespace and include-namespaces, i get the following error:
[compc] CustomComponent.mxml(235): Error: Could not resolve <mx:LineChart> to a component implementation.
[compc]
[compc] <mx:LineChart x="0" y="0" id="lch_fps" width="651" height="45" dataProvider="{perfData}">
[compc]
This is my compc block (i'm building a swc)
<compc output="${DEPLOY_DIR}/${LIB_TITLE}.swc" include-classes="${classes}" incremental="false" >
<define name="CONFIG::Debug" value="${DEBUG}"/>
<define name="CONFIG::Release" value="${RELEASE}"/>
<source-path path-element="${basedir}/src"/>
<namespace uri="http://custom.com/mxml" manifest="${basedir}/src/manifest.xml" />
<include-namespaces>http://custom.com/mxml</include-namespaces>
<include-file name="design.xml" path="${basedir}/src/design.xml" />
</compc>
I can't say i've ever run into this: any suggestions?