flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [3/8] git commit: [flex-asjs] [refs/heads/develop] - Factor out MXMLCClasses into it own swc and build a set of ant scripts to build it and FlexJSUI
Date Tue, 19 Nov 2013 20:40:23 GMT
Factor out MXMLCClasses into it own swc and build a set of ant scripts to build it and FlexJSUI


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/d7e70f9a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/d7e70f9a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/d7e70f9a

Branch: refs/heads/develop
Commit: d7e70f9a0e04141cece1ecc1c3bf8652e27932e3
Parents: 66246d8
Author: Alex Harui <aharui@apache.org>
Authored: Mon Nov 18 21:30:59 2013 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Nov 18 21:30:59 2013 -0800

----------------------------------------------------------------------
 build.properties                                |   65 +
 build.xml                                       | 1179 ++++++++++++++++++
 frameworks/as/build.xml                         |  132 ++
 frameworks/as/projects/FlexJSUI/build.xml       |    2 +-
 .../as/projects/FlexJSUI/src/FlexJSUIClasses.as |   28 -
 .../src/mx/binding/ArrayElementWatcher.as       |   77 --
 .../projects/FlexJSUI/src/mx/binding/Binding.as |   85 --
 .../FlexJSUI/src/mx/binding/BindingManager.as   |   37 -
 .../src/mx/binding/FunctionReturnWatcher.as     |  129 --
 .../FlexJSUI/src/mx/binding/IBindingClient.as   |   33 -
 .../src/mx/binding/IWatcherSetupUtil2.as        |   47 -
 .../FlexJSUI/src/mx/binding/PropertyWatcher.as  |  148 ---
 .../src/mx/binding/RepeaterComponentWatcher.as  |   74 --
 .../src/mx/binding/RepeaterItemWatcher.as       |   74 --
 .../src/mx/binding/StaticPropertyWatcher.as     |  136 --
 .../projects/FlexJSUI/src/mx/binding/Watcher.as |   88 --
 .../FlexJSUI/src/mx/binding/XMLWatcher.as       |  106 --
 .../FlexJSUI/src/mx/core/ClassFactory.as        |  100 --
 .../src/mx/core/DeferredInstanceFromClass.as    |  115 --
 .../src/mx/core/DeferredInstanceFromFunction.as |  131 --
 .../FlexJSUI/src/mx/core/IDeferredInstance.as   |   51 -
 .../projects/FlexJSUI/src/mx/core/IFactory.as   |   39 -
 .../FlexJSUI/src/mx/core/IFlexModuleFactory.as  |  147 ---
 .../src/mx/core/IPropertyChangeNotifier.as      |   40 -
 .../FlexJSUI/src/mx/core/IStateClient2.as       |   31 -
 .../src/mx/events/PropertyChangeEvent.as        |   78 --
 .../src/mx/events/PropertyChangeEventKind.as    |   59 -
 .../FlexJSUI/src/mx/filters/IBitmapFilter.as    |   31 -
 .../FlexJSUI/src/mx/styles/CSSCondition.as      |   61 -
 .../FlexJSUI/src/mx/styles/CSSSelector.as       |   69 -
 .../src/mx/styles/CSSStyleDeclaration.as        |  191 ---
 .../FlexJSUI/src/mx/styles/IStyleManager2.as    |   34 -
 .../FlexJSUI/src/mx/styles/StyleManager.as      |   50 -
 frameworks/as/projects/MXMLCClasses/build.xml   |   69 +
 .../as/projects/MXMLCClasses/compile-config.xml |   44 +
 .../projects/MXMLCClasses/src/MXMLCClasses.as   |   60 +
 .../src/mx/binding/ArrayElementWatcher.as       |   77 ++
 .../MXMLCClasses/src/mx/binding/Binding.as      |   85 ++
 .../src/mx/binding/BindingManager.as            |   37 +
 .../src/mx/binding/FunctionReturnWatcher.as     |  129 ++
 .../src/mx/binding/IBindingClient.as            |   33 +
 .../src/mx/binding/IWatcherSetupUtil2.as        |   47 +
 .../src/mx/binding/PropertyWatcher.as           |  148 +++
 .../src/mx/binding/RepeaterComponentWatcher.as  |   74 ++
 .../src/mx/binding/RepeaterItemWatcher.as       |   74 ++
 .../src/mx/binding/StaticPropertyWatcher.as     |  136 ++
 .../MXMLCClasses/src/mx/binding/Watcher.as      |   88 ++
 .../MXMLCClasses/src/mx/binding/XMLWatcher.as   |  106 ++
 .../MXMLCClasses/src/mx/core/ClassFactory.as    |  100 ++
 .../src/mx/core/DeferredInstanceFromClass.as    |  115 ++
 .../src/mx/core/DeferredInstanceFromFunction.as |  131 ++
 .../src/mx/core/IDeferredInstance.as            |   51 +
 .../MXMLCClasses/src/mx/core/IFactory.as        |   39 +
 .../src/mx/core/IFlexModuleFactory.as           |  147 +++
 .../src/mx/core/IPropertyChangeNotifier.as      |   40 +
 .../MXMLCClasses/src/mx/core/IStateClient2.as   |   31 +
 .../src/mx/events/PropertyChangeEvent.as        |   78 ++
 .../src/mx/events/PropertyChangeEventKind.as    |   59 +
 .../src/mx/filters/IBitmapFilter.as             |   31 +
 .../MXMLCClasses/src/mx/styles/CSSCondition.as  |   61 +
 .../MXMLCClasses/src/mx/styles/CSSSelector.as   |   69 +
 .../src/mx/styles/CSSStyleDeclaration.as        |  191 +++
 .../src/mx/styles/IStyleManager2.as             |   34 +
 .../MXMLCClasses/src/mx/styles/StyleManager.as  |   50 +
 frameworks/js/build.xml                         |   92 ++
 65 files changed, 3903 insertions(+), 2290 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/build.properties
