Skip navigation
eilon_yardeni
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 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.

 

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