Hi, I am building up an ANT task which is giving me some grief when the
compilation occurs.
I have 3 SWC's. One of them contains a few movieclips I converted to a SWC to
use as animated graphics in my UI.
FlexBuilder compiles the file with no problems. When I run ANT task and it hits
the mxmlc action it throws an error and says
"Error: Type was not found or was not a compile-time constant"
this is the compiler part of the ANT task.
<mxmlc file="${SRC_DIR}/SprintMain.mxml" output="${DEPLOY_DIR}/@{dir}/Main.swf">
<load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>
<source-path path-element="${FLEX_HOME}/frameworks"/>
<compiler.library-path dir="${LIBS_DIR}" append="true">
<include name="FlexUnit.swc" />
<include name="fonts.swc" />
<include name="userInterfaceSwc.swc" /> // I have tried removing the .swc
but still no luck
</compiler.library-path>
</mxmlc>
Am I missing something from the args?
thanks
MaTT