----------------------------------------------------------------------
diff --git a/build.properties b/build.properties
new file mode 100644
index 0000000..854d453
--- /dev/null
+++ b/build.properties
@@ -0,0 +1,65 @@
+################################################################################
+##
+##  Licensed to the Apache Software Foundation (ASF) under one or more
+##  contributor license agreements.  See the NOTICE file distributed with
+##  this work for additional information regarding copyright ownership.
+##  The ASF licenses this file to You under the Apache License, Version 2.0
+##  (the "License"); you may not use this file except in compliance with
+##  the License.  You may obtain a copy of the License at
+##
+##      http://www.apache.org/licenses/LICENSE-2.0
+##
+##  Unless required by applicable law or agreed to in writing, software
+##  distributed under the License is distributed on an "AS IS" BASIS,
+##  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+##  See the License for the specific language governing permissions and
+##  limitations under the License.
+##
+################################################################################
+
+# flex-sdk-description values
+release = Apache Flex (FlexJS) 0.0.1
+release.version = 0.0.1
+
+# override on command line with -Dbuild.number=999 or in local.properties
+build.number = 0
+
+# Flash player version for which player global swc to use
+playerglobal.version = 11.1
+
+# AIR version number
+air.version = 3.9
+
+# Default locale for the SDK
+locale = en_US
+
+qa.dir = ${basedir}/../qa
+asc = ${basedir}/bin/asc
+
+# TextLayputFormat branch. Location of the textLayout directory in the TLF repo.
+#tlf.branch = 
+
+# For Java 7 on Mac OS X, you need an Intel-based Mac running Mac OS X version 10.7.3 
+# (Lion) and above.  Only the 64-bit data model is available so leave this blank.
+# Since ant properties are immutable, if this property is set in the build file before
+# this file is included, setting it to nothing here is a no-op.
+local.d32 =
+
+src.depend = true
+src.debug = on
+
+# JVM options for <compc> and <mxmlc> tasks
+jvm.args = ${local.d32} -Xms64m -Xmx384m -ea -Dapple.awt.UIElement=true
+    # -d32/-d64 for 32-bit/64-bit code model (or don't specify for the default)
+	# -Xms64m: start out with a 64 MB heap
+	# -Xmx384m: allow the heap to grow to 384 MB
+	# -ea: enable Java assertions
+compc.jvm.args = ${jvm.args}
+mxmlc.jvm.args = ${jvm.args}
+
+# JAR Manifest Entries
+manifest.sealed=false
+manifest.Implementation-Title=Apache Flex SDK
+manifest.Implementation-Version=${release.version}
+manifest.Implementation-Vendor=The Apache Software Foundation
+manifest.Implementation-Vendor-Id=org.apache

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
new file mode 100644
index 0000000..c0bad9c
--- /dev/null
+++ b/build.xml
@@ -0,0 +1,1179 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+
+<project name="asjs" default="main" basedir=".">
+
+    <property name="FLEXJS_HOME" location="${basedir}"/>
+    
+    <!-- Required for OSX 10.6 / Snow Leopard Performance. -->
+    <!-- Java 7 on Mac requires OSX 10.7.3 or higher and is 64-bit only -->
+    <!-- local.d32 is set/used in build.properties so this needs to be done first. -->
+    <condition property="local.d32" value="-d32">
+        <and>
+            <os family="windows"/>
+            <equals arg1="${sun.arch.data.model}" arg2="64"/>
+            <equals arg1="${os.arch}" arg2="x86_64"/>
+            <equals arg1="${ant.java.version}" arg2="1.6"/>
+        </and>
+    </condition>
+
+    <property file="${FLEXJS_HOME}/env.properties"/>
+    <property environment="env"/>
+    <property file="${FLEXJS_HOME}/local.properties"/>
+    <property file="${FLEXJS_HOME}/build.properties"/>
+    <property name="FLEX_HOME" value="${env.FLEX_HOME}" />
+
+    <property name="debug" value="true"/>
+    <property name="strict" value="true"/>
+    <property name="javac.src" value="1.5"/>
+    
+    <property name="kit.prefix" value="apache-flex-sdk-${release.version}"/>
+    <property name="source.kit" value="${kit.prefix}-src"/>
+    <property name="binary.kit" value="${kit.prefix}-bin"/>
+      
+    <!-- 
+        Optional jars but should be in place for a real release build.
+        
+        For <grep> put AntelopeTasks_*.jar in this path.
+        See version-update.
+
+        For <rat> apache-rat-0.8.jar and apache-rat-tasks-0.8.jar should be in classpath.
+        See rat-check.
+    -->
+    <path id="anttask.classpath">
+        <fileset dir="${env.ANT_HOME}/lib">
+           <include name="**/AntelopeTasks_*.jar"/>
+           <include name="**/apache-rat*.jar"/>
+        </fileset>
+        <fileset dir="${user.home}">
+           <include name=".ant/lib/**/AntelopeTasks_*.jar"/>
+           <include name=".ant/lib/**/apache-rat*.jar"/>
+        </fileset>
+    </path>
+    
+    <!--
+        Notes: If you're running the main target, then there is no need to call clean first.
+        Each of the main targets for the modules will call clean themselves before proceeding.
+    -->
+
+    <target name="main" depends="prebuild,frameworks,post-build" description="Full build">
+        <tstamp>
+        	<format property="build.datetime" pattern="MM/dd/yyyy hh:mm:ss aa" />
+        </tstamp>
+        <echo>ant main target completed on ${build.datetime}</echo>
+    </target>
+
+    <!-- 
+        Can set build.additional-packages to build additional-packages as part of a release.
+        This does not build the docs.  Use doc-packages or asdoc-packages.
+    -->    
+    <target name="release" 
+        depends="check-compile-env,check-runtime-env,check-goog-env,source-release,binary-release,rat-check"
+        description="Creates source and binary kits for Apache FlexJS."/>
+        
+    <target name="source-release" 
+        depends="super-clean,create-description,create-config,source-package" 
+        description="Packages the source release kit which is the official Apache release."/>
+        
+    <target name="binary-release" 
+        depends="setup-binary-release,main,sample-themes,checkintests,doc,other.locales,binary-package,additional-packages" 
+        description="Builds and packages the binary kit which is provided as a convenience."/>    
+
+    <target name="source-release-noclean" 
+        depends="create-description,create-config,source-package" 
+        description="Packages the source release kit which is the official Apache release."/>
+        
+    <target name="binary-release-noclean" 
+        depends="main,sample-themes,checkintests,doc,other.locales,binary-package,additional-packages" 
+        description="Builds and packages the binary kit which is provided as a convenience."/>    
+
+    <target name="doc-packages" 
+        depends="asdoc-package,javadocs"
+        description="Build and package the asdocs for the framework clases and the javadocs."/>
+                
+    <target name="additional-packages"
+        depends="ja-locale-samples" 
+        description="Package locale-samples and antTasks."/>
+
+    <target name="help">
+        <echo message="run ant -projecthelp to see the available targets"/>
+    </target>
+    
+    <!-- 
+       To clean these you must call thirdparty-clean or super-clean to clean everything.  
+       clean does not remove these since they don't change often and the downloads take time.
+    -->
+    <target name="thirdparty-downloads" description="Downloads all the required thirdparty code.">
+        <ant dir="${basedir}/frameworks/as" target="thirdparty-downloads"/>        
+        <ant dir="${basedir}/frameworks/js" target="thirdparty-downloads"/>
+        <!-- don't ask again about these since we just did if these weren't already set -->	    
+	    <property name="build.noprompt" value="set" />
+    </target>
+
+    <target name="prebuild" depends="check-compile-env,thirdparty-downloads,create-description" 
+        description="Stuff that needs to be done before any builds." />
+
+    <target name="check-compile-env" depends="check-playerglobal-home,check-air-home,check-flex-home,check-falcon-home"
+        description="Check for the required environment variables for compilation.">
+            <echo>OS: ${os.name} / ${os.version} / ${os.arch}</echo>
+            <echo>VM: ${java.vm.name} / ${java.vm.version}</echo>
+            <echo>Java: ${java.version}</echo>
+            <echo>Ant: ${ant.version} Ant Java Version: ${ant.java.version}</echo>
+    </target>
+
+    <target name="check-playerglobal-home" unless="playerglobal.swc.exists"
+        description="Check PLAYERGLOBAL_HOME for both a directory and a swc file">
+
+        <echo message="PLAYERGLOBAL_HOME is ${env.PLAYERGLOBAL_HOME}"/>
+        <echo message="playerglobal.version is ${playerglobal.version}"/>
+
+        <available file="${env.PLAYERGLOBAL_HOME}" 
+            type="dir" 
+            property="PLAYERGLOBAL_HOME.set"/>
+
+        <fail message="The environment variable PLAYERGLOBAL_HOME is not set to a directory" 
+            unless="PLAYERGLOBAL_HOME.set"/>
+
+        <property name="playerglobal.swc" 
+            value="${env.PLAYERGLOBAL_HOME}/${playerglobal.version}/playerglobal.swc"/>
+
+        <available file="${playerglobal.swc}" 
+            type="file" 
+            property="playerglobal.swc.exists"/>
+        
+        <fail message="The file ${playerglobal.swc} does not exist" 
+            unless="playerglobal.swc.exists"/>
+            
+        <echo message="playerglobal.swc is ${playerglobal.swc}"/>
+    </target>
+    
+    <target name="check-air-home" unless="AIR_HOME.set"
+        description="Check that AIR_HOME is a directory">
+        
+        <echo message="AIR_HOME is ${env.AIR_HOME}"/>
+
+        <condition property="AIR_HOME.set">
+            <and>
+                <length string="${env.AIR_HOME}" when="greater" length="0" />
+                <available file="${env.AIR_HOME}" type="dir"/>
+                <!--available file="${env.AIR_HOME}/bin/adt" type="file"/-->
+            </and>
+        </condition>
+        
+        <fail message="The environment variable AIR_HOME must be set to the AIR SDK Kit directory" 
+            unless="AIR_HOME.set"/>
+    </target>
+    
+    <target name="check-flex-home" unless="mxmlc.jar.exists"
+        description="Check FLEX_HOME for both a directory and an exe file">
+
+        <echo message="FLEX_HOME is ${env.FLEX_HOME}"/>
+
+        <available file="${env.FLEX_HOME}" 
+            type="dir" 
+            property="FLEX_HOME.set"/>
+
+        <fail message="The environment variable FLEX_HOME is not set to a directory" 
+            unless="FLEX_HOME.set"/>
+
+        <condition property="mxmlc.jar.exists">
+            <available file="${env.FLEX_HOME}/lib/mxmlc.jar" type="file"/> 
+        </condition>
+        	
+        <fail message="The directory ${env.FLEX_HOME} does not contain mxmlc.jar" 
+            unless="mxmlc.jar.exists"/>
+    </target>
+
+    <target name="check-falcon-home" unless="FALCON_HOME"
+        description="Check TLF_HOME is a directory.">
+        
+        <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+        <available file="${env.FALCON_HOME}" 
+            type="dir" 
+            property="FALCON_HOME"
+            value="${env.FALCON_HOME}"/>
+
+        <fail message="FALCON_HOME must be set correctly for a release build" 
+            unless="FALCON_HOME"/>
+    	
+    </target>
+
+    <target name="check-goog-env" unless="GOOG_HOME.set"
+        description="Check GOOG_HOME is a directory.">
+        
+        <echo message="GOOG_HOME is ${env.GOOG_HOME}"/>
+
+        <available file="${env.GOOG_HOME}" 
+            type="file" 
+            property="GOOG_HOME.set"/>
+
+        <fail message="GOOG_HOME must be set correctly for a release build" 
+            unless="GOOG_HOME.set"/>
+    </target>
+
+    <target name="create-description" description="Generate flex-sdk-description.xml">
+        <tstamp>
+        	<format property="build.number.date" pattern="yyyyMMdd" />
+        </tstamp>
+        <echo message="build.number is ${build.number.date}"/>
+        <echo file="${basedir}/flex-sdk-description.xml">&lt;?xml version="1.0"?&gt;
+&lt;!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+--&gt;
+&lt;flex-sdk-description&gt;
+&lt;name&gt;${release} FP${playerglobal.version} AIR${air.version} ${locale}&lt;/name&gt;
+&lt;version&gt;${release.version}&lt;/version&gt;
+&lt;build&gt;${build.number.date}&lt;/build&gt;
+&lt;/flex-sdk-description&gt;
+        </echo>
+    </target>
+	
+    <target name="create-config" description="Create flex config file">
+        <ant dir="${basedir}/frameworks" target="flex-config" />
+    </target>
+	
+    <target name="setup-binary-release" depends="thirdparty-clean"
+        description="Set properties needed to turn on features for release sdk">       
+	    <!-- 
+	        For a release build, download everything fresh.  
+	        Build changes to the downloads, might not be caught by the refresh logic.
+	        thirdparty-clean should leave this directory empty but just in case...  
+	    -->
+	    <delete dir="${basedir}/in" failonerror="false" includeEmptyDirs="true" />
+        
+        <!-- generate localized compiler message jars -->
+	    <property name="localized.jars" value="true" />
+    </target>
+    
+    <!--
+        Cleanup
+    -->
+    
+    <target name="super-clean" depends="thirdparty-clean,clean" description="Cleans everything including thirdparty downloads."/>
+
+    <target name="thirdparty-clean" description="Removes all thirdparty downloads.">
+        <ant dir="${basedir}/frameworks/as" target="thirdparty-clean"/>
+        <ant dir="${basedir}/frameworks/js" target="thirdparty-clean"/>
+        <delete dir="${basedir}/in"/>
+        <delete dir="${basedir}/lib"/>
+    </target>
+
+    <target name="clean" depends="examples-clean,frameworks-as-clean,frameworks-js-clean,package-clean,checkintests-clean" 
+        description="Full clean excluding thirdparty downloads">
+        
+        <delete file="${basedir}/flex-sdk-description.xml" failonerror="false"/>
+        <delete file="${basedir}/rat*.report" failonerror="false"/>
+        
+        <delete dir="${basedir}/examples" failonerror="false">
+            <include name="**/*.swc"/>
+            <include name="**/*.swf"/>
+        </delete>
+
+        <delete dir="${basedir}/out" failonerror="false" includeEmptyDirs="true"/>
+        <delete dir="${basedir}/temp" failonerror="false" includeEmptyDirs="true"/>
+        <delete dir="${basedir}/tempDoc" failonerror="false" includeEmptyDirs="true"/>
+        <ant dir="${basedir}/asdoc" target="clean" />
+        <ant dir="${basedir}/ide/flashbuilder" target="clean" />
+        <ant dir="${basedir}/mustella" target="clean"/>
+    </target>
+
+    <target name="examples-clean">
+        <ant dir="${basedir}/examples" target="clean"/>
+    </target>
+
+    <target name="frameworks-as-clean">
+        <ant dir="${basedir}/frameworks/as" target="clean"/>
+    </target>
+
+	<target name="frameworks-js-clean">
+        <ant dir="${basedir}/frameworks/js" target="clean"/>
+	</target>
+
+    <target name="package-clean">
+        <delete dir="${basedir}/out" failonerror="false" includeEmptyDirs="true"/>
+        <antcall target="clean-temp"/>
+    </target>
+
+    <target name="checkintests-clean" depends="clean-dependencychecker">
+    </target>
+
+    <target name="player-clean">
+        <delete dir="${basedir}/in/player" failonerror="false" includeEmptyDirs="true"/>
+    </target>
+
+    <!--
+        Build Examples
+    -->
+
+    <target name="examples" description="Build the examples">
+        <ant dir="${basedir}/examples"/>
+    </target>
+
+    <!--
+        Build framework SWCs
+    -->
+
+    <target name="frameworks" description="Full build of all framework SWCs, including resource bundles and themes">
+        <ant dir="${basedir}/frameworks/as">
+            <property name="locale" value="${locale}"/>
+        </ant>
+        <ant dir="${basedir}/frameworks/js">
+            <property name="locale" value="${locale}"/>
+        </ant>
+    </target>
+
+    <target name="other.locales" description="Build resource SWCs for additional locales">
+        <ant dir="${basedir}/frameworks" target="other.locales"/>
+    </target>
+    
+    <target name="sample-themes" description="Build the sample themes">
+        <!--<ant dir="${basedir}/samples/themes/zen" target="main" /> -->
+    </target>
+
+    <target name="javadocs"
+        description="Build javadoc for compiler oem interface">
+        <javadoc destdir="${basedir}/javadoc" useexternalfile="yes" maxmemory="128m">
+            <classpath>
+                <fileset dir="${basedir}/lib">
+                    <include name="flex-compiler-oem.jar"/>
+                </fileset>
+            </classpath>
+            <fileset dir="${basedir}/modules/compiler/src/java/flex2/tools/oem">
+                <include name="*.java"/>
+                <exclude name="**/*.properties"/>
+            </fileset>
+        </javadoc>
+        <mkdir dir="${basedir}/out"/>
+        <zip destfile="${basedir}/out/${kit.prefix}-compiler-api-javadocs.zip" basedir="${FLEX_HOME}/javadoc"/>
+        <delete dir="${basedir}/javadoc" failonerror="false" includeEmptyDirs="true"/>
+    </target>
+
+	<target name="ide" description="Build any ide specific files">
+        <!--<ant dir="${basedir}/ide/flashbuilder" />-->
+    </target>
+    
+    <target name="post-build" depends="ide" description="Handle post-build activities" />
+
+    <!--
+        Build the ASDoc html pages.
+    -->
+    <target name="asdoc" description="asdoc">
+        <ant dir="${basedir}/asdoc" />
+    </target>
+
+    <!--
+        Package up the Apache Flex sources.  Do not include empty directories.
+        
+        Note: even if cleaned, this will package up unversioned files that happen
+        to be in the tree.
+        
+        FixMe: clean needs to clean - add code to detect unversioned files
+    -->
+    <target name="source-package" depends="stage-source,source-package-zip,source-package-tgz"
+        description="Package source files required to build in zip and tar-gzip file">
+    </target>
+
+    <!-- 
+        Packages the source distribution with ZIP.
+    -->
+    <target name="source-package-zip" unless="no.zip">
+        <mkdir dir="${basedir}/out"/>
+        <zip destfile="${basedir}/out/${source.kit}.zip" basedir="${basedir}/temp"/>
+    </target>
+
+    <!-- 
+        Packages the source distribution with TAR-GZIP.
+    -->
+    <target name="source-package-tgz" unless="no.zip">
+        <tar-gzip name="${source.kit}" />
+    </target>
+
+    <target name="stage-source"
+        description="Package source files required to build in zip file">
+
+        <antcall target="clean-temp"/>
+        
+        <copy todir="${basedir}/temp" includeEmptyDirs="false">
+            <fileset dir="${basedir}">
+                <include name="build.xml"/>
+                <include name="build.properties"/>
+				<include name="env-template.properties"/>
+                <include name="flex-sdk-description.xml"/>
+                <include name="CHANGES"/>
+                <include name="LICENSE"/>
+                <include name="NOTICE"/>
+                <include name="README"/>
+                <include name="RELEASE_NOTES"/>
+            </fileset>
+        </copy>
+         
+        <!-- frameworks/as -->
+        <antcall target="stage-framework-as"/>
+
+        <!-- frameworks/as -->
+        <antcall target="stage-framework-js"/>
+
+        <!-- asdoc -->
+        <copy todir="${basedir}/temp/asdoc" includeEmptyDirs="false">
+            <fileset dir="${basedir}/asdoc">
+            	<exclude name="test/**" />
+            </fileset>
+        </copy>  
+
+        <!-- ide -->
+        <copy todir="${basedir}/temp/ide">
+            <fileset dir="${basedir}/ide" >
+            	<include name="flashbuilder/**"/>
+            	<include name="*.sh"/>
+            	<include name="*.bat"/>
+            </fileset>
+        </copy>
+
+        <!-- samples -->
+        <copy todir="${basedir}/temp/examples">
+            <fileset dir="${basedir}/examples" >
+                <exclude name="**/*.swc"/>
+                <exclude name="**/*.swf"/>
+            </fileset>
+        </copy>
+        
+        <!-- templates -->
+        <copy todir="${basedir}/temp/templates">
+            <fileset dir="${basedir}/templates" >
+                <include name="swfobject/**"/>
+                <exclude name="**/*.swf"/>
+                <exclude name="**/swfobject.js"/>
+            </fileset>
+        </copy>
+        
+        <!-- 
+             Source files have Windows line endings.  Most UNIX editors can handle
+             either type of line endings but the converse is often not true.             
+             The bin directory is handled in stage-bin.
+        -->
+        <fixcrlf srcdir="${basedir}/temp" eol="crlf" fixlast="false">
+            <exclude name="bin/**"/>
+            <exclude name="**/assets/**"/>
+            <exclude name="**/*.fla"/>
+            <exclude name="**/*.flv"/>
+            <exclude name="**/*.gif"/>
+            <exclude name="**/*.mp3"/>
+            <exclude name="**/*.jpg"/>
+            <exclude name="**/*.pbj"/>
+            <exclude name="**/*.png"/>
+            <exclude name="**/*.sh"/>
+            <exclude name="**/*.swf"/>
+        </fixcrlf>
+               
+        <!-- 
+            Unix shell scripts need the correct line endings. 
+            The bin directory is handled in stage-bin.
+        -->      
+        <fixcrlf srcdir="${basedir}/temp" eol="unix" fixlast="false">  
+            <include name="**.sh"/>
+            <exclude name="bin/**"/>
+        </fixcrlf>
+    </target>
+
+    <!-- frameworks -->
+    <!-- javascript and test directories follow -->
+    <target name="stage-framework-as">
+        <copy todir="${basedir}/temp/frameworks/as" includeEmptyDirs="false">
+            <fileset dir="${basedir}/frameworks/as">
+                <include name="**"/>
+                <exclude name="**/libs/**"/>
+                <exclude name="**/*.swc"/>
+                <exclude name="**/*.pbj"/>
+                <exclude name="**/*.swf"/>
+                <exclude name="**/*.mxp"/>
+                <exclude name="test*/**"/>
+                <exclude name="javascript/**"/>
+                <exclude name="projects/air/**"/>
+                <exclude name="projects/spark/manifest.xml"/>
+                <exclude name="projects/*/bundles.properties"/>
+                <exclude name="projects/*/.settings/**"/>
+            </fileset>
+        </copy>
+
+        <tstamp>
+        	<format property="build.number.date" pattern="yyyyMMdd" />
+        </tstamp>
+        <property name="build.version" value="${release.version}.${build.number.date}" />
+
+        <!-- now that config xml files are in temp, fix them up for release. -->
+        <echo message="Updating config file air-config.xml with version ${build.version}"/>
+        <fix-config-file file="${basedir}/temp/frameworks/air-config.xml" version="${build.version}" />
+        <echo message="Updating config file flex-config.xml with version ${build.version}"/>
+        <fix-config-file file="${basedir}/temp/frameworks/flex-config.xml" version="${build.version}" />
+        
+        <!-- Update all Version.as files in the kit frameworks directory with build.number -->
+        <antcall target="version-update"/>
+    </target>
+    
+    <!-- tlf -->
+    <target name="stage-frameworks-js">
+        <copy todir="${basedir}/temp/frameworks/js" includeEmptyDirs="false">
+            <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS">
+                <include name="src/**"/>
+            </fileset>
+        </copy>
+    </target>
+    
+    <target name="stage-falcon">
+        <copy todir="${basedir}/temp/bin" includeEmptyDirs="false">
+            <fileset dir="${basedir}/bin">
+                <include name="*"/>
+                <exclude name="adl*"/>
+                <exclude name="adt*"/>
+            </fileset>
+        </copy>
+        
+        <fixcrlf srcdir="${basedir}/temp/bin" eol="crlf" fixlast="false">
+            <include name="**/*.bat"/>
+        </fixcrlf>
+  
+          <!-- Unix shell scripts need the correct line endings. -->      
+        <fixcrlf srcdir="${basedir}/temp/bin" eol="unix" fixlast="false">  
+            <exclude name="**/*.bat"/>
+        </fixcrlf>
+    </target>
+        
+    <target name="stage-falconjx">
+        <!-- modules -->
+        <copy todir="${basedir}/temp/modules" includeEmptyDirs="false">
+            <fileset dir="${basedir}/modules">
+                <include name="**"/>
+                <exclude name="thirdparty/**"/>
+                <exclude name=".metadata/**"/>
+                <exclude name="**/*.jar"/>
+                <exclude name="**/*.vms"/>
+                <exclude name="*/test/**"/>
+                <exclude name="compiler/src/java/velocity.log"/>
+                <exclude name="compiler/**/ParseException.java"/>
+                <exclude name="compiler/**/Parser.java"/>
+                <exclude name="compiler/**/ParserConstants.java"/>
+                <exclude name="compiler/**/Token.java"/>
+                <exclude name="compiler/**/TokenManager.java"/>
+                <exclude name="compiler/**/TokenMgrError.java"/>
+                <exclude name="**/classes/**"/>
+                <exclude name="**/.classpath"/>
+                <exclude name="**/.project"/>
+            </fileset>
+        </copy>  
+
+        <!-- modules/thirdparty -->
+        <copy todir="${basedir}/temp/modules/thirdparty" includeEmptyDirs="true">
+            <fileset dir="${basedir}/modules/thirdparty">
+                <include name="**"/>
+                <exclude name="**/classes/**"/>
+                <exclude name="**/.classpath"/>
+                <exclude name="**/.project"/>
+                <exclude name="*/test*/**"/>
+            </fileset>
+        </copy>  
+    </target>
+    
+    <target name="binary-package"
+        description="Package binary files in zip and tar-gzip file.">
+
+        <antcall target="stage-source"/>
+                
+        <!-- delete any left-over empty directories -->
+        <delete includeemptydirs="true">
+            <fileset dir="${basedir}/temp/frameworks">
+                <and>
+                    <size value="0"/>
+                    <type type="dir"/>
+                </and>
+            </fileset>
+        </delete>
+
+        <!-- these files are in addition to the remaining source files -->
+        
+        <!-- concat the license file with the binary license file for the 3rd party deps -->
+        <!--concat destfile="${basedir}/temp/LICENSE">
+            <filelist dir="${FLEX_HOME}" files="LICENSE,LICENSE.bin"/>
+        </concat-->
+        
+
+        <!-- generated files in frameworks excepts libs and rsls -->
+        <copy todir="${basedir}/temp/frameworks/as">
+            <fileset dir="${basedir}/frameworks/as">
+                <include name="projects/*/bundles.properties"/>
+                <include name="projects/spark/manifest.xml"/>
+                <include name="**/*.pbj"/>
+                <include name="**/*.swc"/>
+                <include name="**/*.swf"/>
+                <exclude name="libs/**"/>
+                <exclude name="rsls/**"/>
+                <exclude name="tests/**"/>
+            </fileset>
+        </copy>
+
+        <!-- frameworks/libs -->
+        <copy todir="${basedir}/temp/frameworks/libs">
+            <fileset dir="${basedir}/frameworks/libs">
+                <include name="FlexJSUI.swc"/>
+                <include name="MXMLCClasses.swc"/>
+            </fileset>
+        </copy>
+
+        <!-- falcon -->
+        <antcall target="stage-falcon"/>
+
+        <!-- falconjx -->
+        <antcall target="stage-falconjx"/>
+        
+        <!-- ide -->
+        <copy todir="${basedir}/temp/ide">
+            <fileset dir="${basedir}/ide" >
+                <include name="flashbuilder/config"/>
+            </fileset>
+        </copy>
+        
+        <!-- sample themes -->
+        <copy todir="${basedir}/temp/samples">
+            <fileset dir="${basedir}/samples" >
+                <include name="**/build.xml"/>
+                <include name="**/*.swc"/>
+                <include name="**/*.swf"/>
+            </fileset>
+        </copy>
+
+        <!-- swfobject templates except for downloaded files -->
+        <copy todir="${basedir}/temp/templates/swfobject">
+            <fileset dir="${basedir}/templates/swfobject">
+                <exclude name="**/expressInstall.swf"/>
+                <exclude name="**/swfobject.js"/>
+            </fileset>
+        </copy>
+                
+        <antcall target="binary-package-zip"/>        
+        <antcall target="binary-package-tgz"/>        
+    </target>
+            
+    <!-- 
+        Packages the binary distribution with ZIP. 
+    -->
+    <target name="binary-package-zip" unless="no.zip"
+        description="Zips up the files in the temp directory into the binary zipfile.">
+        
+        <mkdir dir="${basedir}/out"/>
+        <zip destfile="${basedir}/out/${binary.kit}.zip" basedir="${basedir}/temp"/>
+    </target>
+       
+    <!-- 
+        Packages the binary distribution with TAR-GZIP.         
+    -->
+    <target name="binary-package-tgz" unless="no.zip"
+        description="Tar-Gzip up the files in the temp directory into the binary tgz file.">
+        
+        <tar-gzip name="${binary.kit}" />
+    </target>
+
+    <macrodef name="fix-config-file">
+        <attribute name="file"/>
+        <attribute name="version"/>
+            <sequential>
+                <replace file="@{file}">
+                    <replacefilter
+                        token="&lt;warn-no-explicit-super-call-in-constructor&gt;true"
+                        value="&lt;warn-no-explicit-super-call-in-constructor&gt;false"/>
+                    <replacefilter
+                        token="$${build.number}"
+                        value="@{version}"/>
+                </replace>
+        </sequential>
+    </macrodef>
+
+    <!--
+        tar with gzip compression, the temp directory and put it in the out directory.  
+        The shell scripts in the bin directory (no extension) and other .sh files have 
+        mode set to execute.
+        
+        name - the basename name of the kit in out directory, without the .tar.gz extension
+    -->
+    <macrodef name="tar-gzip">
+        <attribute name="name"/>
+            <sequential>
+                <mkdir dir="${basedir}/out"/>        
+                <tar destfile="${basedir}/out/@{name}.tar.gz" 
+                    compression="gzip"
+                    longfile="gnu">
+                    <tarfileset dir="${basedir}/temp" prefix="@{name}">
+                        <include name="**" />
+                        <exclude name="bin/**" />
+                        <exclude name="**/*.sh" />
+                    </tarfileset>
+                    <tarfileset dir="${basedir}/temp" prefix="@{name}">
+                        <include name="bin/*.bat" />
+                    </tarfileset>
+                    <tarfileset dir="${basedir}/temp" prefix="@{name}" mode="755">
+                        <include name="bin/*" />
+                        <include name="**/*.sh" />
+                        <exclude name="bin/*.bat" />
+                    </tarfileset>
+                </tar>
+        </sequential>
+    </macrodef>	
+    
+	<!--
+	    Update all frameworks Version.as files in the kit stagging area with the 
+	    latest version build number info.
+	    
+	    You need to place the AntelopeTasks_*.jar jar file in the anttask.classpath
+	    in order to do this.  If the jar isn't found, the update is skipped.
+	-->
+	<target name="version-update"
+	    description="Update all frameworks/Version.as files">
+
+        <available property="have.greptask"
+            classname="ise.antelope.tasks.Find" 
+            classpathref="anttask.classpath"/>
+        
+        <antcall target="have-greptask"/>
+        <antcall target="no-greptask"/>
+    </target>
+
+    <target name="have-greptask" if="have.greptask">
+		<taskdef name="grep" classname="ise.antelope.tasks.Find"
+                 classpathref="anttask.classpath"/>                 
+
+        <echo message="Updating all frameworks/projects/**/Version.as files with version ${release.version}.${build.number.date}"/>
+		
+        <!-- Update all Version.as files in the kit frameworks directory-->
+        <replaceregexp>
+            <regexp pattern='"[0-9].[0-9].[0-9].[0-9]";'/>
+            <substitution expression='"${release.version}.${build.number.date}";'/>
+            <fileset dir="${FLEX_HOME}/temp/frameworks/projects">
+                <include name="**/Version.as"/>
+            </fileset>
+        </replaceregexp>		
+    </target>
+
+    <target name="no-greptask" unless="have.greptask">
+        <echo message="Version files not updated."/>
+        <echo message="AntelopeTasks_*.jar not found in anttask.classpath"/>
+    </target>   
+
+    <target name="stage-locales"
+        description="Stage all the locale swc's built">
+        
+        <copy todir="${basedir}/temp/frameworks/locale" includeEmptyDirs="false">
+            <fileset dir="${basedir}/frameworks/locale">
+                <include name="**/*.swc"/>
+            </fileset>
+        </copy>
+
+        <!-- frameworks/projects -->
+        <!--
+            Remove these files from the binary kit.
+            
+            copylocale looks for bundles and then uses default locale so if there is
+            not a locale sub-directory don't include the bundles directory.
+        -->
+        <delete dir="${basedir}/temp/frameworks/projects" includeEmptyDirs="false">
+            <include name="airspark/bundles/**"/>
+            <include name="automation_air/bundles/**"/>
+            <include name="automation_dmv/bundles/**"/>
+            <include name="automation_flashflexkit/bundles/**"/>
+            <include name="automation_spark/bundles/**"/>
+            <include name="*/bundles/**/empty.properties"/>
+            <include name="*/bundles/**/docs/**"/>
+            <include name="*/bundles/*/*.xml"/>
+            <include name="*/bundles/*/packages.dita"/>
+            <exclude name="*/bundles/${locale}"/>
+        </delete>
+        
+
+        <!-- lib -->
+        <!-- these are built when the compiler is built with localized.jars set -->
+        <copy todir="${basedir}/temp/lib">
+            <fileset dir="${basedir}/lib">
+                <include name="mxmlc_da.jar"/>
+                <include name="mxmlc_de.jar"/>
+                <include name="mxmlc_es.jar"/>
+                <include name="mxmlc_fi.jar"/>
+                <include name="mxmlc_fr.jar"/>
+                <include name="mxmlc_it.jar"/>
+                <include name="mxmlc_ja.jar"/>
+                <include name="mxmlc_ko.jar"/>
+                <include name="mxmlc_nb.jar"/>
+                <include name="mxmlc_nl.jar"/>
+                <include name="mxmlc_pt.jar"/>
+                <include name="mxmlc_ru.jar"/>
+                <include name="mxmlc_sv.jar"/>
+                <include name="mxmlc_zh_CN.jar"/>
+                <include name="mxmlc_zh_TW.jar"/>
+            </fileset>
+        </copy>
+        
+        <!-- FixMe: Apache is missing all these language jars. -->
+        <copy todir="${basedir}/temp/lib">
+            <fileset dir="${basedir}/lib">
+                <include name="batik_da.jar"/>
+                <include name="batik_de.jar"/>
+                <include name="batik_es.jar"/>
+                <include name="batik_fi.jar"/>
+                <include name="batik_fr.jar"/>
+                <include name="batik_it.jar"/>
+                <include name="batik_ko.jar"/>
+                <include name="batik_ja.jar"/>
+                <include name="batik_nb.jar"/>
+                <include name="batik_nl.jar"/>
+                <include name="batik_pt.jar"/>
+                <include name="batik_ru.jar"/>
+                <include name="batik_sv.jar"/>
+                <include name="batik_zh_CN.jar"/>
+                <include name="batik_zh_TW.jar"/>
+                <include name="xercesImpl_da.jar"/>
+                <include name="xercesImpl_de.jar"/>
+                <include name="xercesImpl_es.jar"/>
+                <include name="xercesImpl_fi.jar"/>
+                <include name="xercesImpl_fr.jar"/>
+                <include name="xercesImpl_it.jar"/>
+                <include name="xercesImpl_ko.jar"/>
+                <include name="xercesImpl_ja.jar"/>
+                <include name="xercesImpl_nb.jar"/>
+                <include name="xercesImpl_nl.jar"/>
+                <include name="xercesImpl_pt.jar"/>
+                <include name="xercesImpl_ru.jar"/>
+                <include name="xercesImpl_sv.jar"/>
+                <include name="xercesImpl_zh_CN.jar"/>
+                <include name="xercesImpl_zh_TW.jar"/>
+            </fileset>
+        </copy>
+    </target>
+
+    <target name="ja-locale-samples" if="build.additional-packages">
+        <antcall target="clean-temp"/>
+        <!--
+        <copy todir="${basedir}/temp/samples_ja">
+            <fileset dir="${basedir}/samples/ja_JP">
+                <include name="README_ja.txt"/>
+                <include name="explorer/**"/>
+            </fileset>
+        </copy>
+        <mkdir dir="${basedir}/out"/>
+        <zip file="${basedir}/out/${kit.prefix}-locales.zip" basedir="${basedir}/temp" includes="**"/>
+        -->
+    </target>
+     
+    <target name="asdoc-package" description="Package the asdocs">      
+        <antcall target="clean-temp"/>
+        <antcall target="asdoc"/>
+        
+        <copy todir="${basedir}/temp/asdoc">
+            <fileset dir="${basedir}/asdoc-output"/>
+        </copy>
+        <copy todir="${basedir}/temp/asdoc">
+            <fileset dir="${basedir}">
+                <include name="LICENSE" />
+                <include name="NOTICE" />
+            </fileset>
+        </copy>
+        <zip file="${basedir}/out/${kit.prefix}-asdocs.zip" basedir="${basedir}/temp"/>
+        <antcall target="clean-temp"/>
+    </target>
+
+    
+    <target name="air-installers" description="Copy AIR runtime installers from sdk/in to sdk/out">
+        <mkdir dir="${basedir}/out"/>
+        <copy todir="${basedir}/out">
+            <fileset file="${basedir}/in/air/mac/Adobe AIR.dmg"/>
+            <fileset file="${basedir}/in/air/win/Adobe AIR Installer.exe"/>
+        </copy>
+    </target>
+
+    <target name="clean-temp" unless="noclean.temp">
+        <delete dir="${basedir}/temp" failonerror="false" includeEmptyDirs="true"/>
+    </target>
+
+    <!-- Builds fat swcs. -->
+    <target name="doc">
+        <ant dir="${basedir}/frameworks" target="doc" />
+    </target>
+
+    <!--
+        Tests: The current checkintests that must be run before every checkin
+    -->
+
+    <!-- FixMe: add dependency checker and mobile tests -->
+    <target name="checkintests" depends="basictests-mustella" description="Run these tests before every checkin" />
+    <!--<target name="checkintests" depends="dependencychecker-framework,basictests-mustella,checkintests-mobile" description="Run these tests before every checkin"/-->
+    
+    <!--
+        Tests: Mustella checkintests
+    -->
+
+    <target name="basictests-mustella" depends="mustella-setup,basictests"/>
+
+    <target name="mustella-setup" depends="runtime-setup" description="compile mustella java file">
+        <ant dir="${basedir}/mustella" target="makemustellaswc">
+            <property name="use_mustella_framework_dir" value="false"/>
+        </ant>
+        <property name="moreCompilerArgs" value=""/>
+        <!-- compile the results parser -->
+        <javac srcdir="mustella" includes="MustellaResultsParser.java"/>
+    </target>
+
+    <!-- To run the checkintests as well as any mustella tests need AIR for the adl and
+         a flash player content debugger.
+    -->
+    <target name="check-runtime-env" depends="check-air-home"
+        description="Check for the required runtime environment variables for the checkintests">
+        
+        <available file="${env.FLASHPLAYER_DEBUGGER}" property="FLASHPLAYER_DEBUGGER.set"/>
+        <fail message="FLASHPLAYER_DEBUGGER is ${env.FLASHPLAYER_DEBUGGER} which is not an Adobe Flash Player content debugger" 
+            unless="FLASHPLAYER_DEBUGGER.set"/>
+    </target>
+    
+    <target name="runtime-setup" depends="check-runtime-env" unless="runtime.setup"
+        description="Set flash.player and adl properties"> 
+        
+        <!-- Paths to the debug standalone flashplayer. -->
+        <!-- (windows) path to FlashPlayerDebugger.exe -->
+        <!-- (mac) path to Flash Player Debugger.app/Contents/MacOS/Flash Player Debugger -->
+        <!-- (linux) path to flashplayerdebugger -->
+        <property name="flash.player" value="${env.FLASHPLAYER_DEBUGGER}"/>
+    
+        <!-- Paths to the adl. -->
+        <condition property="adl" value="${env.AIR_HOME}/bin/adl.exe">
+            <os family="windows"/>
+        </condition>
+        <condition property="adl" value="${env.AIR_HOME}/bin/adl">
+            <os family="mac"/>
+        </condition>
+        <condition property="adl" value="${env.AIR_HOME}/bin/adl">
+            <os family="unix"/>
+        </condition>
+        
+        <property name="runtime.setup" value="done"/>
+    </target>
+
+    <target name="load-task" depends="runtime-setup">
+        <!-- load the <mxmlc> task; we can't do this at the <project> level -->
+        <!-- because targets that run before flexTasks.jar gets built would fail -->
+        <taskdef resource="flexTasks.tasks" classpath="${basedir}/lib/flexTasks.jar"/>
+    </target>
+
+    <target name="basictests" depends="load-task" description="run basic tests using mustella">
+
+        <!-- compile the basic tests -->
+        <mxmlc fork="true"
+               file="${basedir}/frameworks/tests/basicTests/BasicTests.mxml">
+            <jvmarg line="${mxmlc.jvm.args}"/>
+            <library-path dir="${basedir}" append="true">
+                <include name="mustella/mustella.swc"/>
+            </library-path>
+        </mxmlc>
+
+        <!-- compile supporting swfs for basic tests -->
+        <mxmlc fork="true"
+               file="${basedir}/frameworks/tests/basicTests/basicLoader.as">
+            <jvmarg line="${mxmlc.jvm.args}"/>
+        </mxmlc>
+        <mxmlc fork="true"
+               file="${basedir}/frameworks/tests/basicTests/spark/views/StyleManagerModuleTest.mxml">
+            <jvmarg line="${mxmlc.jvm.args}"/>
+        </mxmlc>
+        <mxmlc fork="true"
+               file="${basedir}/frameworks/tests/basicTests/spark/views/HelloWorld.mxml"
+                     static-rsls="false"
+                     remove-unused-rsls="true" >
+            <jvmarg line="${mxmlc.jvm.args}"/>
+        </mxmlc>
+
+        <!-- run the component smoke  -->
+        <echo message="launching player and swf"/>
+        <exec executable="${flash.player}" dir="${basedir}/frameworks" failonerror="true">
+            <arg value="${basedir}/frameworks/tests/basicTests/BasicTests.swf"/>
+        </exec>
+        <!-- halt if there was an error -->
+        <antcall target="mustellaresultsparser"/>
+    </target>
+
+    <target name="mustellaresultsparser">
+        <java classname="mustella.MustellaResultsParser" failonerror="true">
+            <sysproperty key="APPDATA" value="${env.APPDATA}"/>
+            <classpath>
+                <pathelement location="${basedir}"/>
+            </classpath>
+        </java>
+    </target>
+
+
+    <target name="clean-dependencychecker" description="Clean up the generated java files from dependency checker">
+        <!-- not currently in Apache Flex -->
+        <!--
+        <delete>
+            <fileset dir="${basedir}/tools/dependencychecker" includes="**/*.class"/>
+        </delete>
+        -->
+    </target>
+
+    <target name="setup-dependencychecker" description="Compile dependency checker java files" depends="clean-dependencychecker">
+        <javac srcdir="${basedir}/tools/dependencychecker"/>
+    </target>
+
+    <target name="dependencychecker-framework" description="Run dependency checker on framework.swc" depends="setup-dependencychecker">
+        <!-- need fork b/c running java from another dir -->
+        <java dir="${basedir}/tools/dependencychecker" fork="true" classname="flex.tools.dependencychecker.DependencyChecker" failonerror="true">
+            <classpath>
+                <pathelement location="${basedir}/tools/dependencychecker"/>
+            </classpath>
+            <arg value="${basedir}/frameworks/libs/framework.swc" />
+        	<arg value="frameworkSwcExceptionsList.txt"/>
+        </java>
+    </target>
+   
+	<!--
+	    Run the Apache Rat audit tool against the source in the source kit.
+	    The report is written to rat.report.
+	    
+	    To check a subset of files run with -Drat.dir=<dir>.
+	    
+	    You need to place apache-rat-tasks-0.8.jar and apache-rat-0.8.jar in the 
+	    anttask.classpath in order to do this.  If the jar isn't found, the report
+	    will not be generated.
+	--> 
+    <target name="rat-check" depends="rat-taskdef" if="have.rattasks"
+        description="Report on licenses in source kit.">
+    
+        <property name="rat.dir" value="${basedir}/temp"/>
+        <antcall target="rat-unzip" />
+        
+        <property name="rat.report" value="${basedir}/rat.report"/>
+        <echo message="Checking files at ${rat.dir}, report is ${rat.report}"/>
+             
+        <rat:report xmlns:rat="antlib:org.apache.rat.anttasks" reportFile="${rat.report}">
+            <fileset dir="${rat.dir}">
+                <!--          Start of binary files           -->
+                <!-- exclude Flash Professional file used for integration with Flash Professional -->
+                <exclude name="frameworks/projects/flash-integration/FLA/ContentHolder.fla"/>
+                <!-- exclude font embedded in asdoc example -->
+                <exclude name="frameworks/projects/framework/asdoc/en_US/mx/effects/examples/assets/OpenSans-Regular.ttf"/>
+                <!-- exclude media (png, gif, jpg, mp3, flv) -->
+                <exclude name="**/*.png"/>
+                <exclude name="**/*.gif"/>
+                <exclude name="**/*.jpg"/>
+                <exclude name="**/*.mp3"/>
+                <exclude name="**/*.flv"/>
+                <!-- exclude batik icon -->
+                <exclude name="modules/thirdparty/batik/sources/*.icns"/>
+                <!--          End of binary files           -->
+                <!-- exclude batik manifests -->
+                <exclude name="modules/thirdparty/batik/sources/*.mf"/>
+                <!-- exclude text files -->
+                <exclude name="modules/thirdparty/batik/lib/**/LICENSE*.txt"/>
+                <exclude name="modules/thirdparty/batik/lib/**/README*.txt"/>
+                <!-- exclude w3c sources -->
+                <exclude name="modules/thirdparty/batik/resources/org/apache/flex/forks/batik/dom/svg/resources/*.mod"/>
+                <exclude name="modules/thirdparty/batik/resources/org/apache/flex/forks/batik/dom/svg/resources/*.dtd"/>
+                <exclude name="modules/thirdparty/batik/sources/org/w3c/css/sac/LexicalUnit.java"/>
+                <exclude name="modules/thirdparty/batik/sources/org/w3c/flex/forks/css/sac/*.java"/>
+                <exclude name="modules/thirdparty/batik/sources/org/w3c/flex/forks/css/sac/helpers/ParserFactory.java"/>
+                <!-- exclude config files -->
+                <exclude name="modules/thirdparty/batik/svn-revision"/>
+                <exclude name="modules/thirdparty/xerces-patch/src/java/META-INF/services/javax.xml.parsers.SAXParserFactory"/>
+                <exclude name="modules/thirdparty/xerces-patch/src/java/META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration"/>
+                <exclude name="modules/thirdparty/xerces-patch/src/java/org/apache/xerces/jaxp/javax.xml.parsers.SAXParserFactory"/>
+            </fileset>
+        </rat:report>
+    </target>
+
+    <target name="rat-unzip" unless="no.zip">
+        <antcall target="clean-temp" />
+        <unzip src="${basedir}/out/${source.kit}.zip" dest="${rat.dir}"/>
+    </target>
+    
+    <target name="rat-taskdef" description="Rat taskdef"> 
+        <available property="have.rattasks" 
+            resource="org/apache/rat/anttasks/antlib.xml" 
+            classpathref="anttask.classpath"/>
+
+        <antcall target="have-rattasks"/>
+        <antcall target="no-rattasks"/>
+    </target>
+
+    <target name="have-rattasks" if="have.rattasks">
+        <typedef resource="org/apache/rat/anttasks/antlib.xml"
+                 uri="antlib:org.apache.rat.anttasks"
+                 classpathref="anttask.classpath"/>                 
+    </target>
+    
+    <target name="no-rattasks" unless="have.rattasks">
+        <echo message="Rat report not generated."/>
+        <echo message="rat jars (apache-rat-*.jar, apache-rat-tasks-*.jar)"/>
+        <echo message="not found in anttask.classpath"/>
+    </target>
+    
+    <target name="rat-check-mustella" depends="rat-taskdef" if="have.rattasks"
+        description="Report on licenses in mustella directory.">
+    
+        <ant dir="${basedir}/mustella" target="clean"/>
+        
+        <property name="rat.mustella.dir" value="${basedir}/mustella"/>
+        <property name="rat.mustella.report" value="rat.mustella.report"/>
+                
+        <echo message="Checking files at ${rat.mustella.dir}, report is ${basedir}/${rat.mustella.report}"/>
+             
+        <rat:report xmlns:rat="antlib:org.apache.rat.anttasks" 
+            reportFile="${basedir}/${rat.mustella.report}">
+            <fileset dir="${rat.mustella.dir}">
+                <!--          Start of binary files           -->
+                <!-- exclude media (png, gif, jpg, mp3, flv) -->
+                <exclude name="assets/**"/>
+                <exclude name="tests/**/*.png"/>
+                <exclude name="tests/**/*.gif"/>
+                <exclude name="tests/**/*.jpg"/>
+                <exclude name="tests/**/*.mp3"/>
+                <exclude name="tests/**/*.flv"/>
+                <!--          End of binary files           -->
+                <exclude name="tests/**/*.compile"/>
+            </fileset>
+        </rat:report>
+    </target>
+	
+	<target name="create-md5" >
+		<echo message="Generating MD5 hashes for release artifacts"/>
+		<checksum algorithm="md5" file="${basedir}/out/${binary.kit}.tar.gz" forceOverwrite="yes"/>
+		<checksum algorithm="md5" file="${basedir}/out/${binary.kit}.zip" forceOverwrite="yes"/>
+		<checksum algorithm="md5" file="${basedir}/out/${source.kit}.tar.gz" forceOverwrite="yes"/>
+		<checksum algorithm="md5" file="${basedir}/out/${source.kit}.zip" forceOverwrite="yes"/>
+	</target>
+	
+</project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/frameworks/as/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/build.xml b/frameworks/as/build.xml
new file mode 100644
index 0000000..0bcc1ac
--- /dev/null
+++ b/frameworks/as/build.xml
@@ -0,0 +1,132 @@
+<?xml version="1.0"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+
+<!-- Note:
+    If you modify this file you may have to make the same change in build_framework.xml.
+    build_framework.xml is renamed to build.xml when it is packaged.
+    It is used to build the frameworks directory from the zip file. 
+-->
+<project name="frameworks-as" default="main" basedir=".">
+
+    <property name="FLEXJS_HOME" location="../.."/>
+
+    <!-- Required for OSX 10.6 / Snow Leopard Performance. -->
+    <!-- Java 7 on Mac requires OSX 10.7.3 or higher and is 64-bit only -->
+    <!-- local.d32 is set/used in build.properties so this needs to be done first. -->
+    <condition property="local.d32" value="-d32">
+        <and>
+            <os family="mac"/>
+            <matches pattern="1.6.*" string="${java.version}"/>
+            <equals arg1="${sun.arch.data.model}" arg2="64"/>
+            <equals arg1="${os.arch}" arg2="x86_64"/>
+        </and>
+    </condition>
+
+    <!-- Property for the platform.  -->
+    <condition property="isMac">
+        <os family="mac"/>
+    </condition>
+    <condition property="isWindows">
+        <os family="windows" />
+    </condition>   
+    <condition property="isLinux">
+        <and>
+          <os family="unix"/>    
+          <not>
+            <os family="mac"/>    
+          </not>
+        </and>
+    </condition>  
+
+    <property file="${FLEXJS_HOME}/env.properties"/>
+    <property environment="env"/>
+    <property file="${FLEXJS_HOME}/build.properties"/>
+    <property name="FLEX_HOME" value="${env.FLEX_HOME}" />
+ 
+    <target name="main" depends="check-compile-env,clean,prepare,compile" 
+        description="Clean build of all SWCs"/>
+
+    <target name="check-compile-env" description="Check for the required environment variables">
+        <ant antfile="${FLEXJS_HOME}/build.xml" target="check-compile-env" dir="${FLEXJS_HOME}"/>
+    </target>
+
+    
+    <target name="prepare" depends="thirdparty-downloads"/>
+            
+    <target name="thirdparty-downloads" unless="no.thirdparty-downloads" description="Downloads all the required thirdparty code.">
+        <!--<ant antfile="${basedir}/downloads.xml" dir="${basedir}"/>-->
+    </target>
+    
+    <target name="compile" description="Builds all SWCs but not their resource bundles">
+        <antcall target="flexjsui"/>
+        <antcall target="mxmlcclasses"/>
+    </target>
+    
+    <target name="other.locales" description ="Builds resource SWCs for all locales">
+        <!--<ant dir="${basedir}/projects/FlexJSUI" target="other.locales"/>-->
+    </target>
+    
+    <target name="doc" >
+        <ant dir="${basedir}/projects/FlexJSUI" target="doc" />
+    </target>
+   
+    <!--
+		Cleanup
+	-->
+
+    <target name="super-clean" depends="thirdparty-clean,clean" description="Cleans everything including thirdparty downloads."/>
+	
+    <target name="thirdparty-clean" unless="no.thirdparty-clean" description="Removes all thirdparty downloads.">
+        <!--<ant antfile="${basedir}/downloads.xml" target="clean" dir="${basedir}"/>-->
+    </target>
+    
+    <target name="clean" description="Cleans all SWCs and their resource bundles">
+        <delete file="${basedir}/flex-config.xml"/>
+        <!-- Delete output from SWC projects -->
+        <ant dir="${basedir}/projects/FlexJSUI" target="clean"/>
+        <ant dir="${basedir}/projects/MXMLCClasses" target="clean"/>
+
+        <!-- delete the FlashBuilder executable directories -->
+        <delete includeemptydirs="true" failonerror="false">
+            <fileset dir="${basedir}/projects">
+                <include name="*/bin/**"/>
+            </fileset>
+        </delete> 
+        <!-- Delete empty folders -->
+        <delete dir="${basedir}/libs"/>
+        <delete dir="${basedir}/locale">
+            <exclude name="**/metadata.properties"/>
+        </delete>
+        <delete dir="${basedir}/libs/generated"/>
+        <!-- Delete only if it exists and it is empty.  air and swfobject put dirs here. -->
+        <delete includeemptydirs="true" failonerror="false">
+            <fileset dir="${FLEXJS_HOME}/templates" excludes="**/*" />
+        </delete> 
+    </target>
+    
+    <target name="flexjsui" description="Clean build of FlexJSUI.swc">
+        <ant dir="${basedir}/projects/FlexJSUI"/>
+    </target>
+
+    <target name="mxmlcclasses" description="Clean build of MXMLClasses.swc">
+        <ant dir="${basedir}/projects/MXMLCClasses"/>
+    </target>
+
+</project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/frameworks/as/projects/FlexJSUI/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/build.xml b/frameworks/as/projects/FlexJSUI/build.xml
index 3a31fbe..3962c34 100644
--- a/frameworks/as/projects/FlexJSUI/build.xml
+++ b/frameworks/as/projects/FlexJSUI/build.xml
@@ -20,7 +20,7 @@
 
 
 <project name="framework" default="main" basedir=".">
