You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2014/08/04 16:53:41 UTC

[1/5] git commit: [flex-asjs] [refs/heads/develop] - Moving VF2JS examples; build targets no longer needed.

Repository: flex-asjs
Updated Branches:
  refs/heads/develop 6d4241e2a -> 985f982f4


Moving VF2JS examples; build targets no longer needed.

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/develop
Commit: 094768318307771e27c57bdc50be9a22430a972e
Parents: 6d4241e
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Mon Aug 4 11:08:15 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Mon Aug 4 11:08:15 2014 +0200

----------------------------------------------------------------------
 examples/build_example.xml | 67 -----------------------------------------
 1 file changed, 67 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/09476831/examples/build_example.xml
----------------------------------------------------------------------
diff --git a/examples/build_example.xml b/examples/build_example.xml
index f4cb6c7..aeb05b8 100644
--- a/examples/build_example.xml
+++ b/examples/build_example.xml
@@ -75,41 +75,6 @@
         </copy>
     </target>
     
-    <target name="compile_vf2js" description="Compiles ${example} (VF2JS style)">
-        <echo message="Compiling ${example}.swf"/>
-        <echo message="FLEX_HOME: ${FLEX_HOME}"/>
-        <echo message="FALCON_HOME: ${FALCON_HOME}"/>
-
-        <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
-
-        <mxmlc fork="true"
-               file="${basedir}/src/${example}.mxml"
-               output="${basedir}/bin-debug/${example}.swf">
-            <jvmarg line="${mxmlc.jvm.args}"/>
-            <arg value="+flexlib=${basedir}/frameworks" />
-            <arg value="-debug" />
-            <arg value="+playerglobal.version=${playerglobal.version}" />
-            <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
-        </mxmlc>
-        
-        <html-wrapper 
-            height="300" 
-            width="400"
-            bgcolor="#ffffff"
-            name="${example}"
-            versionmajor="11"
-            versionminor="1"
-            versionrevision="0" 
-            output="${basedir}/bin-debug"/> 
- 
-        <copy todir="${basedir}/bin-debug">
-            <fileset dir="${basedir}/src">
-                <include name="*.png" />
-                <include name="*.jpg" />
-            </fileset>
-        </copy>
-    </target>
-    
     <target name="compileair" description="Compiles ${example}">
         <echo message="Compiling ${example}.swf"/>
         <echo message="FLEX_HOME: ${FLEX_HOME}"/>
@@ -241,38 +206,6 @@
 		</fail>
     </target>
 
-    <target name="compilejs_vf2js" description="Cross-compiles ${example} (VF2JS style)">
-        <echo message="Compiling ${example}.js"/>
-        <echo message="FLEX_HOME: ${FLEX_HOME}"/>
-        <echo message="FLEXJS_HOME: ${FLEXJS_HOME}"/>
-        <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
-        <echo message="GOOG_HOME: ${GOOG_HOME}"/>
-
-        <java jar="${FALCONJX_HOME}/lib/mxmlc.jar" resultProperty="errorCode"
-            fork="true">
-            <jvmarg line="${mxmlc.jvm.args}"/>
-            <jvmarg line="-Dflexlib=${FLEX_HOME}/frameworks}"/>
-            <arg value="+flexlib=${FLEX_HOME}/frameworks" />
-            <arg value="+playerglobal.version=${playerglobal.version}" />
-            <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
-            <arg value="-js-output-type=VF2JS" />
-            <arg value="-closure-lib=${GOOG_HOME}" />
-            <arg value="-sdk-js-lib=${FLEXJS_HOME}/vf2js/frameworks/js/src" />
-            <arg value="-output=${basedir}" />
-            <arg value="${basedir}/src/${example}.mxml" />      
-        </java>
-        <fail>
-			<condition>
-				<not>
-					<or>
-						<equals arg1="${errorCode}" arg2="0" />
-						<equals arg1="${errorCode}" arg2="2" />
-					</or>
-				</not>
-			</condition>
-		</fail>
-    </target>
-
     <target name="compilejsair" description="Cross-compiles ${example}">
         <echo message="Compiling ${example}.js"/>
         <echo message="FLEX_HOME: ${FLEX_HOME}"/>


[2/5] git commit: [flex-asjs] [refs/heads/develop] - Moved VF2JS examples to 'vf2js' directory.

Posted by er...@apache.org.
Moved VF2JS examples to 'vf2js' directory.

It turns out that the FlexJS build file expressly and literally names examples that need to be excluded, so I've moved the VF2JS examples so there is no need to update the FlexJS build every time a VF2JS example is added.

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/develop
Commit: 8ca5c3836c35a4fd92405ec36b334eca90042ddd
Parents: 0947683
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Mon Aug 4 11:11:09 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Mon Aug 4 11:11:09 2014 +0200

----------------------------------------------------------------------
 examples/vf2js_DatabindingTest/build.xml        |  45 ---
 .../src/StockDataJSONItemConverter.as           |  78 -----
 .../vf2js_DatabindingTest/src/models/MyModel.as | 174 ----------
 .../src/vf2js_DatabindingTest.mxml              | 321 -------------------
 examples/vf2js_SimpleTest/build.xml             |  45 ---
 .../vf2js_SimpleTest/src/vf2js_SimpleTest.mxml  |  30 --
 vf2js/examples/build.xml                        |  34 ++
 vf2js/examples/build_example.xml                | 167 ++++++++++
 vf2js/examples/vf2js_DatabindingTest/build.xml  |  45 +++
 .../src/StockDataJSONItemConverter.as           |  78 +++++
 .../vf2js_DatabindingTest/src/models/MyModel.as | 174 ++++++++++
 .../src/vf2js_DatabindingTest.mxml              | 321 +++++++++++++++++++
 vf2js/examples/vf2js_SimpleTest/build.xml       |  45 +++
 .../vf2js_SimpleTest/src/vf2js_SimpleTest.mxml  |  30 ++
 14 files changed, 894 insertions(+), 693 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8ca5c383/examples/vf2js_DatabindingTest/build.xml
