Skip navigation
Currently Being Moderated

Migrated to FB 4.6 and ant build fails

Jun 26, 2012 8:30 AM

Tags: #problem #flash_builder #build #compile #4.6

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


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:




            fork="true" incremental="true"




            <namespace uri="" manifest="${FLEX_HOME}/frameworks/mxml-manifest.xml"/>

            <include-namespaces uri=""/>

            <namespace uri="library://" manifest="${FLEX_HOME}/frameworks/mx-manifest.xml"/>

            <include-namespaces uri=">library://"/>


            <load-config filename="${build.flex-config}"/>

            <theme dir="${FLEX_HOME}/frameworks/themes/Halo">

              <include name="halo.swc" />



            <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 dir="${FLEX_HOME}/frameworks/libs">

                <include name="*.swc"/>


            <external-library-path dir="${FLEX_HOME}/frameworks/libs/mx">

             <include name="*.swc"/>


            <external-library-path dir="${FLEX_HOME}/frameworks/locale/en_US">

                <include name="*.swc"/>




Please advise.


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points