-    <property name="FLEXJS_HOME" location="."/>
+    <property name="FLEXJS_HOME" location="../.."/>
     
     <property file="${FLEXJS_HOME}/env.properties"/>
     <property environment="env"/>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/frameworks/as/projects/FlexJSUI/src/FlexJSUIClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/FlexJSUIClasses.as b/frameworks/as/projects/FlexJSUI/src/FlexJSUIClasses.as
index f9c6a68..1fe8a69 100644
--- a/frameworks/as/projects/FlexJSUI/src/FlexJSUIClasses.as
+++ b/frameworks/as/projects/FlexJSUI/src/FlexJSUIClasses.as
@@ -91,34 +91,6 @@ internal class FlexJSUIClasses
 	import org.apache.flex.utils.Timer; Timer;
     import org.apache.flex.core.SimpleStatesImpl; SimpleStatesImpl;
     
-    import mx.binding.ArrayElementWatcher; ArrayElementWatcher;
-    import mx.binding.Binding; Binding;
-    import mx.binding.BindingManager; BindingManager;
-    import mx.binding.FunctionReturnWatcher; FunctionReturnWatcher;
-    import mx.binding.IBindingClient; IBindingClient;
-    import mx.binding.IWatcherSetupUtil2; IWatcherSetupUtil2;
-    import mx.binding.PropertyWatcher; PropertyWatcher;
-    import mx.binding.RepeaterComponentWatcher; RepeaterComponentWatcher;
-    import mx.binding.RepeaterItemWatcher; RepeaterItemWatcher;
-    import mx.binding.StaticPropertyWatcher; StaticPropertyWatcher;
-    import mx.binding.Watcher; Watcher;
-    import mx.binding.XMLWatcher; XMLWatcher;
-    import mx.core.ClassFactory; ClassFactory;
-    import mx.core.DeferredInstanceFromClass; DeferredInstanceFromClass;
-    import mx.core.DeferredInstanceFromFunction; DeferredInstanceFromFunction;
-    import mx.core.IDeferredInstance; IDeferredInstance;
-    import mx.core.IFactory; IFactory;
-    import mx.core.IFlexModuleFactory; IFlexModuleFactory;
-    import mx.core.IPropertyChangeNotifier; IPropertyChangeNotifier;
-    import mx.core.IStateClient2; IStateClient2;
-    import mx.events.PropertyChangeEvent; PropertyChangeEvent;
-    import mx.filters.IBitmapFilter; IBitmapFilter;
-    import mx.styles.CSSCondition; CSSCondition;
-    import mx.styles.CSSSelector; CSSSelector;
-    import mx.styles.CSSStyleDeclaration; CSSStyleDeclaration;
-    import mx.styles.IStyleManager2; IStyleManager2;
-    import mx.styles.StyleManager; StyleManager;
-    
     import mx.states.AddItems; AddItems;
     import mx.states.SetProperty; SetProperty;
     import mx.states.State; State;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/binding/ArrayElementWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/ArrayElementWatcher.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/ArrayElementWatcher.as