----------------------------------------------------------------------
diff --git a/examples/vf2js_DatabindingTest/build.xml b/examples/vf2js_DatabindingTest/build.xml
deleted file mode 100644
index cea6c04..0000000
--- a/examples/vf2js_DatabindingTest/build.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?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="vf2js_databindingtest" default="main" basedir=".">
-
-  <property name="example" value="vf2js_DataBindingTest" />
-
-  <property environment="env" />
-
-  <property name="FLEXJS_HOME" location="../.." />
-  <property file="${FLEXJS_HOME}/env.properties" />
-  <property file="${FLEXJS_HOME}/build.properties" />
-
-  <property name="FLEX_HOME" value="${env.FLEX_HOME}" />
-  <property name="FALCON_HOME" value="${env.FALCON_HOME}" />
-  <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}" />
-  <property name="GOOG_HOME" value="${env.GOOG_HOME}" />
-
-  <include file="${basedir}/../build_example.xml"/>
-
-  <target name="main" depends="clean,build_example.compile_vf2js,build_example.compilejs_vf2js" description="Clean build of ${example}" />
-
-  <target name="clean">
-    <delete dir="${basedir}/bin" failonerror="false" />
-    <delete dir="${basedir}/bin-debug" failonerror="false" />
-    <delete dir="${basedir}/bin-release" failonerror="false" />
-  </target>
-
-</project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8ca5c383/examples/vf2js_DatabindingTest/src/StockDataJSONItemConverter.as
----------------------------------------------------------------------
diff --git a/examples/vf2js_DatabindingTest/src/StockDataJSONItemConverter.as b/examples/vf2js_DatabindingTest/src/StockDataJSONItemConverter.as
deleted file mode 100644
index 8c25b37..0000000
--- a/examples/vf2js_DatabindingTest/src/StockDataJSONItemConverter.as
+++ /dev/null
@@ -1,78 +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
-{
-
-import mx.rpc.http.AbstractOperation;
-import mx.rpc.http.SerializationFilter;
-
-public class StockDataJSONItemConverter extends SerializationFilter
-{
-    
-    //--------------------------------------------------------------------------
-    //
-    //   Constructor 
-    //
-    //--------------------------------------------------------------------------
-    
-    public function StockDataJSONItemConverter()
-    {
-        super();
-    }
-    
-    //--------------------------------------------------------------------------
-    //
-    //   Properties 
-    //
-    //--------------------------------------------------------------------------
-    
-    //--------------------------------------
-    // _deserializedResult 
-    //--------------------------------------
-    
-    private var _deserializedResult:Object;
-    
-    //--------------------------------------------------------------------------
-    //
-    //   Methods 
-    //
-    //--------------------------------------------------------------------------
-    
-    //--------------------------------------
-    //   deserializeResult
-    //--------------------------------------
-    
-    override public function deserializeResult(operation:AbstractOperation,
-											   result:Object):Object
-    {
-        _deserializedResult = JSON.parse(String(result));
-        
-        return result;
-    }
-    
-	//--------------------------------------
-	//   getItemAt
-	//--------------------------------------
-	
-    public function getItemAt(index:int):Object
-    {
-        return _deserializedResult.query.results.quote;
-    }
-}
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8ca5c383/examples/vf2js_DatabindingTest/src/models/MyModel.as
----------------------------------------------------------------------
diff --git a/examples/vf2js_DatabindingTest/src/models/MyModel.as b/examples/vf2js_DatabindingTest/src/models/MyModel.as
deleted file mode 100644
index 82985d0..0000000
--- a/examples/vf2js_DatabindingTest/src/models/MyModel.as
+++ /dev/null
@@ -1,174 +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 models
-{
-
-import flash.events.Event;
-import flash.events.EventDispatcher;
-import mx.collections.ArrayCollection;
-
-public class MyModel extends EventDispatcher
-{
-    
-    //--------------------------------------------------------------------------
-    //
-    //   Constructor 
-    //
-    //--------------------------------------------------------------------------
-    
-    public function MyModel()
-    {
-    }
-    
-    //--------------------------------------------------------------------------
-    //
-    //   Properties 
-    //
-    //--------------------------------------------------------------------------
-    
-    //--------------------------------------
-    // allData 
-    //--------------------------------------
-    
-    private var _allData:String = "";
-    
-    [Bindable("responseDataChanged")]
-    public function get allData():String
-    {
-        if (_allData == "" && _responseData != null)
-        {
-            for (var p:String in _responseData)
-            {
-                _allData += p + ": " + _responseData[p] + "\n";
-            }
-        }
-        return _allData;
-    }
-    
-    //--------------------------------------
-    // requestedField 
-    //--------------------------------------
-    
-    private var _requestedField:String = "Ask";
-    
-    [Bindable("requestedFieldChanged")]
-    public function get requestedField():String
-    {
-        return _requestedField;
-    }
-    
-    public function set requestedField(value:String):void
-    {
-        if (value != _requestedField)
-        {
-            _requestedField = value;
-            dispatchEvent(new Event("requestedFieldChanged"));
-            if (_responseData)
-            {
-                dispatchEvent(new Event("responseTextChanged"));
-            }
-        }
-    }
-    
-    //--------------------------------------
-    // responseData 
-    //--------------------------------------
-    
-    private var _responseData:Object;
-    
-    [Bindable("responseDataChanged")]
-    public function get responseData():Object
-    {
-        return _responseData;
-    }
-    
-    public function set responseData(value:Object):void
-    {
-        if (value != _responseData)
-        {
-            _responseData = value;
-            _allData = "";
-            dispatchEvent(new Event("responseDataChanged"));
-            dispatchEvent(new Event("responseTextChanged"));
-        }
-    }
-    
-    //--------------------------------------
-    // responseText 
-    //--------------------------------------
-    
-    private var _responseText:String;
-    
-    [Bindable("responseTextChanged")]
-    public function get responseText():String
-    {
-        if (_responseData == null)
-        {
-            return "";
-        }
-        if (_responseData == "No Data")
-        {
-            return _responseData as String;
-        }
-        var s:String = _responseData[_requestedField];
-        if (s == null)
-        {
-            if (_requestedField == "Ask")
-            {
-                s = _responseData["Bid"];
-            }
-        }
-        return s;
-    }
-    
-    //--------------------------------------
-    // stockSymbol 
-    //--------------------------------------
-    
-    private var _stockSymbol:String;
-    
-    [Bindable(event = "stockSymbolChanged")]
-    public function get stockSymbol():String
-    {
-        return _stockSymbol;
-    }
-    
-    public function set stockSymbol(value:String):void
-    {
-        if (_stockSymbol !== value)
-        {
-            _stockSymbol = value;
-            dispatchEvent(new Event("stockSymbolChanged"));
-        }
-    }
-    
-    //--------------------------------------
-    // strings 
-    //--------------------------------------
-    
-    private var _strings:ArrayCollection = new ArrayCollection([ "AAPL", "ADBE",
-            "GOOG", "MSFT", "YHOO" ]);
-    
-    public function get strings():ArrayCollection
-    {
-        return _strings;
-    }
-}
-
-}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8ca5c383/examples/vf2js_DatabindingTest/src/vf2js_DatabindingTest.mxml
----------------------------------------------------------------------
diff --git a/examples/vf2js_DatabindingTest/src/vf2js_DatabindingTest.mxml b/examples/vf2js_DatabindingTest/src/vf2js_DatabindingTest.mxml
deleted file mode 100644
index 1e69d4d..0000000
--- a/examples/vf2js_DatabindingTest/src/vf2js_DatabindingTest.mxml
+++ /dev/null
@@ -1,321 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-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.
-
--->
-<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
-               xmlns:s="library://ns.adobe.com/flex/spark"
-               xmlns:mx="library://ns.adobe.com/flex/mx"
-               xmlns:local="*"
-               xmlns:models="models.*"
-			   creationComplete="init();">
-
-    <fx:Style>
-		
-		@namespace s "library://ns.adobe.com/flex/spark";
-		@namespace mx "library://ns.adobe.com/flex/mx";
-		
-		.leftSide {
-			/* Implemented as properties, not styles */
-			/*vertical-align: top;
-			margin-right: 10px;*/
-		}
-		
-		.output {
-			font-size: 20;
-		}
-		
-		.quoteButton {
-			/* No applicable styles or properties available in Spark Button */
-			/*margin-top: 10px;
-			margin-bottom: 10px;*/
-		}
-		
-		.rightSide {
-			/* Implemented as properties, not styles */
-			/*vertical-align: top;
-			margin-left: 10px;
-			padding-left: 10px;*/
-		}
-		
-		.topContainer {
-			/* Implemented as properties, not styles */
-			/*padding: 10px;*/
-		}
-		
-	</fx:Style>
-
-    <fx:Script><![CDATA[
-		
-		import mx.rpc.events.ResultEvent;
-
-		//----------------------------------------------------------------------
-		//
-		//   Properties 
-		//
-		//----------------------------------------------------------------------
-		
-        //--------------------------------------
-        // fieldText 
-        //--------------------------------------
-        
-        [Bindable]
-        public var fieldText:String;
-        
-        //--------------------------------------
-        // requestedField 
-        //--------------------------------------
-        
-        public function get requestedField():String
-        {
-            return group1.selectedValue as String;
-        }
-        
-        //--------------------------------------
-        // symbol 
-        //--------------------------------------
-        
-        private var _symbol:String;
-        
-        public function get symbol():String
-        {
-            return _symbol;
-        }
-        
-        //--------------------------------------
-        // _queryBegin 
-        //--------------------------------------
-        
-        private var _queryBegin:String = 
-			"http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20" +
-			"yahoo.finance.quotes%20where%20symbol%20in%20(%22";
-        
-        //--------------------------------------
-        // _queryEnd 
-        //--------------------------------------
-        
-        private var _queryEnd:String = 
-			"%22)%0A%09%09&env=http%3A%2F%2Fdatatables.org%2Falltables.env&" +
-			"format=json";
-        
-        //----------------------------------------------------------------------
-        //
-        //   Methods 
-        //
-        //----------------------------------------------------------------------
-        
-        //--------------------------------------
-        //   buttonClickHandler
-        //--------------------------------------
-        
-        private function buttonClickHandler(event:Event):void
-        {
-            service.url = _queryBegin + symbol + _queryEnd;
-            service.send();
-            service.addEventListener("result", completeHandler);
-        }
-		
-		//--------------------------------------
-		//   completeHandler
-		//--------------------------------------
-       
-        private function completeHandler(event:ResultEvent):void
-        {
-            myModel.responseData = collection.getItemAt(0);
-        }
-		
-		//--------------------------------------
-		//   init
-		//--------------------------------------
-       
-        private function init():void
-        {
-            addEventListener("buttonClicked", buttonClickHandler);
-            addEventListener("radioClicked", radioClickHandler);
-            addEventListener("listChanged", listChangedHandler);
-            
-            myModel.stockSymbol = 'ADBE';
-            
-            list.selectedItem = myModel.stockSymbol;
-            
-            group1.selectedValue = myModel.requestedField;
-            
-            radio1.selected = true;
-            
-            fieldText = radio1.label;
-        }
-		
-		//--------------------------------------
-		//   listChangedHandler
-		//--------------------------------------
-        
-        private function listChangedHandler(event:Event):void
-        {
-            myModel.stockSymbol = symbol;
-        }
-		
-		//--------------------------------------
-		//   radioChanged
-		//--------------------------------------
-        
-        private function radioChanged(e:Event):void
-        {
-            dispatchEvent(new Event("radioClicked"));
-            fieldText = RadioButton(e.target).label;
-        }
-		
-		//--------------------------------------
-		//   radioClickHandler
-		//--------------------------------------
-       
-        private function radioClickHandler(event:Event):void
-        {
-            var field:String = requestedField;
-            
-            myModel.requestedField = field;
-        }
-		
-		//--------------------------------------
-		//   setState
-		//--------------------------------------
-       
-        private function setState():void
-        {
-            currentState = showAllData.selected ? "showAll" : "hideAll";
-        }
-
-    ]]></fx:Script>
-
-    <fx:Declarations>
-
-        <s:HTTPService id="service">
-
-            <s:serializationFilter>
-
-                <local:StockDataJSONItemConverter id="collection" />
-
-            </s:serializationFilter>
-
-        </s:HTTPService>
-
-        <models:MyModel id="myModel" />
-
-        <s:RadioButtonGroup id="group1" />
-
-    </fx:Declarations>
-
-    <s:states>
-
-        <s:State name="hideAll" />
-
-        <s:State name="showAll" />
-
-    </s:states>
-
-    <s:VGroup>
-
-        <s:Label 
-                 width="300"
-                 text="Enter Stock Symbol or choose from list:" />
-
-        <s:HGroup 
-                  paddingBottom="10"
-                  paddingLeft="10"
-                  paddingRight="10"
-                  paddingTop="10"
-                  styleName="topContainer">
-
-            <s:VGroup 
-                      paddingRight="10"
-                      verticalAlign="top"
-                      styleName="leftSide">
-
-                <s:TextInput id="symbolTI"
-                             text="{myModel.stockSymbol}" />
-
-                <s:Button 
-                          label="Get Quote"
-                          styleName="quoteButton"
-                          click="_symbol = symbolTI.text; dispatchEvent(new Event('buttonClicked'));" />
-
-                <s:Label id="field"
-                         text="{fieldText}" />
-
-                <s:Label 
-                         height="24"
-                         styleName="output"
-                         text="{myModel.responseText}" />
-
-            </s:VGroup>
-
-            <s:VGroup 
-                      paddingLeft="20"
-                      styleName="rightSide">
-
-                <s:DropDownList id="list"
-                                width="100" height="17"
-                                dataProvider="{myModel.strings}"
-                                change="_symbol = list.selectedItem as String; dispatchEvent(new Event('listChanged'))" />
-
-                <s:RadioButton id="radio1"
-                               label="Price"
-                               value="Ask"
-                               click="radioChanged(event);"
-                               group="{group1}" />
-
-                <s:RadioButton id="radio2"
-                               label="Change"
-                               value="Change"
-                               click="radioChanged(event);"
-                               group="{group1}" />
-
-                <s:RadioButton id="radio3"
-                               label="Day's High"
-                               value="DaysHigh"
-                               click="radioChanged(event);"
-                               group="{group1}" />
-
-                <s:RadioButton id="radio4"
-                               label="Day's Low"
-                               value="DaysLow"
-                               click="radioChanged(event);"
-                               group="{group1}" />
-
-                <s:CheckBox id="showAllData"
-                            label="Show All Data"
-                            change="setState();" />
-
-            </s:VGroup>
-
-        </s:HGroup>
-
-        <s:Label id="bindtest"
-                 text="{fieldText + ' expression binding'}" />
-
-        <s:Label 
-                 width="300"
-                 text.showAll="110"
-                 includeIn="showAll" />
-
-        <s:TextArea id="ta"
-                    width="300" height="100" height.showAll="110"
-                    text="{myModel.allData}"
-                    includeIn="showAll" />
-
-    </s:VGroup>
-
-</s:Application>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8ca5c383/examples/vf2js_SimpleTest/build.xml
----------------------------------------------------------------------
diff --git a/examples/vf2js_SimpleTest/build.xml b/examples/vf2js_SimpleTest/build.xml
deleted file mode 100644
index f52c984..0000000
--- a/examples/vf2js_SimpleTest/build.xml
+++ /dev/null
@@ -1,45 +0,0 @@
-<?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="vf2js_simpletest" default="main" basedir=".">
-
-  <property name="example" value="vf2js_SimpleTest" />
-
-  <property environment="env" />
-
-  <property name="FLEXJS_HOME" location="../.." />
-  <property file="${FLEXJS_HOME}/env.properties" />
-  <property file="${FLEXJS_HOME}/build.properties" />
-
-  <property name="FLEX_HOME" value="${env.FLEX_HOME}" />
-  <property name="FALCON_HOME" value="${env.FALCON_HOME}" />
-  <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}" />
-  <property name="GOOG_HOME" value="${env.GOOG_HOME}" />
-
-  <include file="${basedir}/../build_example.xml"/>
-
-  <target name="main" depends="clean,build_example.compile_vf2js,build_example.compilejs_vf2js" description="Clean build of ${example}" />
-
-  <target name="clean">
-    <delete dir="${basedir}/bin" failonerror="false" />
-    <delete dir="${basedir}/bin-debug" failonerror="false" />
-    <delete dir="${basedir}/bin-release" failonerror="false" />
-  </target>
-
-</project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8ca5c383/examples/vf2js_SimpleTest/src/vf2js_SimpleTest.mxml
----------------------------------------------------------------------
diff --git a/examples/vf2js_SimpleTest/src/vf2js_SimpleTest.mxml b/examples/vf2js_SimpleTest/src/vf2js_SimpleTest.mxml
deleted file mode 100644
index 9227ede..0000000
--- a/examples/vf2js_SimpleTest/src/vf2js_SimpleTest.mxml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-
-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.
-
--->
-<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
-               xmlns:s="library://ns.adobe.com/flex/spark"
-               xmlns:mx="library://ns.adobe.com/flex/mx">
-
-    <fx:Declarations />
-
-	<s:Button x="100" label="Start" />
-	
-	<s:Button x="200" label="Stop" />
-	
-</s:Application>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8ca5c383/vf2js/examples/build.xml
----------------------------------------------------------------------
diff --git a/vf2js/examples/build.xml b/vf2js/examples/build.xml
new file mode 100644
index 0000000..2d064d1
--- /dev/null
+++ b/vf2js/examples/build.xml
@@ -0,0 +1,34 @@
+<?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="examples" default="main" basedir=".">
+
+  <target name="main" depends="clean,compile" description="Clean build of all examples"/>
+
+  <target name="compile" description="Compile examples">
+    <ant dir="${basedir}/vf2js_SimpleTest"/>
+    <ant dir="${basedir}/vf2js_DatabindingTest"/>
+  </target>
+
+  <target name="clean" description="Cleans all examples">
+    <ant dir="${basedir}/vf2js_SimpleTest" target="clean"/>
+    <ant dir="${basedir}/vf2js_DatabindingTest" target="clean"/>
+  </target>
+
+</project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8ca5c383/vf2js/examples/build_example.xml
----------------------------------------------------------------------
diff --git a/vf2js/examples/build_example.xml b/vf2js/examples/build_example.xml
new file mode 100644
index 0000000..31051c4
--- /dev/null
+++ b/vf2js/examples/build_example.xml
@@ -0,0 +1,167 @@
+<?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="build_example" basedir=".">
+
+  <property name="FLEXJS_HOME" location="../.."/>
+
+  <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>
+
+  <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"/>
+
+  <path id="lib.path">
+    <fileset dir="${FALCON_HOME}/lib" includes="falcon-flexTasks.jar"/>
+  </path>
+
+  <target name="compile_vf2js" description="Compiles ${example} (VF2JS style)">
+    <echo message="Compiling ${example}.swf"/>
+    <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+    <echo message="FALCON_HOME: ${FALCON_HOME}"/>
+    <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+    <mxmlc fork="true" file="${basedir}/src/${example}.mxml" output="${basedir}/bin-debug/${example}.swf">
+      <jvmarg line="${mxmlc.jvm.args}"/>
+      <arg value="+flexlib=${basedir}/frameworks"/>
+      <arg value="-debug"/>
+      <arg value="+playerglobal.version=${playerglobal.version}"/>
+      <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}"/>
+    </mxmlc>
+    <html-wrapper height="300" width="400" bgcolor="#ffffff" name="${example}" versionmajor="11" versionminor="1" versionrevision="0" output="${basedir}/bin-debug"/>
+    <copy todir="${basedir}/bin-debug">
+      <fileset dir="${basedir}/src">
+        <include name="*.png"/>
+        <include name="*.jpg"/>
+      </fileset>
+    </copy>
+  </target>
+
+  <target name="compilejs_vf2js" description="Cross-compiles ${example} (VF2JS style)">
+    <echo message="Compiling ${example}.js"/>
+    <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+    <echo message="FLEXJS_HOME: ${FLEXJS_HOME}"/>
+    <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+    <echo message="GOOG_HOME: ${GOOG_HOME}"/>
+    <java jar="${FALCONJX_HOME}/lib/mxmlc.jar" resultProperty="errorCode" fork="true">
+      <jvmarg line="${mxmlc.jvm.args}"/>
+      <arg value="+playerglobal.version=${playerglobal.version}"/>
+      <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}"/>
+      <arg value="-load-config=${FLEX_HOME}/frameworks/flex-config.xml"/>
+      <arg value="-js-output-type=VF2JS"/>
+      <arg value="-closure-lib=${GOOG_HOME}"/>
+      <arg value="-sdk-js-lib=${FLEXJS_HOME}/vf2js/frameworks/js/src"/>
+      <arg value="-output=${basedir}"/>
+      <arg value="${basedir}/src/${example}.mxml"/>
+    </java>
+    <fail>
+      <condition>
+        <not>
+          <or>
+            <equals arg1="${errorCode}" arg2="0"/>
+            <equals arg1="${errorCode}" arg2="2"/>
+          </or>
+        </not>
+      </condition>
+    </fail>
+  </target>
+
+  <macrodef name="html-wrapper">
+    <attribute name="width"/>
+    <attribute name="height"/>
+    <attribute name="bgcolor"/>
+    <attribute name="name"/>
+    <attribute name="versionmajor"/>
+    <attribute name="versionminor"/>
+    <attribute name="versionrevision"/>
+    <attribute name="output"/>
+    <sequential>
+      <copy toFile="@{output}/@{name}.html" file="${FLEXJS_HOME}/templates/swfobject/index.template.html"/>
+      <copy toDir="@{output}/history">
+        <fileset dir="${FLEXJS_HOME}/templates/swfobject/history">
+          <include name="**"/>
+        </fileset>
+      </copy>
+      <copy toDir="@{output}">
+        <fileset dir="${FLEXJS_HOME}/templates/swfobject">
+          <include name="*"/>
+          <exclude name="index.template.html"/>
+        </fileset>
+      </copy>
+      <replace file="@{output}/@{name}.html">
+        <replacefilter token="$${title}" value="@{name}"/>
+      </replace>
+      <replace file="@{output}/@{name}.html">
+        <replacefilter token="$${bgcolor}" value="@{bgcolor}"/>
+      </replace>
+      <replace file="@{output}/@{name}.html">
+        <replacefilter token="$${useBrowserHistory}" value="--"/>
+      </replace>
+      <replace file="@{output}/@{name}.html">
+        <replacefilter token="$${version_major}" value="@{versionmajor}"/>
+      </replace>
+      <replace file="@{output}/@{name}.html">
+        <replacefilter token="$${version_minor}" value="@{versionminor}"/>
+      </replace>
+      <replace file="@{output}/@{name}.html">
+        <replacefilter token="$${version_revision}" value="@{versionrevision}"/>
+      </replace>
+      <replace file="@{output}/@{name}.html">
+        <replacefilter token="$${expressInstallSwf}" value="expressInstall.swf"/>
+      </replace>
+      <replace file="@{output}/@{name}.html">
+        <replacefilter token="$${expressInstallSwf}" value="expressInstall.swf"/>
+      </replace>
+      <replace file="@{output}/@{name}.html">
+        <replacefilter token="$${width}" value="@{width}"/>
+      </replace>
+      <replace file="@{output}/@{name}.html">
+        <replacefilter token="$${height}" value="@{height}"/>
+      </replace>
+      <replace file="@{output}/@{name}.html">
+        <replacefilter token="$${application}" value="@{name}"/>
+      </replace>
+      <replace file="@{output}/@{name}.html">
+        <replacefilter token="$${swf}" value="@{name}"/>
+      </replace>
+    </sequential>
+  </macrodef>
+
+</project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8ca5c383/vf2js/examples/vf2js_DatabindingTest/build.xml
----------------------------------------------------------------------
diff --git a/vf2js/examples/vf2js_DatabindingTest/build.xml b/vf2js/examples/vf2js_DatabindingTest/build.xml
new file mode 100644
index 0000000..022f8ff
--- /dev/null
+++ b/vf2js/examples/vf2js_DatabindingTest/build.xml
@@ -0,0 +1,45 @@
+<?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="vf2js_databindingtest" default="main" basedir=".">
+
+  <property name="example" value="vf2js_DataBindingTest" />
+
+  <property environment="env" />
+
+  <property name="FLEXJS_HOME" location="../../.." />
+  <property file="${FLEXJS_HOME}/env.properties" />
+  <property file="${FLEXJS_HOME}/build.properties" />
+
+  <property name="FLEX_HOME" value="${env.FLEX_HOME}" />
+  <property name="FALCON_HOME" value="${env.FALCON_HOME}" />
+  <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}" />
+  <property name="GOOG_HOME" value="${env.GOOG_HOME}" />
+
+  <include file="${basedir}/../build_example.xml"/>
+
+  <target name="main" depends="clean,build_example.compile_vf2js,build_example.compilejs_vf2js" description="Clean build of ${example}" />
+
+  <target name="clean">
+    <delete dir="${basedir}/bin" failonerror="false" />
+    <delete dir="${basedir}/bin-debug" failonerror="false" />
+    <delete dir="${basedir}/bin-release" failonerror="false" />
+  </target>
+
+</project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8ca5c383/vf2js/examples/vf2js_DatabindingTest/src/StockDataJSONItemConverter.as
----------------------------------------------------------------------
diff --git a/vf2js/examples/vf2js_DatabindingTest/src/StockDataJSONItemConverter.as b/vf2js/examples/vf2js_DatabindingTest/src/StockDataJSONItemConverter.as
new file mode 100644
index 0000000..8c25b37
--- /dev/null
+++ b/vf2js/examples/vf2js_DatabindingTest/src/StockDataJSONItemConverter.as
@@ -0,0 +1,78 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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
+{
+
+import mx.rpc.http.AbstractOperation;
+import mx.rpc.http.SerializationFilter;
+
+public class StockDataJSONItemConverter extends SerializationFilter
+{
+    
+    //--------------------------------------------------------------------------
+    //
+    //   Constructor 
+    //
+    //--------------------------------------------------------------------------
+    
+    public function StockDataJSONItemConverter()
+    {
+        super();
+    }
+    
+    //--------------------------------------------------------------------------
+    //
+    //   Properties 
+    //
+    //--------------------------------------------------------------------------
+    
+    //--------------------------------------
+    // _deserializedResult 
+    //--------------------------------------
+    
+    private var _deserializedResult:Object;
+    
+    //--------------------------------------------------------------------------
+    //
+    //   Methods 
+    //
+    //--------------------------------------------------------------------------
+    
+    //--------------------------------------
+    //   deserializeResult
+    //--------------------------------------
+    
+    override public function deserializeResult(operation:AbstractOperation,
+											   result:Object):Object
+    {
+        _deserializedResult = JSON.parse(String(result));
+        
+        return result;
+    }
+    
+	//--------------------------------------
+	//   getItemAt
+	//--------------------------------------
+	
+    public function getItemAt(index:int):Object
+    {
+        return _deserializedResult.query.results.quote;
+    }
+}
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8ca5c383/vf2js/examples/vf2js_DatabindingTest/src/models/MyModel.as
----------------------------------------------------------------------
diff --git a/vf2js/examples/vf2js_DatabindingTest/src/models/MyModel.as b/vf2js/examples/vf2js_DatabindingTest/src/models/MyModel.as
new file mode 100644
index 0000000..82985d0
--- /dev/null
+++ b/vf2js/examples/vf2js_DatabindingTest/src/models/MyModel.as
@@ -0,0 +1,174 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 models
+{
+
+import flash.events.Event;
+import flash.events.EventDispatcher;
+import mx.collections.ArrayCollection;
+
+public class MyModel extends EventDispatcher
+{
+    
+    //--------------------------------------------------------------------------
+    //
+    //   Constructor 
+    //
+    //--------------------------------------------------------------------------
+    
+    public function MyModel()
+    {
+    }
+    
+    //--------------------------------------------------------------------------
+    //
+    //   Properties 
+    //
+    //--------------------------------------------------------------------------
+    
+    //--------------------------------------
+    // allData 
+    //--------------------------------------
+    
+    private var _allData:String = "";
+    
+    [Bindable("responseDataChanged")]
+    public function get allData():String
+    {
+        if (_allData == "" && _responseData != null)
+        {
+            for (var p:String in _responseData)
+            {
+                _allData += p + ": " + _responseData[p] + "\n";
+            }
+        }
+        return _allData;
+    }
+    
+    //--------------------------------------
+    // requestedField 
+    //--------------------------------------
+    
+    private var _requestedField:String = "Ask";
+    
+    [Bindable("requestedFieldChanged")]
+    public function get requestedField():String
+    {
+        return _requestedField;
+    }
+    
+    public function set requestedField(value:String):void
+    {
+        if (value != _requestedField)
+        {
+            _requestedField = value;
+            dispatchEvent(new Event("requestedFieldChanged"));
+            if (_responseData)
+            {
+                dispatchEvent(new Event("responseTextChanged"));
+            }
+        }
+    }
+    
+    //--------------------------------------
+    // responseData 
+    //--------------------------------------
+    
+    private var _responseData:Object;
+    
+    [Bindable("responseDataChanged")]
+    public function get responseData():Object
+    {
+        return _responseData;
+    }
+    
+    public function set responseData(value:Object):void
+    {
+        if (value != _responseData)
+        {
+            _responseData = value;
+            _allData = "";
+            dispatchEvent(new Event("responseDataChanged"));
+            dispatchEvent(new Event("responseTextChanged"));
+        }
+    }
+    
+    //--------------------------------------
+    // responseText 
+    //--------------------------------------
+    
+    private var _responseText:String;
+    
+    [Bindable("responseTextChanged")]
+    public function get responseText():String
+    {
+        if (_responseData == null)
+        {
+            return "";
+        }
+        if (_responseData == "No Data")
+        {
+            return _responseData as String;
+        }
+        var s:String = _responseData[_requestedField];
+        if (s == null)
+        {
+            if (_requestedField == "Ask")
+            {
+                s = _responseData["Bid"];
+            }
+        }
+        return s;
+    }
+    
+    //--------------------------------------
+    // stockSymbol 
+    //--------------------------------------
+    
+    private var _stockSymbol:String;
+    
+    [Bindable(event = "stockSymbolChanged")]
+    public function get stockSymbol():String
+    {
+        return _stockSymbol;
+    }
+    
+    public function set stockSymbol(value:String):void
+    {
+        if (_stockSymbol !== value)
+        {
+            _stockSymbol = value;
+            dispatchEvent(new Event("stockSymbolChanged"));
+        }
+    }
+    
+    //--------------------------------------
+    // strings 
+    //--------------------------------------
+    
+    private var _strings:ArrayCollection = new ArrayCollection([ "AAPL", "ADBE",
+            "GOOG", "MSFT", "YHOO" ]);
+    
+    public function get strings():ArrayCollection
+    {
+        return _strings;
+    }
+}
+
+}

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8ca5c383/vf2js/examples/vf2js_DatabindingTest/src/vf2js_DatabindingTest.mxml
----------------------------------------------------------------------
diff --git a/vf2js/examples/vf2js_DatabindingTest/src/vf2js_DatabindingTest.mxml b/vf2js/examples/vf2js_DatabindingTest/src/vf2js_DatabindingTest.mxml
new file mode 100644
index 0000000..1e69d4d
--- /dev/null
+++ b/vf2js/examples/vf2js_DatabindingTest/src/vf2js_DatabindingTest.mxml
@@ -0,0 +1,321 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+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.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+               xmlns:s="library://ns.adobe.com/flex/spark"
+               xmlns:mx="library://ns.adobe.com/flex/mx"
+               xmlns:local="*"
+               xmlns:models="models.*"
+			   creationComplete="init();">
+
+    <fx:Style>
+		
+		@namespace s "library://ns.adobe.com/flex/spark";
+		@namespace mx "library://ns.adobe.com/flex/mx";
+		
+		.leftSide {
+			/* Implemented as properties, not styles */
+			/*vertical-align: top;
+			margin-right: 10px;*/
+		}
+		
+		.output {
+			font-size: 20;
+		}
+		
+		.quoteButton {
+			/* No applicable styles or properties available in Spark Button */
+			/*margin-top: 10px;
+			margin-bottom: 10px;*/
+		}
+		
+		.rightSide {
+			/* Implemented as properties, not styles */
+			/*vertical-align: top;
+			margin-left: 10px;
+			padding-left: 10px;*/
+		}
+		
+		.topContainer {
+			/* Implemented as properties, not styles */
+			/*padding: 10px;*/
+		}
+		
+	</fx:Style>
+
+    <fx:Script><![CDATA[
+		
+		import mx.rpc.events.ResultEvent;
+
+		//----------------------------------------------------------------------
+		//
+		//   Properties 
+		//
+		//----------------------------------------------------------------------
+		
+        //--------------------------------------
+        // fieldText 
+        //--------------------------------------
+        
+        [Bindable]
+        public var fieldText:String;
+        
+        //--------------------------------------
+        // requestedField 
+        //--------------------------------------
+        
+        public function get requestedField():String
+        {
+            return group1.selectedValue as String;
+        }
+        
+        //--------------------------------------
+        // symbol 
+        //--------------------------------------
+        
+        private var _symbol:String;
+        
+        public function get symbol():String
+        {
+            return _symbol;
+        }
+        
+        //--------------------------------------
+        // _queryBegin 
+        //--------------------------------------
+        
+        private var _queryBegin:String = 
+			"http://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20" +
+			"yahoo.finance.quotes%20where%20symbol%20in%20(%22";
+        
+        //--------------------------------------
+        // _queryEnd 
+        //--------------------------------------
+        
+        private var _queryEnd:String = 
+			"%22)%0A%09%09&env=http%3A%2F%2Fdatatables.org%2Falltables.env&" +
+			"format=json";
+        
+        //----------------------------------------------------------------------
+        //
+        //   Methods 
+        //
+        //----------------------------------------------------------------------
+        
+        //--------------------------------------
+        //   buttonClickHandler
+        //--------------------------------------
+        
+        private function buttonClickHandler(event:Event):void
+        {
+            service.url = _queryBegin + symbol + _queryEnd;
+            service.send();
+            service.addEventListener("result", completeHandler);
+        }
+		
+		//--------------------------------------
+		//   completeHandler
+		//--------------------------------------
+       
+        private function completeHandler(event:ResultEvent):void
+        {
+            myModel.responseData = collection.getItemAt(0);
+        }
+		
+		//--------------------------------------
+		//   init
+		//--------------------------------------
+       
+        private function init():void
+        {
+            addEventListener("buttonClicked", buttonClickHandler);
+            addEventListener("radioClicked", radioClickHandler);
+            addEventListener("listChanged", listChangedHandler);
+            
+            myModel.stockSymbol = 'ADBE';
+            
+            list.selectedItem = myModel.stockSymbol;
+            
+            group1.selectedValue = myModel.requestedField;
+            
+            radio1.selected = true;
+            
+            fieldText = radio1.label;
+        }
+		
+		//--------------------------------------
+		//   listChangedHandler
+		//--------------------------------------
+        
+        private function listChangedHandler(event:Event):void
+        {
+            myModel.stockSymbol = symbol;
+        }
+		
+		//--------------------------------------
+		//   radioChanged
+		//--------------------------------------
+        
+        private function radioChanged(e:Event):void
+        {
+            dispatchEvent(new Event("radioClicked"));
+            fieldText = RadioButton(e.target).label;
+        }
+		
+		//--------------------------------------
+		//   radioClickHandler
+		//--------------------------------------
+       
+        private function radioClickHandler(event:Event):void
+        {
+            var field:String = requestedField;
+            
+            myModel.requestedField = field;
+        }
+		
+		//--------------------------------------
+		//   setState
+		//--------------------------------------
+       
+        private function setState():void
+        {
+            currentState = showAllData.selected ? "showAll" : "hideAll";
+        }
+
+    ]]></fx:Script>
+
+    <fx:Declarations>
+
+        <s:HTTPService id="service">
+
+            <s:serializationFilter>
+
+                <local:StockDataJSONItemConverter id="collection" />
+
+            </s:serializationFilter>
+
+        </s:HTTPService>
+
+        <models:MyModel id="myModel" />
+
+        <s:RadioButtonGroup id="group1" />
+
+    </fx:Declarations>
+
+    <s:states>
+
+        <s:State name="hideAll" />
+
+        <s:State name="showAll" />
+
+    </s:states>
+
+    <s:VGroup>
+
+        <s:Label 
+                 width="300"
+                 text="Enter Stock Symbol or choose from list:" />
+
+        <s:HGroup 
+                  paddingBottom="10"
+                  paddingLeft="10"
+                  paddingRight="10"
+                  paddingTop="10"
+                  styleName="topContainer">
+
+            <s:VGroup 
+                      paddingRight="10"
+                      verticalAlign="top"
+                      styleName="leftSide">
+
+                <s:TextInput id="symbolTI"
+                             text="{myModel.stockSymbol}" />
+
+                <s:Button 
+                          label="Get Quote"
+                          styleName="quoteButton"
+                          click="_symbol = symbolTI.text; dispatchEvent(new Event('buttonClicked'));" />
+
+                <s:Label id="field"
+                         text="{fieldText}" />
+
+                <s:Label 
+                         height="24"
+                         styleName="output"
+                         text="{myModel.responseText}" />
+
+            </s:VGroup>
+
+            <s:VGroup 
+                      paddingLeft="20"
+                      styleName="rightSide">
+
+                <s:DropDownList id="list"
+                                width="100" height="17"
+                                dataProvider="{myModel.strings}"
+                                change="_symbol = list.selectedItem as String; dispatchEvent(new Event('listChanged'))" />
+
+                <s:RadioButton id="radio1"
+                               label="Price"
+                               value="Ask"
+                               click="radioChanged(event);"
+                               group="{group1}" />
+
+                <s:RadioButton id="radio2"
+                               label="Change"
+                               value="Change"
+                               click="radioChanged(event);"
+                               group="{group1}" />
+
+                <s:RadioButton id="radio3"
+                               label="Day's High"
+                               value="DaysHigh"
+                               click="radioChanged(event);"
+                               group="{group1}" />
+
+                <s:RadioButton id="radio4"
+                               label="Day's Low"
+                               value="DaysLow"
+                               click="radioChanged(event);"
+                               group="{group1}" />
+
+                <s:CheckBox id="showAllData"
+                            label="Show All Data"
+                            change="setState();" />
+
+            </s:VGroup>
+
+        </s:HGroup>
+
+        <s:Label id="bindtest"
+                 text="{fieldText + ' expression binding'}" />
+
+        <s:Label 
+                 width="300"
+                 text.showAll="110"
+                 includeIn="showAll" />
+
+        <s:TextArea id="ta"
+                    width="300" height="100" height.showAll="110"
+                    text="{myModel.allData}"
+                    includeIn="showAll" />
+
+    </s:VGroup>
+
+</s:Application>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8ca5c383/vf2js/examples/vf2js_SimpleTest/build.xml
----------------------------------------------------------------------
diff --git a/vf2js/examples/vf2js_SimpleTest/build.xml b/vf2js/examples/vf2js_SimpleTest/build.xml
new file mode 100644
index 0000000..432d310
--- /dev/null
+++ b/vf2js/examples/vf2js_SimpleTest/build.xml
@@ -0,0 +1,45 @@
+<?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="vf2js_simpletest" default="main" basedir=".">
+
+  <property name="example" value="vf2js_SimpleTest" />
+
+  <property environment="env" />
+
+  <property name="FLEXJS_HOME" location="../../.." />
+  <property file="${FLEXJS_HOME}/env.properties" />
+  <property file="${FLEXJS_HOME}/build.properties" />
+
+  <property name="FLEX_HOME" value="${env.FLEX_HOME}" />
+  <property name="FALCON_HOME" value="${env.FALCON_HOME}" />
+  <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}" />
+  <property name="GOOG_HOME" value="${env.GOOG_HOME}" />
+
+  <include file="${basedir}/../build_example.xml"/>
+
+  <target name="main" depends="clean,build_example.compile_vf2js,build_example.compilejs_vf2js" description="Clean build of ${example}" />
+
+  <target name="clean">
+    <delete dir="${basedir}/bin" failonerror="false" />
+    <delete dir="${basedir}/bin-debug" failonerror="false" />
+    <delete dir="${basedir}/bin-release" failonerror="false" />
+  </target>
+
+</project>

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8ca5c383/vf2js/examples/vf2js_SimpleTest/src/vf2js_SimpleTest.mxml
----------------------------------------------------------------------
diff --git a/vf2js/examples/vf2js_SimpleTest/src/vf2js_SimpleTest.mxml b/vf2js/examples/vf2js_SimpleTest/src/vf2js_SimpleTest.mxml
new file mode 100644
index 0000000..9227ede
--- /dev/null
+++ b/vf2js/examples/vf2js_SimpleTest/src/vf2js_SimpleTest.mxml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+
+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.
+
+-->
+<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+               xmlns:s="library://ns.adobe.com/flex/spark"
+               xmlns:mx="library://ns.adobe.com/flex/mx">
+
+    <fx:Declarations />
+
+	<s:Button x="100" label="Start" />
+	
+	<s:Button x="200" label="Stop" />
+	
+</s:Application>


[4/5] git commit: [flex-asjs] [refs/heads/develop] - Initial commit of build scripts for 'source' and 'binary' release of VF2JS.

Posted by er...@apache.org.
Initial commit of build scripts for 'source' and 'binary' release of VF2JS.

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/develop
Commit: 86a52e7c0585eeae59e4d2aee0d03f2f03dd5716
Parents: 86b83fa
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Mon Aug 4 16:53:04 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Mon Aug 4 16:53:04 2014 +0200

----------------------------------------------------------------------
 vf2js/build.properties |   71 ++
 vf2js/build.xml        | 1610 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 1681 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/86a52e7c/vf2js/build.properties
----------------------------------------------------------------------
diff --git a/vf2js/build.properties b/vf2js/build.properties
new file mode 100644
index 0000000..95a063a
--- /dev/null
+++ b/vf2js/build.properties
@@ -0,0 +1,71 @@
+################################################################################
+##
+##  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.name = Apache Flex (FlexJS)
+# this is the version that appears in the flex-sdk-description <description> tag
+# and on the package name.  This is the publicly known version of FlexJS
+release.version = 0.0.2
+
+# fb.release.version must start with 4 in order for FB to accept it.
+# this property should only go in flex-sdk-description.xml <version> tag
+fb.release.version = 4.0.2
+
+# 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 = 14.0
+
+# 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/86a52e7c/vf2js/build.xml
----------------------------------------------------------------------
diff --git a/vf2js/build.xml b/vf2js/build.xml
new file mode 100644
index 0000000..740a9ee
--- /dev/null
+++ b/vf2js/build.xml
@@ -0,0 +1,1610 @@
+<?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="debug" value="true"/>
+    <property name="strict" value="true"/>
+    <property name="javac.src" value="1.5"/>
+    
+    <property name="kit.prefix" value="apache-flex-flexjs-${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-as,frameworks-js,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>
+
+    <target name="main-jenkins" depends="dump-config,prebuild,frameworks-as,frameworks-js-jenkins,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>
+
+    <target name="dump-config" >
+        <property name="is.jenkins" value="true" />
+        <echo>env.USERNAME is: ${env.USERNAME}</echo>
+        <condition property="FLASHLOG"
+            value="c:/Documents and Settings/${env.USERNAME}/Application Data/Macromedia/Flash Player/Logs/flashlog.txt">
+            <available file="c:/Documents and Settings/${env.USERNAME}/Application Data/Macromedia/Flash Player/Logs/flashlog.txt"
+                type="file"/>
+        </condition>
+        <condition property="FLASHLOG"
+            value="c:/Users/${env.USERNAME}/AppData/Roaming/Macromedia/Flash Player/Logs/flashlog.txt">
+            <available file="c:/Users/${env.USERNAME}/AppData/Roaming/Macromedia/Flash Player/Logs/flashlog.txt"
+                type="file"/>
+        </condition>
+        <echo>copying last flashlog.txt from ${FLASHLOG}</echo>
+        <copy file="${FLASHLOG}" tofile="${basedir}/lastflashlog.txt" />
+    </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-falcon-home,check-falconjx-home,source-release,binary-release,rat-check"
+        description="Creates source and binary kits for Apache FlexJS."/>
+        
+    <target name="release-jenkins" 
+        depends="check-compile-env,check-runtime-env,check-falcon-home,check-falconjx-home,source-release,binary-release-jenkins,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="binary-release-jenkins" 
+        depends="setup-binary-release,main-jenkins,sample-themes,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,create-config" 
+        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,check-falconjx-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-goog-home" unless="GOOG_HOME"
+        description="Check that GOOG_HOME is a directory">
+        
+        <echo message="GOOG_HOME is ${env.GOOG_HOME}"/>
+
+        <available file="${env.GOOG_HOME}" 
+            type="dir" 
+            property="GOOG_HOME"
+            value="${env.GOOG_HOME}" />
+        
+        <fail message="The environment variable GOOG_HOME must be set to the Google Closure Library folder containg a 'closure' and 'third_party' folder" 
+            unless="GOOG_HOME"/>
+    </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_SDK_HOME"
+            value="${env.FLEX_HOME}" />
+
+        <fail message="The environment variable FLEX_HOME is not set to a directory" 
+            unless="FLEX_SDK_HOME"/>
+
+        <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 FALCON_HOME is a directory.">
+        
+        <echo message="FALCON_HOME is ${env.FALCON_HOME}"/>
+
+        <available file="${env.FALCON_HOME}/lib/falcon-mxmlc.jar" 
+            type="file" 
+            property="FALCON_HOME"
+            value="${env.FALCON_HOME}"/>
+
+        <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler/generated/dist/sdk folder in flex-falcon repo or this folder if it has been converted into an FB-compatible SDK" 
+            unless="FALCON_HOME"/>
+    </target>
+
+    <target name="check-falconjx-home" unless="FALCONJX_HOME"
+        description="Check FALCON_HOME is a directory.">
+        
+        <echo message="FALCONJX_HOME is ${env.FALCONJX_HOME}"/>
+
+        <available file="${env.FALCONJX_HOME}/lib/jsc.jar" 
+            type="file" 
+            property="FALCONJX_HOME"
+            value="${env.FALCONJX_HOME}"/>
+
+        <fail message="FALCONJX_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler.jx folder in flex-falcon repo or the js folder if it has been converted into an FB-compatible SDK" 
+            unless="FALCONJX_HOME"/>
+    </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.name} ${release.version} FP${playerglobal.version} AIR${air.version} ${locale}&lt;/name&gt;
+&lt;version&gt;${fb.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/as" target="flex-config" />
+        <ant dir="${basedir}/frameworks/as" target="air-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" />
+         -->
+        <delete dir="${basedir}/mustella/tests/bin" failonerror="false" includeEmptyDirs="true"/>
+    </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"
+        depends="prebuild,check-goog-home">
+        <ant dir="${basedir}/examples"/>
+    </target>
+
+    <!--
+        Build framework SWCs
+    -->
+
+    <target name="frameworks-as" description="Full build of all Actionscript framework SWCs, including resource bundles and themes">
+        <ant dir="${basedir}/frameworks/as">
+            <property name="locale" value="${locale}"/>
+        </ant>
+    </target>
+
+    <target name="frameworks-js-jenkins" description="Full check of all JavaScript framework files, using gsjlint and jshint">
+        <property name="no.lint" value="true" />
+        <ant dir="${basedir}/frameworks/js">
+            <property name="locale" value="${locale}"/>
+        </ant>
+    </target>
+    
+    <target name="frameworks-js" description="Full check of all JavaScript framework files, using gsjlint and jshint">
+        <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="${FLEXJS_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" depends="stage-source-no-scripts"
+        description="Package source files required to build in zip file" >
+        <!-- scripts -->
+        <antcall target="stage-scripts"/>
+    </target>
+        
+    <target name="stage-source-no-scripts" >
+        <antcall target="clean-temp"/>
+        
+        <copy todir="${basedir}/temp" includeEmptyDirs="false">
+            <fileset dir="${basedir}">
+                <include name="build.xml"/>
+                <include name="build.properties"/>
+                <include name="cordova-build.xml"/>
+				<include name="env-template.properties"/>
+                <include name="flex-sdk-description.xml"/>
+                <include name="installer.xml"/>
+                <include name="installer.properties/**"/>
+                <include name="READme"/>
+                <include name="RELEASE_NOTES"/>
+                <include name="LICENSE"/>
+                <include name="NOTICE"/>
+            </fileset>
+        </copy>
+         
+        <!-- frameworks/as -->
+        <antcall target="stage-framework-as"/>
+        
+        <!-- make the js output folder so copy doesn't complain if it isn't there -->
+        <mkdir dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs" />
+
+        <!-- frameworks/js -->
+        <antcall target="stage-framework-js"/>
+
+        <!-- asdoc -->
+        <copy todir="${basedir}/temp/asdoc" includeEmptyDirs="false">
+            <fileset dir="${basedir}/asdoc">
+            	<exclude name="test/**" />
+            </fileset>
+        </copy>
+
+        <copy todir="${basedir}/temp/ide">
+            <fileset dir="${basedir}/ide" >
+            	<include name="flashbuilder/**"/>
+            </fileset>
+        </copy>
+        
+        <copy todir="${basedir}/temp/js/bin">
+            <fileset dir="${basedir}/js/bin" >
+            	<include name="**"/>
+            </fileset>
+        </copy>
+        
+        <fixcrlf srcdir="${basedir}/temp/js/bin" eol="crlf" fixlast="false">
+            <include name="**/*.bat"/>
+        </fixcrlf>
+        
+        <!-- Unix shell scripts need the correct line endings. -->
+        <fixcrlf srcdir="${basedir}/temp/js/bin" eol="unix" fixlast="false">
+            <exclude name="**/*.bat"/>
+        </fixcrlf>
+        
+        <chmod dir="${basedir}/temp/js/bin" excludes="**/*.bat" perm="+x" />
+        
+        <!-- samples -->
+        <copy todir="${basedir}/temp/examples">
+            <fileset dir="${basedir}/examples" >
+                <exclude name="**/FlexJSTest_again/**" />
+                <exclude name="**/VanillaSDK_POC/**" />
+                <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.             
+        -->
+        <fixcrlf srcdir="${basedir}/temp/frameworks" 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/**"/>
+                <exclude name="projects/*/tests/out/**"/>
+                <exclude name="projects/**/*.actionScriptProperties"/>
+                <exclude name="projects/**/*.flexLibProperties"/>
+                <exclude name="projects/**/*.DS_Store"/>
+            </fileset>
+        </copy>
+        <copy todir="${basedir}/temp/frameworks/as" includeEmptyDirs="false">
+            <fileset dir="${basedir}/frameworks/as">
+                <include name="air-config-template.xml"/>
+                <include name="flex-config-template.xml"/>
+            </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/as/air-config-template.xml" version="${build.version}" />
+        <echo message="Updating config file flex-config.xml with version ${build.version}"/>
+        <fix-config-file file="${basedir}/temp/frameworks/as/flex-config-template.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-framework-js">
+        <copy todir="${basedir}/temp/frameworks/js/FlexJS/src" includeEmptyDirs="false">
+            <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/src">
+                <include name="**"/>
+            </fileset>
+            <fileset dir="${FLEXJS_HOME}/frameworks/js/FlexJS/libs">
+                <include name="**"/>
+                <exclude name="FlexJSJXClasses.js"/>
+            </fileset>
+        </copy>
+        <copy todir="${basedir}/temp/frameworks/js" includeEmptyDirs="false">
+            <fileset dir="${FLEXJS_HOME}/frameworks/js">
+                <include name="build.xml"/>
+                <include name="jshint.properties"/>
+            </fileset>
+        </copy>
+    </target>
+    
+    <target name="stage-falcon">
+        <copy todir="${basedir}/temp/bin" includeEmptyDirs="false">
+            <fileset dir="${FALCON_HOME}/bin">
+                <include name="*"/>
+                <exclude name="adl*"/>
+                <exclude name="adt*"/>
+            </fileset>
+        </copy>
+        <copy todir="${basedir}/temp/bin-legacy" includeEmptyDirs="false">
+            <fileset dir="${FALCON_HOME}/bin-legacy">
+                <include name="*"/>
+                <exclude name="adl*"/>
+                <exclude name="adt*"/>
+            </fileset>
+        </copy>
+        <copy todir="${basedir}/temp/ant/lib" includeEmptyDirs="false">
+            <fileset dir="${FALCON_HOME}/ant/lib">
+                <include name="*"/>
+                <exclude name="adl*"/>
+                <exclude name="adt*"/>
+            </fileset>
+        </copy>
+        <copy todir="${basedir}/temp/lib" includeEmptyDirs="false">
+            <fileset dir="${FALCON_HOME}/lib">
+                <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>
+        
+        <fixcrlf srcdir="${basedir}/temp/bin-legacy" eol="crlf" fixlast="false">
+            <include name="**/*.bat"/>
+        </fixcrlf>
+  
+          <!-- Unix shell scripts need the correct line endings. -->      
+        <fixcrlf srcdir="${basedir}/temp/bin-legacy" eol="unix" fixlast="false">  
+            <exclude name="**/*.bat"/>
+        </fixcrlf>
+
+        <chmod dir="${basedir}/temp/bin" excludes="**/*.bat" perm="+x" />
+        <chmod dir="${basedir}/temp/bin-legacy" excludes="**/*.bat" perm="+x" />
+
+    </target>
+        
+    <target name="stage-falconjx">
+        <!-- modules -->
+        <copy todir="${basedir}/temp/js/bin" includeEmptyDirs="false">
+            <fileset dir="${basedir}/js/bin">
+                <include name="**"/>
+            </fileset>
+            
+        </copy>  
+
+        <!-- modules/thirdparty -->
+        <copy todir="${basedir}/temp/js/lib" includeEmptyDirs="true">
+            <fileset dir="${FALCONJX_HOME}/lib">
+                <include name="**"/>
+                <exclude name="**/classes/**"/>
+                <exclude name="**/.classpath"/>
+                <exclude name="**/.project"/>
+                <exclude name="*/test*/**"/>
+            </fileset>
+        </copy>  
+        
+        <fixcrlf srcdir="${basedir}/temp/js/bin" eol="crlf" fixlast="false">
+            <include name="**/*.bat"/>
+        </fixcrlf>
+  
+          <!-- Unix shell scripts need the correct line endings. -->      
+        <fixcrlf srcdir="${basedir}/temp/js/bin" eol="unix" fixlast="false">  
+            <exclude name="**/*.bat"/>
+        </fixcrlf>
+
+        <chmod dir="${basedir}/temp/js/bin" excludes="**/*.bat" perm="+x" />
+
+    </target>
+    
+    <target name="stage-scripts" description="package ide conversion scripts">
+        <!-- deploy scripts -->
+        <copy todir="${basedir}/temp/scripts">
+            <fileset dir="${basedir}/scripts" >
+                <include name="**/*"/>
+            </fileset>
+        </copy>
+    </target>
+    
+    <target name="stage-nightly" if="nightly" description="add nightly.properties if nightly build">
+        <copy todir="${basedir}/temp" file="${basedir}/nightly.properties" />
+    </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>
+
+        <antcall target="stage-nightly" />
+        
+        <!-- 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_SDK_HOME}" files="LICENSE,LICENSE.bin"/>
+        </concat-->
+        
+        <!-- frameworks/libs -->
+        <copy todir="${basedir}/temp/frameworks/as/libs">
+            <fileset dir="${basedir}/frameworks/as/libs">
+                <include name="FlexJSUI.swc"/>
+                <include name="FlexJSJX.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>
+         -->
+         
+        <!-- examples -->
+        <copy todir="${basedir}/temp/examples">
+            <fileset dir="${basedir}/examples" >
+                <exclude name="**/FlexJSTest_again/**" />
+                <exclude name="**/VanillaSDK_POC/**" />
+                <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"/>
+        <copy todir="${basedir}/out" file="${basedir}/apache-flex-flexjs-installer-config.xml" />
+    </target>
+  
+    <target name="package-sdk" depends="check-compile-env,check-runtime-env,check-falcon-home,check-falconjx-home"
+        description="Package falcon and templates into binary package">
+        
+        <antcall target="clean-temp"/>
+
+        <antcall target="stage-source-no-scripts"/>
+                
+        <!-- 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_SDK_HOME}" files="LICENSE,LICENSE.bin"/>
+        </concat-->
+        
+        <!-- frameworks/libs -->
+        <copy todir="${basedir}/temp/frameworks/as/libs">
+            <fileset dir="${basedir}/frameworks/as/libs">
+                <include name="FlexJSUI.swc"/>
+                <include name="FlexJSJX.swc"/>
+                <include name="MXMLCClasses.swc"/>
+            </fileset>
+        </copy>
+
+        <!-- frameworks config files -->
+        <copy todir="${basedir}/temp/frameworks">
+            <fileset dir="${basedir}/frameworks">
+                <include name="air-config.xml"/>
+                <include name="flex-config.xml"/>
+            </fileset>
+        </copy>
+        <replace file="${basedir}/temp/frameworks/air-config.xml">
+            <replacefilter
+                token="{airHome}/frameworks/libs"
+                value="libs"/>
+        </replace>
+        <replace file="${basedir}/temp/frameworks/flex-config.xml">
+            <replacefilter
+                token="{playerglobalHome}"
+                value="libs/player"/>
+        </replace>
+        
+        <!-- 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}" />
+        
+        <!-- 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>
+         -->
+         
+        <!-- examples -->
+        <copy todir="${basedir}/temp/examples">
+            <fileset dir="${basedir}/examples" >
+                <exclude name="**/FlexJSTest_again/**" />
+                <exclude name="**/VanillaSDK_POC/**" />
+                <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">
+            </fileset>
+        </copy>
+        
+        <!-- deploy scripts -->
+        <copy todir="${basedir}/temp">
+            <fileset dir="${basedir}/scripts" >
+                <include name="**/*"/>
+            </fileset>
+        </copy>
+                 
+        <chmod dir="${basedir}/temp" includes="**/*.sh" perm="+x" />
+
+        <mkdir dir="${basedir}/out"/>
+        <zip destfile="${basedir}/out/ApacheFlexJS.zip" basedir="${basedir}/temp"/>
+        <tar-gzip name="ApacheFlexJS" />
+    </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="${FLEXJS_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
+    -->
+
+    <!--<target name="checkintests"  description="Run these tests before every checkin" />-->
+    <target name="checkintests" depends="basictests-mustella,basictests-marmotinni" 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: Marmotinni checkintests
+     -->
+    
+    <target name="basictests-marmotinni" depends="marmotinni-setup,basictests-js"/>
+
+    <target name="marmotinni-setup"  description="download and set up marmotinni">
+        <subant target="main" >
+            <fileset dir="${basedir}/marmotinni/java" includes="downloads.xml"/>
+        </subant>
+    </target>
+    
+    <target name="basictests-js" depends="basictests-compile-js,basictests-compile-java,basictests-run-js" />
+    
+    <target name="basictests-run-js" >
+        <echo>url=file://${basedir}/mustella/tests/basicTests/bin/js-debug/index.html</echo>
+        <echo>script=${basedir}/mustella/tests/basicTests/halo/scripts/ButtonTestScript.mxml</echo>
+        <echo>script=${basedir}/mustella/tests/basicTests/halo/scripts/CheckBoxTestScript.mxml</echo>
+		<java classname="marmotinni.MarmotinniRunner" classpath="${basedir}/mustella/java/bin" fork="true" failonerror="yes">
+		    <!--<arg value="browser=chrome" />-->
+		    <arg value="url=file://${basedir}/mustella/tests/bin/js-debug/index.html" />
+		    <arg value="script=${basedir}/mustella/tests/basicTests/halo/scripts/ButtonTestScript.mxml" />
+		    <arg value="script=${basedir}/mustella/tests/basicTests/halo/scripts/CheckBoxTestScript.mxml" />
+		    <!--<arg value="showSteps=true" />-->
+            <classpath>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/selenium-java-2.40.0.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/apache-mime4j-0.6.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/bsh-1.3.0.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/cglib-nodep-2.1_3.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/commons-codec-1.8.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/commons-collections-3.2.1.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/commons-exec-1.1.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/commons-io-2.2.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/commons-jxpath-1.3.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/commons-lang3-3.1.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/commons-logging-1.1.1.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/cssparser-0.9.11.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/guava-15.0.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/hamcrest-core-1.3.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/hamcrest-library-1.3.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/htmlunit-2.13.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/htmlunit-core-js-2.13.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/httpclient-4.3.1.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/httpcore-4.3.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/httpmime-4.3.1.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/ini4j-0.5.2.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jcommander-1.29.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jetty-websocket-8.1.8.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jna-3.4.0.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jna-platform-3.4.0.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/json-20080701.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/junit-dep-4.11.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/nekohtml-1.9.17.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/netty-3.5.7.Final.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/operadriver-1.2.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/phantomjsdriver-1.1.0.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/protobuf-java-2.4.1.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/sac-1.3.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/serializer-2.7.1.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/testng-6.8.5.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/xalan-2.7.1.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/xercesImpl-2.10.0.jar"/>
+            	<pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/xml-apis-1.4.01.jar"/>
+            </classpath>
+		</java>
+
+    </target>
+    
+    <target name="basictests-compile-js">
+        <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+        <property name="FALCONJX_HOME" value="${env.FALCONJX_HOME}"/>
+        <property name="GOOG_HOME" value="${env.GOOG_HOME}"/>
+        <echo message="FLEX_HOME: ${FLEX_HOME}"/>
+        <echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+        <echo message="GOOG_HOME: ${GOOG_HOME}"/>
+        <delete dir="${basedir}/mustella/tests/basicTests/bin" failonerror="false" />
+        <java jar="${FALCONJX_HOME}/lib/mxmlc.jar" resultProperty="errorCode"
+            fork="true">
+            <jvmarg line="${mxmlc.jvm.args}"/>
+            <jvmarg line="-Dflexlib=${FLEXJS_HOME}/frameworks}"/>
+            <arg value="+flexlib=${FLEXJS_HOME}/frameworks" />
+            <arg value="-debug" />
+            <arg value="-compiler.mxml.children-as-data" />
+            <arg value="-compiler.binding-value-change-event=org.apache.flex.events.ValueChangeEvent" />
+            <arg value="-compiler.binding-value-change-event-kind=org.apache.flex.events.ValueChangeEvent" />
+            <arg value="-compiler.binding-value-change-event-type=valueChange" />
+            <arg value="+playerglobal.version=${playerglobal.version}" />
+            <arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
+            <arg value="-js-output-type=FLEXJS" />
+            <arg value="-closure-lib=${GOOG_HOME}" />
+            <arg value="-sdk-js-lib=${FLEXJS_HOME}/frameworks/js/FlexJS/src" />
+            <arg value="-sdk-js-lib=${FLEXJS_HOME}/frameworks/js/FlexJS/libs" />
+            <arg value="-external-js-lib=${FLEXJS_HOME}/frameworks/js/FlexJS/src/jquery_externals.js" />
+            <arg value="-external-js-lib=${FLEXJS_HOME}/frameworks/js/FlexJS/src/createjs_externals.js" />
+            <arg value="${basedir}/mustella/tests/basicTests/BasicTestsApp.mxml" />
+        </java>
+        <fail>
+            <condition>
+                <not>
+                    <or>
+                        <equals arg1="${errorCode}" arg2="0" />
+                        <equals arg1="${errorCode}" arg2="2" />
+                    </or>
+                </not>
+            </condition>
+        </fail>
+    </target>
+    
+    <target name="basictests-compile-java" >
+        <delete dir="${basedir}/mustella/java/bin"/>
+        <mkdir dir="${basedir}/mustella/java/bin"/>
+        <javac srcdir="${basedir}/mustella/java/src/marmotinni" destdir="${basedir}/mustella/java/bin" debug="off" optimize="on">
+            <classpath>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/selenium-java-2.40.0.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/apache-mime4j-0.6.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/bsh-1.3.0.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/cglib-nodep-2.1_3.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/commons-codec-1.8.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/commons-collections-3.2.1.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/commons-exec-1.1.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/commons-io-2.2.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/commons-jxpath-1.3.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/commons-lang3-3.1.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/commons-logging-1.1.1.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/cssparser-0.9.11.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/guava-15.0.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/hamcrest-core-1.3.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/hamcrest-library-1.3.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/htmlunit-2.13.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/htmlunit-core-js-2.13.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/httpclient-4.3.1.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/httpcore-4.3.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/httpmime-4.3.1.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/ini4j-0.5.2.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jcommander-1.29.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jetty-websocket-8.1.8.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jna-3.4.0.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/jna-platform-3.4.0.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/json-20080701.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/junit-dep-4.11.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/nekohtml-1.9.17.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/netty-3.5.7.Final.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/operadriver-1.2.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/phantomjsdriver-1.1.0.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/protobuf-java-2.4.1.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/sac-1.3.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/serializer-2.7.1.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/testng-6.8.5.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/xalan-2.7.1.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/xercesImpl-2.10.0.jar"/>
+                <pathelement location="${basedir}/marmotinni/java/lib/selenium/libs/xml-apis-1.4.01.jar"/>
+            </classpath>
+        </javac>
+    </target>
+    
+    <!--
+        Tests: Mustella checkintests
+    -->
+
+    <target name="basictests-mustella" depends="mustella-setup,basictests"/>
+
+    <target name="mustella-setup" depends="prebuild,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="${FALCON_HOME}/lib/falcon-flexTasks.jar"/>
+    </target>
+
+    <target name="basictests" depends="load-task" description="run basic tests using mustella">
+
+        <property name="FLEX_HOME" value="${basedir}" />
+        <mxmlc fork="true" debug="true"
+               file="${basedir}/mustella/tests/basicTests/BasicTestsApp.mxml">
+            <jvmarg line="${mxmlc.jvm.args}"/>
+            <arg line="-compiler.mxml.children-as-data=true" />
+            <library-path dir="${FLEX_SDK_HOME}" 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}/mustella/tests/basicTests" failonerror="true">
+            <arg value="${basedir}/mustella/tests/basicTests/BasicTestsApp.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="${FLEX_SDK_HOME}"/>
+            </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 media (png, gif, jpg, mp3, flv) -->
+                <exclude name="**/*.png"/>
+                <exclude name="**/*.gif"/>
+                <exclude name="**/*.jpg"/>
+                <exclude name="**/*.mp3"/>
+                <exclude name="**/*.flv"/>
+                <!--          End of binary files           -->
+                <!--          JSHint properties file           -->
+                <exclude name="frameworks/js/jshint.properties"/>
+            </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>
+
+    <target name="sign" >
+        <exec executable="gpg">
+            <arg value="--armor" />
+            <arg value="--output" />
+            <arg value="${basedir}/out/${source.kit}.zip.asc" />
+            <arg value="--detach-sig" />
+            <arg value="${basedir}/out/${source.kit}.zip" />
+        </exec>
+        
+        <exec executable="gpg">
+            <arg value="--armor" />
+            <arg value="--output" />
+            <arg value="${basedir}/out/${source.kit}.tar.gz.asc" />
+            <arg value="--detach-sig" />
+            <arg value="${basedir}/out/${source.kit}.tar.gz" />
+        </exec>
+        
+        <exec executable="gpg">
+            <arg value="--armor" />
+            <arg value="--output" />
+            <arg value="${basedir}/out/${binary.kit}.zip.asc" />
+            <arg value="--detach-sig" />
+            <arg value="${basedir}/out/${binary.kit}.zip" />
+        </exec>
+        
+        <exec executable="gpg">
+            <arg value="--armor" />
+            <arg value="--output" />
+            <arg value="${basedir}/out/${binary.kit}.tar.gz.asc" />
+            <arg value="--detach-sig" />
+            <arg value="${basedir}/out/${binary.kit}.tar.gz" />
+        </exec>
+    </target>
+        
+	<target name="doc-create-md5" >
+		<echo message="Generating MD5 hashes for doc artifacts"/>
+		<checksum algorithm="md5" file="${basedir}/out/${kit.prefix}-asdocs.zip" forceOverwrite="yes"/>
+	</target>
+	
+    <target name="doc-sign" >
+        <exec executable="gpg">
+            <arg value="--armor" />
+            <arg value="--output" />
+            <arg value="${basedir}/out/${kit.prefix}-asdocs.zip.asc" />
+            <arg value="--detach-sig" />
+            <arg value="${basedir}/out/${kit.prefix}-asdocs.zip" />
+        </exec>
+	</target>
+	
+</project>