deleted file mode 100644
index 024af6c..0000000
--- a/frameworks/as/projects/FlexJSUI/src/mx/binding/ArrayElementWatcher.as
+++ /dev/null
@@ -1,77 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-[ExcludeClass]
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public class ArrayElementWatcher extends Watcher
-{
-
-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
-
-    /**
-	 *  @private
-	 *  Constructor
-	 */
-    public function ArrayElementWatcher(document:Object,
-                                        accessorFunc:Function,
-                                        listeners:Array)
-    {
-		super(listeners);
-
-        this.document = document;
-        this.accessorFunc = accessorFunc;
-    }
-
-	//--------------------------------------------------------------------------
-	//
-	//  Variables
-	//
-	//--------------------------------------------------------------------------
-
-    /**
-	 *  @private
-	 */
-	private var document:Object;
-    
-    /**
-	 *  @private
-	 */
-	private var accessorFunc:Function;
-
-    /**
-	 *  @private
-	 */
-    public var arrayWatcher:Watcher;
-
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/binding/Binding.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/Binding.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/Binding.as
deleted file mode 100644
index b822dcd..0000000
--- a/frameworks/as/projects/FlexJSUI/src/mx/binding/Binding.as
+++ /dev/null
@@ -1,85 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public class Binding
-{
-    
-    //--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
-
-    /**
-     *  Create a Binding object
-	 *
-     *  @param document The document that is the target of all of this work.
-	 *
-     *  @param srcFunc The function that returns us the value
-	 *  to use in this Binding.
-	 *
-     *  @param destFunc The function that will take a value
-	 *  and assign it to the destination.
-	 *
-     *  @param destString The destination represented as a String.
-	 *  We can then tell the ValidationManager to validate this field.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function Binding(document:Object, srcFunc:Function,
-						    destFunc:Function, destString:String,
-							srcString:String = null)
-    {
-    }
-
- 	//--------------------------------------------------------------------------
-	//
-	//  Variables
-	//
-	//--------------------------------------------------------------------------
-
-    /**
-     *  Execute the binding.
-     *  Call the source function and get the value we'll use.
-     *  Then call the destination function passing the value as an argument.
-     *  Finally try to validate the destination.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function execute(o:Object = null):void
-    {
-    }
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/binding/BindingManager.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/BindingManager.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/BindingManager.as
deleted file mode 100644
index 3ef557b..0000000
--- a/frameworks/as/projects/FlexJSUI/src/mx/binding/BindingManager.as
+++ /dev/null
@@ -1,37 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-package mx.binding
-{
-	public class BindingManager
-	{
-        public static function executeBindings(document:Object,
-                                               destStr:String,
-                                               destObj:Object):void
-        {
-            
-        }
- 	}
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/binding/FunctionReturnWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/FunctionReturnWatcher.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/FunctionReturnWatcher.as
deleted file mode 100644
index 2dfd63e..0000000
--- a/frameworks/as/projects/FlexJSUI/src/mx/binding/FunctionReturnWatcher.as
+++ /dev/null
@@ -1,129 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-[ExcludeClass]
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public class FunctionReturnWatcher extends Watcher
-{
-
-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
-
-    /**
-	 *  @private
-	 *  Constructor.
-	 */
-	public function FunctionReturnWatcher(functionName:String,
-										  document:Object,
-										  parameterFunction:Function,
-										  events:Object,
-                                          listeners:Array,
-                                          functionGetter:Function = null,
-                                          isStyle:Boolean = false)
-    {
-		super(listeners);
-
-        this.functionName = functionName;
-        this.document = document;
-        this.parameterFunction = parameterFunction;
-        this.events = events;
-        this.functionGetter = functionGetter;
-        this.isStyle = isStyle;
-    }
-
-	//--------------------------------------------------------------------------
-	//
-	//  Variables
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-     *  The name of the property, used to actually get the property
-	 *  and for comparison in propertyChanged events.
-     */
-    private var functionName:String;
-    
-	/**
- 	 *  @private
-     *  The document is what we need to use to execute the parameter function.
-     */
-    private var document:Object;
-    
-	/**
- 	 *  @private
-     *  The function that will give us the parameters for calling the function.
-     */
-    private var parameterFunction:Function;
-    
-    /**
- 	 *  @private
-     *  The events that indicate the property has changed.
-     */
-    private var events:Object;
-    
-	/**
-	 *  @private
-     *  The parent object of this function.
-     */
-    private var parentObj:Object;
-    
-	/**
-	 *  @private
-     *  The watcher holding onto the parent object.
-     */
-    public var parentWatcher:Watcher;
-
-    /**
-     *  Storage for the functionGetter property.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    private var functionGetter:Function;
-
-    /**
-     *  Storage for the isStyle property.  This will be true, when
-     *  watching a function marked with [Bindable(style="true")].  For
-     *  example, UIComponent.getStyle().
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 4
-     */
-    private var isStyle:Boolean;
-
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/binding/IBindingClient.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/IBindingClient.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/IBindingClient.as
deleted file mode 100644
index 14f2fb4..0000000
--- a/frameworks/as/projects/FlexJSUI/src/mx/binding/IBindingClient.as
+++ /dev/null
@@ -1,33 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public interface IBindingClient
-{
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/binding/IWatcherSetupUtil2.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/IWatcherSetupUtil2.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/IWatcherSetupUtil2.as
deleted file mode 100644
index e2311d4..0000000
--- a/frameworks/as/projects/FlexJSUI/src/mx/binding/IWatcherSetupUtil2.as
+++ /dev/null
@@ -1,47 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-[ExcludeClass]
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public interface IWatcherSetupUtil2
-{
-	//--------------------------------------------------------------------------
-	//
-	//  Methods
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	function setup(target:Object, propertyGetter:Function,
-                   staticPropertyGetter:Function,
-				   bindings:Array, watchers:Array):void;
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/d7e70f9a/frameworks/as/projects/FlexJSUI/src/mx/binding/PropertyWatcher.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSUI/src/mx/binding/PropertyWatcher.as b/frameworks/as/projects/FlexJSUI/src/mx/binding/PropertyWatcher.as
deleted file mode 100644
index 6bad414..0000000
--- a/frameworks/as/projects/FlexJSUI/src/mx/binding/PropertyWatcher.as
+++ /dev/null
@@ -1,148 +0,0 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  Licensed to the Apache Software Foundation (ASF) under one or more
-//  contributor license agreements.  See the NOTICE file distributed with
-//  this work for additional information regarding copyright ownership.
-//  The ASF licenses this file to You under the Apache License, Version 2.0
-//  (the "License"); you may not use this file except in compliance with
-//  the License.  You may obtain a copy of the License at
-//
-//      http://www.apache.org/licenses/LICENSE-2.0
-//
-//  Unless required by applicable law or agreed to in writing, software
-//  distributed under the License is distributed on an "AS IS" BASIS,
-//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//  See the License for the specific language governing permissions and
-//  limitations under the License.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-package mx.binding
-{
-
-[ExcludeClass]
-
-/**
- * @private
- * This class is used to satisfy old MXML codegen
- * for both Falcon and MXML, but in FlexJS with mxml.children-as-data output
- * it isn't needed so there is no JS equivalent
- */
-public class PropertyWatcher extends Watcher
-{
-
-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
-
-    /**
-     *  Create a PropertyWatcher
-     *
-     *  @param prop The name of the property to watch.
-     *  @param event The event type that indicates the property has changed.
-     *  @param listeners The binding objects that are listening to this Watcher.
-     *  @param propertyGetter A helper function used to access non-public variables.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function PropertyWatcher(propertyName:String,
-                                    events:Object,
-                                    listeners:Array,
-                                    propertyGetter:Function = null)
-    {
-		super(listeners);
-
-    }
-
-	//--------------------------------------------------------------------------
-	//
-	//  Variables
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-     *  The parent object of this property.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    private var parentObj:Object;
-
-    /**
-     *  The events that indicate the property has changed
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    protected var events:Object;
-
-    /**
-     *  Storage for the propertyGetter property.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    protected var propertyGetter:Function;
-
-	//--------------------------------------------------------------------------
-	//
-	//  Properties
-	//
-	//--------------------------------------------------------------------------
-
-	//----------------------------------
-	//  propertyName
-	//----------------------------------
-
-	/**
-     *  Storage for the propertyName property.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    private var _propertyName:String;
-    
-    /**
-     *  The name of the property this Watcher is watching.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public function get propertyName():String
-    {
-        return _propertyName;
-    }
-
-	//----------------------------------
-	//  useRTTI
-	//----------------------------------
-
-    /**
-     *	If compiler can't determine bindability from static type,
-	 *  use RTTI on runtime values.
-     *  
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    private var useRTTI:Boolean;
-
-}
-
-}


Mime
View raw message