[3/5] git commit: [flex-asjs] [refs/heads/develop] - Add some of the 'legal' stuff needed to make an Apache release later on.

Posted by er...@apache.org.
Add some of the 'legal' stuff needed to make an Apache release later on.

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/develop
Commit: 86b83fa2ace3dc65db2087154daee0ae44dbe79b
Parents: 8ca5c38
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Mon Aug 4 16:52:33 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Mon Aug 4 16:52:33 2014 +0200

----------------------------------------------------------------------
 vf2js/LICENSE       | 203 +++++++++++++++++++++++++++++++++++++++++++++++
 vf2js/NOTICE        |   5 ++
 vf2js/RELEASE_NOTES |  36 +++++++++
 3 files changed, 244 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/86b83fa2/vf2js/LICENSE
----------------------------------------------------------------------
diff --git a/vf2js/LICENSE b/vf2js/LICENSE
new file mode 100644
index 0000000..6b0b127
--- /dev/null
+++ b/vf2js/LICENSE
@@ -0,0 +1,203 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   Licensed 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.
+

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/86b83fa2/vf2js/NOTICE
----------------------------------------------------------------------
diff --git a/vf2js/NOTICE b/vf2js/NOTICE
new file mode 100644
index 0000000..4a65ac6
--- /dev/null
+++ b/vf2js/NOTICE
@@ -0,0 +1,5 @@
+Apache FlexJS
+Copyright 2014 The Apache Software Foundation
+
+This product includes software developed at
+The Apache Software Foundation (http://www.apache.org/).

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/86b83fa2/vf2js/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/vf2js/RELEASE_NOTES b/vf2js/RELEASE_NOTES
new file mode 100644
index 0000000..c38ad5a
--- /dev/null
+++ b/vf2js/RELEASE_NOTES
@@ -0,0 +1,36 @@
+Apache VF2JS 0.0.1
+==================
+
+Apache VF2JS is an overlay for the Flex SDK that provides the capability
+to cross-compile MXML and AS applications to HTML/JS/CSS so they can run
+in a browser without Flash.
+
+This is the first release of Apache VF2JS.  It is an 'alpha' type of release.
+Expect to find lots of bugs and missing features.
+
+
+
+Known Issues
+____________
+
+
+
+Differences from Apache VF2JS 0.0.0
+___________________________________
+
+New Features
+------------
+- everything
+
+Bug Fixes
+---------
+- none
+
+Please report new issues to our bugbase at:
+
+https://issues.apache.org/jira/browse/FLEX
+
+
+
+The Apache Flex Project
+<http://flex.apache.org/>


[5/5] git commit: [flex-asjs] [refs/heads/develop] - Slightly updated ; -)

Posted by er...@apache.org.
Slightly updated ;-)

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


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

Branch: refs/heads/develop
Commit: 985f982f480c01dce869de8207cb272a92dd6e22
Parents: 86a52e7
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Mon Aug 4 16:53:20 2014 +0200
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Mon Aug 4 16:53:20 2014 +0200

----------------------------------------------------------------------
 vf2js/README | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/985f982f/vf2js/README
----------------------------------------------------------------------
diff --git a/vf2js/README b/vf2js/README
index b31e76d..06aaaeb 100644
--- a/vf2js/README
+++ b/vf2js/README
@@ -1,17 +1,19 @@
 Vanilla Flex to Javascript
 
+Create VF2JS SDK
 1. Take any Flex SDK install
 2. add FalconJX
-3. add VF2JS SWCs
-4. add VF2JS JS framework
-5. add Launch script
-6. ...
-7. profit!
-
-;-)
+  - download binary release
+  - extract
+  - copy '/js/lib' to '/js/vf2js/falconjx/lib'
+  - copy '/compiler/generated/dist/sdk/lib' to '/js/vf2js/lib'
+3. add VF2JS
+  - download xxx
+  - copy '' to '' # SWCs
+  - copy '' to '' # JS framework
+  - copy '' to '' # lauch config
+    - replace tokens in launch config
 
 ToDo:
 - add builds to build machine (for nightlies)
-- add script to installer
-  - copy falcon lib to js/vf2js
 - lots and lots... please contribute!