You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2016/05/04 18:13:47 UTC
[01/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Added
XML tests (needs more work)
Repository: flex-asjs
Updated Branches:
refs/heads/spark ad95c1e80 -> 256a0a229
Added XML tests (needs more work)
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/777436c2
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/777436c2
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/777436c2
Branch: refs/heads/spark
Commit: 777436c24dd36d2be3bf9efd18ec9d23c63f94a5
Parents: fdbc359
Author: Harbs <ha...@in-tools.com>
Authored: Tue Apr 12 00:16:24 2016 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Tue Apr 12 00:16:24 2016 +0300
----------------------------------------------------------------------
manualtests/XMLTest/src/MyInitialView.mxml | 131 +++++++++++++++++++++++-
1 file changed, 127 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/777436c2/manualtests/XMLTest/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/manualtests/XMLTest/src/MyInitialView.mxml b/manualtests/XMLTest/src/MyInitialView.mxml
index cf9f677..83de865 100644
--- a/manualtests/XMLTest/src/MyInitialView.mxml
+++ b/manualtests/XMLTest/src/MyInitialView.mxml
@@ -33,13 +33,58 @@ limitations under the License.
<fx:Script>
<![CDATA[
- import org.apache.flex.core.IPopUpHost;
- import org.apache.flex.events.Event;
- import org.apache.flex.utils.UIUtils;
import XML;
- [Event(name="foo", type="org.apache.flex.events.Event")]
+ private var xmlStr:String = '<?xml version="1.0" encoding="UTF-8" ?>'+
+ '<catalog xmlns:fx="http://ns.adobe.com/mxml/2009"'+
+ ' xmlns:dac="com.printui.view.components.DesignAreaComponents.*">'+
+ '<'+'!'+'-'+'- just a comment -'+'-'+'>'+
+ '<?bla fud?>'+
+ ' bla bla<product description="Cardigan Sweater" product_image="cardigan.jpg">'+
+ ' <fx:catalog_item gender="Men\'s" fx:foo="bah">'+
+ ' <item_number>QWZ5671</item_number>'+
+ ' <price>39.95</price>'+
+ ' <size description="Medium">'+
+ ' <color_swatch image="red_cardigan.jpg">Red</color_swatch>'+
+ ' <color_swatch image="burgundy_cardigan.jpg">Burgundy</color_swatch>'+
+ ' </size>'+
+ ' <size description="Large">'+
+ ' <color_swatch image="red_cardigan.jpg">Red</color_swatch>'+
+ ' <color_swatch image="burgundy_cardigan.jpg">Burgundy</color_swatch>'+
+ ' </size>'+
+ ' </fx:catalog_item>'+
+ ' <script> <![CDATA[private function onStylesLoaded(ev:Event):void {currentState = "normal";facade = ApplicationFacade.getInstance();facade.notifyObservers(new Notification(ApplicationFacade.CMD_STARTUP, this));} ]'+']> </script>'+
+' <catalog_item gender="Women\'s">'+
+ ' <item_number>RRX9856</item_number>'+
+ ' <price>42.50</price>'+
+ ' <size description="Small">'+
+ ' <color_swatch image="red_cardigan.jpg">Red</color_swatch>'+
+ ' <color_swatch image="navy_cardigan.jpg">Navy</color_swatch>'+
+ ' <color_swatch image="burgundy_cardigan.jpg">Burgundy</color_swatch>'+
+ ' </size>'+
+ ' <size description="Medium">'+
+ ' <color_swatch image="red_cardigan.jpg">Red</color_swatch>'+
+ ' <color_swatch image="navy_cardigan.jpg">Navy</color_swatch>'+
+ ' <color_swatch image="burgundy_cardigan.jpg">Burgundy</color_swatch>'+
+ ' <color_swatch image="black_cardigan.jpg">Black</color_swatch>'+
+ ' </size>'+
+ ' <size description="Large">'+
+ ' <color_swatch image="navy_cardigan.jpg">Navy</color_swatch>'+
+ ' <color_swatch image="black_cardigan.jpg">Black</color_swatch>'+
+ ' </size>'+
+ ' <size description="Extra Large">'+
+ ' <color_swatch image="burgundy_cardigan.jpg">Burgundy</color_swatch>'+
+ ' <color_swatch image="black_cardigan.jpg">Black</color_swatch>'+
+ ' </size>'+
+ ' </catalog_item>'+
+ ' </product>'+
+'</catalog>';
+
+ private var xml:XML = new XML(xmlStr);
+ private var text:String = "hi";
+ private var xml2:XML = new XML('<root xmlns:fz="http://ns.adobe.com/mxml/2009"><a><b/></a><a name="fred"/><a>hi<b>yeah!</b></a><a name="frank"/><c/></root>');
+
public function runTest():void
{
var args:Array;
@@ -63,6 +108,84 @@ limitations under the License.
pop[0] = <pop><child name="Fred"/></pop>;
trace(pop.toString());
trace(xml1.toString());
+
+
+var xmlString:String = xml.toXMLString();
+var script:XML = xml..script[0].children()[0];
+var kind = script.nodeKind();
+var comment = xml.children()[0];
+var comKind = comment.nodeKind();
+var instr = xml.processingInstructions()[0];
+var prod = xml.product[0];
+//JIRA https://issues.apache.org/jira/browse/FLEX-35069
+//var catalog_item = xml..('http://ns.adobe.com/mxml/2009')::catalog_item[0];
+var prod_desc_name = prod.@description.name();
+//xml2.appendChild(catalog_item);
+trace(prod.childIndex());
+ var list1:XMLList = xml2.a;
+ var aaa = list1[0];
+ var aab = list1[0][0][0];
+ var list2:XMLList = xml2.child("a");
+ var list3:XMLList = xml2.descendants();
+ list3 = list3.(attribute("name").length());
+ list2[list2.length()] = <c id="1"/>;
+ list2[0] = <bla/>;
+ var list4:XMLList = new XMLList();
+ list4[0] = <a id="1"/>;
+ list4[1] = <a id="2"/>;
+ list4[2] = <a id="3"/>;
+//JIRA https://issues.apache.org/jira/browse/FLEX-35072
+// list1 += list4
+list1.concat(list4);
+ xml2.insertChildAfter(xml2.a,<a id="123"/>);
+ xml2.a = list4;
+ xml2.a = <a id="123"/>;
+ xml2.a += <a id="456"/>;
+ //xml2.a -= <a id="456"/>;
+ var a = xml2.baz
+ trace(xml2.toString());
+ trace(xml2.toXMLString());
+ trace(list1[0].toString());
+ trace(list1[0].toXMLString());
+ trace(list1[1].toString());
+ trace(list1[1].toXMLString());
+ trace(list1[2].toString());
+ trace(list1[2].toXMLString());
+ trace(list1[3].toString());
+ trace(list1[3].toXMLString());
+ var aaa = list1[4];
+ trace(list1[4].toString());
+ trace(list1[4].toXMLString());
+ trace(list1[5].toString());
+ trace(list1[5].toXMLString());
+
+ delete xml2.a;
+ var aa:XMLList = list2.b;
+ var ab:XMLList = list2.@name;
+ var ac = ab.parent();
+ trace(list2.length());
+ var list3:XMLList = list1.copy();
+ //list1[0].@foo = "food";
+ trace(list1[1].contains(<a name="fred"/>));
+ trace("simple: " +list1[0].hasSimpleContent());
+ trace("complex: " +list1[0].hasComplexContent());
+ trace("simple: " +list1[1].hasSimpleContent());
+ trace("complex: " +list1[1].hasComplexContent());
+ trace("simple: " +list1[2].hasSimpleContent());
+ trace("complex: " +list1[2].hasComplexContent());
+ trace("simple: " +list1.hasSimpleContent());
+ trace("complex: " +list1.hasComplexContent());
+ var list2:XMLList = xml2.b;
+ trace("list 2");
+ trace("simple: " +list2.hasSimpleContent());
+ trace("complex: " +list2.hasComplexContent());
+ var elem:XMLList = list1.elements();
+ var elem2:XMLList = list1.elements("c");
+ var elem3:XMLList = list1.elements("a");
+ trace(list1.toXMLString());
+ trace(list1.toString());
+ trace("done");
+
}
]]>
</fx:Script>
[21/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Updated
CreateJS project.
Posted by ah...@apache.org.
Updated CreateJS project.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1f399ec5
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1f399ec5
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1f399ec5
Branch: refs/heads/spark
Commit: 1f399ec50a8400645b410c1b9ed543a52cdd6530
Parents: 6216d6f
Author: Peter Ent <pe...@apache.org>
Authored: Tue Apr 19 11:14:57 2016 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Tue Apr 19 11:14:57 2016 -0400
----------------------------------------------------------------------
.../CreateJS/src/main/flex/CreateJSClasses.as | 3 +
.../org/apache/flex/createjs/Application.as | 331 ++++++++-
.../flex/org/apache/flex/createjs/CheckBox.as | 156 ++++-
.../flex/org/apache/flex/createjs/Container.as | 301 +++++++++
.../main/flex/org/apache/flex/createjs/Label.as | 150 ++++-
.../flex/org/apache/flex/createjs/TextButton.as | 195 ++++--
.../apache/flex/createjs/core/CreateJSBase.as | 164 +++++
.../org/apache/flex/createjs/core/UIBase.as | 675 +++++++++++++------
.../flex/org/apache/flex/createjs/core/View.as | 325 +++++++++
.../org/apache/flex/createjs/core/ViewBase.as | 206 ------
.../org/apache/flex/createjs/graphics/Circle.as | 94 +++
.../flex/createjs/graphics/GraphicShape.as | 76 +++
.../org/apache/flex/createjs/graphics/Rect.as | 93 +++
.../src/main/resources/compile-asjs-config.xml | 1 +
.../src/main/resources/compile-config.xml | 1 +
.../src/main/resources/createjs-manifest.xml | 8 +-
.../CreateJS/src/main/resources/defaults.css | 21 +-
17 files changed, 2258 insertions(+), 542 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f399ec5/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as b/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as
index eeafa52..816c665 100644
--- a/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as
+++ b/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as
@@ -27,6 +27,9 @@ package
*/
internal class CreateJSClasses
{
+ import org.apache.flex.createjs.core.UIBase; UIBase;
+ import org.apache.flex.createjs.core.View; View;
+ import org.apache.flex.createjs.graphics.GraphicShape; GraphicShape;
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f399ec5/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Application.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Application.as
index 06ae1fb..46ca931 100644
--- a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Application.as
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Application.as
@@ -18,15 +18,14 @@
////////////////////////////////////////////////////////////////////////////////
package org.apache.flex.createjs
{
- import org.apache.flex.core.ApplicationBase;
- import org.apache.flex.core.IBead;
- import org.apache.flex.core.IFlexInfo;
- import org.apache.flex.core.IStrand;
- import org.apache.flex.core.IUIBase;
- import org.apache.flex.core.IValuesImpl;
- import org.apache.flex.core.ValuesManager;
- import org.apache.flex.createjs.core.ViewBase;
- import org.apache.flex.events.Event;
+ import org.apache.flex.core.ApplicationBase;
+ import org.apache.flex.core.IApplicationView;
+ import org.apache.flex.core.IParent;
+ import org.apache.flex.core.IStrand;
+ import org.apache.flex.core.IValuesImpl;
+ import org.apache.flex.core.ValuesManager;
+ import org.apache.flex.events.Event;
+ import org.apache.flex.events.IEventDispatcher;
import org.apache.flex.utils.MXMLDataInterpreter;
COMPILE::JS
@@ -41,14 +40,82 @@ package org.apache.flex.createjs
//--------------------------------------
/**
- * Dispatched at startup.
+ * Dispatched at startup. Attributes and sub-instances of
+ * the MXML document have been created and assigned.
+ * The component lifecycle is different
+ * than the Flex SDK. There is no creationComplete event.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
*/
[Event(name="initialize", type="org.apache.flex.events.Event")]
- /**
- * CreateJS Application
- */
- public class Application extends org.apache.flex.core.Application implements IStrand, IFlexInfo
+ /**
+ * Dispatched at startup before the instances get created.
+ * Beads can call preventDefault and defer initialization.
+ * This event will be dispatched on every frame until no
+ * listeners call preventDefault(), then the initialize()
+ * method will be called.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ [Event(name="preinitialize", type="org.apache.flex.events.Event")]
+
+ /**
+ * Dispatched at startup after the initial view has been
+ * put on the display list. This event is sent before
+ * applicationComplete is dispatched.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ [Event(name="viewChanged", type="org.apache.flex.events.Event")]
+
+ /**
+ * Dispatched at startup after the initial view has been
+ * put on the display list.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ [Event(name="applicationComplete", type="org.apache.flex.events.Event")]
+ /**
+ * The Application class is the main class and entry point for a FlexJS
+ * application. This Application class is different than the
+ * Flex SDK's mx:Application or spark:Application in that it does not contain
+ * user interface elements. Those UI elements go in the views (ViewBase). This
+ * Application class expects there to be a main model, a controller, and
+ * an initial view.
+ *
+ * This is the CreateJS Application class which must be used in place of the normal
+ * FlexJS Application. CreateJS uses the HTML5 <canvas>, rather than the HTML DOM. This
+ * class sets up the canvas and injects the necessary HTML elements into the index.html
+ * file to bootstrap CreateJS.
+ *
+ * @see ViewBase
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+
+ COMPILE::AS3
+ public class Application extends org.apache.flex.core.Application
+ {
+ // does nothing different for SWF side
+ }
+
+ COMPILE::JS
+ public class Application extends ApplicationBase implements IStrand, IParent, IEventDispatcher
{
/**
* FalconJX will inject html into the index.html file. Surround with
@@ -63,16 +130,16 @@ package org.apache.flex.createjs
super();
}
- COMPILE::JS
private var stage:Stage;
/**
+ * @private
* @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
* @flexjsignorecoercion HTMLBodyElement
* @flexjsignorecoercion HTMLCanvasElement
+ * @flexjsignorecoercion createjs.Stage
*/
- COMPILE::JS
- override public function start():void
+ public function start():void
{
var body:HTMLBodyElement;
var canvas:HTMLCanvasElement;
@@ -91,11 +158,6 @@ package org.apache.flex.createjs
body.appendChild(this.element);
stage = new createjs.Stage('flexjsCanvas');
-
- /* AJH is this needed
- MXMLDataInterpreter.generateMXMLProperties(this,
- MXMLProperties);
- */
dispatchEvent('initialize');
@@ -106,15 +168,220 @@ package org.apache.flex.createjs
stage.update();
}
-
- /**
- * @flexjsignorecoercion createjs.DisplayObject
- */
- COMPILE::JS
- override public function addElement(c:Object, dispatchEvent:Boolean = true):void
- {
- stage.addChild(c.element as DisplayObject);
- c.addedToParent();
- }
+
+ /**
+ * The org.apache.flex.core.IValuesImpl that will
+ * determine the default values and other values
+ * for the application. The most common choice
+ * is org.apache.flex.core.SimpleCSSValuesImpl.
+ *
+ * @see org.apache.flex.core.SimpleCSSValuesImpl
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function set valuesImpl(value:IValuesImpl):void
+ {
+ ValuesManager.valuesImpl = value;
+ ValuesManager.valuesImpl.init(this);
+ }
+
+ /**
+ * The initial view.
+ *
+ * @see org.apache.flex.core.ViewBase
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ [Bindable("__NoChangeEvent__")]
+ public var initialView:IApplicationView;
+
+ /**
+ * The data model (for the initial view).
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ [Bindable("__NoChangeEvent__")]
+ private var _model:Object;
+
+ /**
+ * The data model (for the initial view).
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ [Bindable("__NoChangeEvent__")]
+ override public function get model():Object
+ {
+ return _model;
+ }
+
+ /**
+ * @private
+ */
+ [Bindable("__NoChangeEvent__")]
+ override public function set model(value:Object):void
+ {
+ _model = value;
+ }
+
+ /**
+ * The controller. The controller typically watches
+ * the UI for events and updates the model accordingly.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public var controller:Object;
+
+ /**
+ * An array of data that describes the MXML attributes
+ * and tags in an MXML document. This data is usually
+ * decoded by an MXMLDataInterpreter
+ *
+ * @see org.apache.flex.utils.MXMLDataInterpreter
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get MXMLDescriptor():Array
+ {
+ return null;
+ }
+
+ /**
+ * An method called by the compiler's generated
+ * code to kick off the setting of MXML attribute
+ * values and instantiation of child tags.
+ *
+ * The call has to be made in the generated code
+ * in order to ensure that the constructors have
+ * completed first.
+ *
+ * @param data The encoded data representing the
+ * MXML attributes.
+ *
+ * @see org.apache.flex.utils.MXMLDataInterpreter
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function generateMXMLAttributes(data:Array):void
+ {
+ MXMLDataInterpreter.generateMXMLProperties(this, data);
+ }
+
+ /**
+ * The array property that is used to add additional
+ * beads to an MXML tag. From ActionScript, just
+ * call addBead directly.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public var beads:Array;
+
+ /**
+ * @copy org.apache.flex.core.IParent#addElement()
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignorecoercion createjs.DisplayObject
+ */
+ public function addElement(c:Object, dispatchEvent:Boolean = true):void
+ {
+ stage.addChild(c.element as DisplayObject);
+ c.addedToParent();
+ }
+
+ /**
+ * @copy org.apache.flex.core.IParent#addElementAt()
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignorecoercion createjs.DisplayObject
+ */
+ public function addElementAt(c:Object, index:int, dispatchEvent:Boolean = true):void
+ {
+ stage.addChildAt(c.element as DisplayObject, index);
+ c.addedToParent();
+ }
+
+ /**
+ * @copy org.apache.flex.core.IParent#getElementAt()
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ */
+ public function getElementAt(index:int):Object
+ {
+ var c:WrappedHTMLElement = stage.getChildAt(index) as WrappedHTMLElement;
+ return c.flexjs_wrapper;
+ }
+
+ /**
+ * @copy org.apache.flex.core.IParent#getElementIndex()
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignorecoercion createjs.DisplayObject
+ */
+ public function getElementIndex(c:Object):int
+ {
+ return stage.getChildIndex(c.element as DisplayObject)
+ }
+
+ /**
+ * @copy org.apache.flex.core.IParent#removeElement()
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function removeElement(c:Object, dispatchEvent:Boolean = true):void
+ {
+ stage.removeChild(c.element as DisplayObject);
+ }
+
+ /**
+ * @copy org.apache.flex.core.IParent#numElements
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get numElements():int
+ {
+ return stage.numChildren();
+ }
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f399ec5/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/CheckBox.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/CheckBox.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/CheckBox.as
index 3ce2d50..f0dfbe8 100644
--- a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/CheckBox.as
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/CheckBox.as
@@ -25,58 +25,99 @@ package org.apache.flex.createjs
COMPILE::JS
{
import createjs.Container;
+ import createjs.DisplayObject;
import createjs.Shape;
import createjs.Stage;
import createjs.Text;
-
- import org.apache.flex.createjs.core.UIBase;
+
+ import org.apache.flex.createjs.core.CreateJSBase;
import org.apache.flex.core.WrappedHTMLElement;
import org.apache.flex.events.Event;
}
+ import org.apache.flex.core.IToggleButtonModel;
+ import org.apache.flex.core.graphics.IFill;
+ import org.apache.flex.core.graphics.SolidColor;
+
COMPILE::AS3
public class CheckBox extends org.apache.flex.html.CheckBox
- {
+ {
+ /**
+ * @private
+ */
+ public function get fill():IFill
+ {
+ return null;
+ }
+ public function set fill(value:IFill):void
+ {
+ }
+
+ /**
+ * The color of the text.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get textColor():IFill
+ {
+ return null;
+ }
+ public function set textColor(value:IFill):void
+ {
+ }
+
+ /**
+ * The font to use for the text. Any CSS-style font name may be used.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get fontName():String
+ {
+ return null;
+ }
+ public function set fontName(value:String):void
+ {
+ }
}
COMPILE::JS
- public class CheckBox extends UIBase
+ public class CheckBox extends CreateJSBase
{
private var checkMark:Shape;
- private var checkMarkBackground:Shape;
private var checkBoxLabel:Text;
+ private var checkBackground:Shape;
/**
* @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
*/
- override public function createElement():WrappedHTMLElement
+ override protected function createElement():WrappedHTMLElement
{
- checkMarkBackground = new createjs.Shape(null);
- checkMarkBackground.name = 'checkmarkbackground';
- checkMarkBackground.graphics.beginFill('red').
- drawRoundRect(0, 0, 40, 40, 8);
-
checkMark = new createjs.Shape(null);
checkMark.name = 'checkmark';
- checkMark.graphics.beginFill('white').drawRoundRect(0, 0, 32, 32, 6);
- checkMark.x = 4;
- checkMark.y = 4;
- checkMark.visible = false;
- checkBoxLabel = new createjs.Text('checkbox', '20px Arial', '#ff7700');
+ checkBoxLabel = new createjs.Text('checkbox', '20px Arial');
checkBoxLabel.name = 'label';
checkBoxLabel.textAlign = 'left';
checkBoxLabel.textBaseline = 'middle';
- checkBoxLabel.x = 45;
- checkBoxLabel.y = 40 / 2;
+
+ checkBackground = new createjs.Shape(null);
+ checkBackground.name = 'checkbackground';
var container:createjs.Container = new createjs.Container();
element = container as WrappedHTMLElement;
container.name = 'checkbox';
- container.addChild(this.checkMarkBackground);
+ container.addChild(this.checkBackground);
container.addChild(this.checkBoxLabel);
container.addChild(this.checkMark);
- container.onClick = clickHandler;
+
+ checkBoxLabel.addEventListener("click", clickHandler);
+ checkMark.addEventListener("click", clickHandler);
this.positioner = this.element;
@@ -85,17 +126,18 @@ package org.apache.flex.createjs
public function get text():String
{
- return checkBoxLabel.text;
+ return IToggleButtonModel(model).text;
}
public function set text(value:String):void
{
- checkBoxLabel.text = value;
+ IToggleButtonModel(model).text = value;
+ redrawShape();
}
public function get selected():Boolean
{
- return checkMark.visible;
+ return IToggleButtonModel(model).selected;;
}
/**
@@ -103,11 +145,71 @@ package org.apache.flex.createjs
*/
public function set selected(value:Boolean):void
{
- checkMark.visible = value;
- var stage:Stage = (element as Container).getStage();
- if (stage)
- stage.update();
+ IToggleButtonModel(model).selected = value;
+ redrawShape();
+
+ dispatchEvent( new org.apache.flex.events.Event("change") );
}
+
+ private var _fontName:String = "18px Arial"
+
+ /**
+ * The font to use for the text. Any CSS-style font name may be used.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get fontName():String
+ {
+ return _fontName;
+ }
+ public function set fontName(value:String):void
+ {
+ _fontName = value;
+ redrawShape();
+ }
+
+ /**
+ * @private
+ * @flexjsignorecoercion createjs.Container
+ */
+ override protected function redrawShape():void
+ {
+ var color:String = "black";
+ if (textColor != null) {
+ color = convertColorToString((textColor as SolidColor).color, 1.0);
+ }
+
+ var fillColor:String = "DeepSkyBlue";
+ var fillAlpha:Number = 1.0;
+ if (fill != null) {
+ fillAlpha = (fill as SolidColor).alpha;
+ fillColor = convertColorToString((fill as SolidColor).color, fillAlpha);
+ }
+
+ var label:createjs.Text = element as createjs.Text;
+ checkBoxLabel.text = text;
+ checkBoxLabel["font"] = fontName;
+ checkBoxLabel["color"] = color;
+
+ checkBoxLabel.x = 45;
+ checkBoxLabel.y = 40 / 2;
+
+ checkMark.graphics.setStrokeStyle(1);
+ checkMark.graphics.beginStroke('gray');
+ checkMark.graphics.beginFill(selected?fillColor:'white');
+ checkMark.graphics.drawRoundRect(0, 0, 32, 32, 6);
+ checkMark.graphics.endFill();
+ checkMark.graphics.endStroke();
+ checkMark.x = 4;
+ checkMark.y = 4;
+
+ var stage:Stage = checkBoxLabel.getStage();
+ if (stage)
+ stage.update();
+ }
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f399ec5/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Container.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Container.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Container.as
new file mode 100644
index 0000000..697c41e
--- /dev/null
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Container.as
@@ -0,0 +1,301 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 org.apache.flex.createjs
+{
+ import org.apache.flex.core.IBead;
+ import org.apache.flex.core.IChrome;
+ import org.apache.flex.core.IContainer;
+ import org.apache.flex.core.IUIBase;
+ import org.apache.flex.core.IMXMLDocument;
+ import org.apache.flex.core.IStatesObject;
+ import org.apache.flex.core.IStatesImpl;
+ import org.apache.flex.core.IContainer;
+ import org.apache.flex.core.ValuesManager;
+ import org.apache.flex.events.Event;
+ import org.apache.flex.events.ValueChangeEvent;
+ import org.apache.flex.states.State;
+ import org.apache.flex.utils.MXMLDataInterpreter;
+
+ COMPILE::AS3
+ {
+ import org.apache.flex.html.Container;
+ }
+
+ COMPILE::JS
+ {
+ import createjs.Container;
+ import createjs.Stage;
+ import createjs.DisplayObject;
+ import org.apache.flex.core.WrappedHTMLElement;
+
+ import org.apache.flex.createjs.core.UIBase;
+ }
+
+
+
+ [DefaultProperty("mxmlContent")]
+
+ /**
+ * Provides a nestable Container for CreateJS elements.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
+ COMPILE::AS3
+ public class Container extends org.apache.flex.html.Container
+ {
+ // does nothing different for SWF version.
+ }
+
+
+ /**
+ * CreateJS Container
+ */
+ COMPILE::JS
+ public class Container extends UIBase implements IStatesObject, IContainer
+ {
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function Container()
+ {
+ super();
+ }
+
+ /**
+ * @private
+ * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ * @flexjsignorecoercion createjs.Container
+ */
+ override protected function createElement():WrappedHTMLElement
+ {
+ if (element == null) {
+ var container:createjs.Container = new createjs.Container();
+ container.name = 'container';
+ element = container as WrappedHTMLElement;
+ }
+ if (positioner == null) {
+ positioner = element;
+ }
+
+ element.flexjs_wrapper = this;
+
+ return positioner;
+ }
+
+ /**
+ * @private
+ */
+ override public function addedToParent():void
+ {
+ if (!_initialized)
+ {
+ // each MXML file can also have styles in fx:Style block
+ ValuesManager.valuesImpl.init(this);
+ }
+
+ super.addedToParent();
+
+ if (!_initialized)
+ {
+ MXMLDataInterpreter.generateMXMLInstances(_mxmlDocument, this, MXMLDescriptor);
+
+ dispatchEvent(new Event("initBindings"));
+ dispatchEvent(new Event("initComplete"));
+ _initialized = true;
+ }
+ }
+
+ /**
+ * @private
+ */
+ public function childrenAdded():void
+ {
+ dispatchEvent(new Event("childrenAdded"));
+ }
+
+ private var _mxmlDescriptor:Array;
+ private var _mxmlDocument:Object = this;
+ private var _initialized:Boolean;
+
+ /**
+ * @copy org.apache.flex.core.Application#MXMLDescriptor
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get MXMLDescriptor():Array
+ {
+ return _mxmlDescriptor;
+ }
+
+ /**
+ * @private
+ */
+ public function setMXMLDescriptor(document:Object, value:Array):void
+ {
+ _mxmlDocument = document;
+ _mxmlDescriptor = value;
+ }
+
+ /**
+ * @copy org.apache.flex.core.Application#generateMXMLAttributes()
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function generateMXMLAttributes(data:Array):void
+ {
+ MXMLDataInterpreter.generateMXMLProperties(this, data);
+ }
+
+ /**
+ * @copy org.apache.flex.core.ItemRendererClassFactory#mxmlContent
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public var mxmlContent:Array;
+
+ private var _states:Array;
+
+ /**
+ * The array of view states. These should
+ * be instances of org.apache.flex.states.State.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get states():Array
+ {
+ return _states;
+ }
+
+ /**
+ * @private
+ * @flexjsignorecoercion Class
+ * @flexjsignorecoercion org.apache.flex.core.IBead
+ */
+ public function set states(value:Array):void
+ {
+ _states = value;
+ _currentState = _states[0].name;
+
+ try{
+ if (getBeadByType(IStatesImpl) == null)
+ {
+ var c:Class = ValuesManager.valuesImpl.getValue(this, "iStatesImpl") as Class;
+ var b:Object = new c();
+ addBead(b as IBead);
+ }
+ }
+ catch(e:Error)
+ {
+ // to do
+ }
+
+ }
+
+ /**
+ * <code>true</code> if the array of states
+ * contains a state with this name.
+ *
+ * @param state The state namem.
+ * @return True if state in state array
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function hasState(state:String):Boolean
+ {
+ for each (var s:State in _states)
+ {
+ if (s.name == state)
+ return true;
+ }
+ return false;
+ }
+
+ private var _currentState:String;
+
+ [Bindable("currentStateChange")]
+ /**
+ * The name of the current state.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get currentState():String
+ {
+ return _currentState;
+ }
+
+ /**
+ * @private
+ */
+ public function set currentState(value:String):void
+ {
+ var event:ValueChangeEvent = new ValueChangeEvent("currentStateChange", false, false, _currentState, value)
+ _currentState = value;
+ dispatchEvent(event);
+ }
+
+ private var _transitions:Array;
+
+ /**
+ * The array of transitions.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get transitions():Array
+ {
+ return _transitions;
+ }
+
+ /**
+ * @private
+ */
+ public function set transitions(value:Array):void
+ {
+ _transitions = value;
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f399ec5/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Label.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Label.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Label.as
index 3540599..490b3b9 100644
--- a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Label.as
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Label.as
@@ -28,54 +28,144 @@ package org.apache.flex.createjs
import createjs.Text;
import createjs.Stage;
- import org.apache.flex.createjs.core.UIBase;
+ import org.apache.flex.createjs.core.CreateJSBase;
import org.apache.flex.core.WrappedHTMLElement;
}
+
+ import org.apache.flex.core.ITextModel;
+ import org.apache.flex.core.graphics.IFill;
+ import org.apache.flex.core.graphics.SolidColor;
+
+ /**
+ * The Label class provides a static text string which may be colored.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
COMPILE::AS3
public class Label extends org.apache.flex.html.Label
- {
-
+ {
+ /**
+ * @private
+ */
+ public function get fill():IFill
+ {
+ return null;
+ }
+ public function set fill(value:IFill):void
+ {
+ }
+
+ /**
+ * The color of the text.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get textColor():IFill
+ {
+ return null;
+ }
+ public function set textColor(value:IFill):void
+ {
+ }
+
+ /**
+ * The font to use for the text. Any CSS-style font name may be used.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get fontName():String
+ {
+ return null;
+ }
+ public function set fontName(value:String):void
+ {
+ }
}
COMPILE::JS
- public class Label extends UIBase
+ public class Label extends CreateJSBase
{
+ private var _fontName:String = "18px Arial"
+
+ /**
+ * The font to use for the text. Any CSS-style font name may be used.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get fontName():String
+ {
+ return _fontName;
+ }
+ public function set fontName(value:String):void
+ {
+ _fontName = value;
+ redrawShape();
+ }
+
+ /**
+ * The string to display.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get text():String
+ {
+ return ITextModel(model).text;
+ }
+ public function set text(value:String):void
+ {
+ ITextModel(model).text = value;
+ redrawShape();
+ }
/**
+ * @private
* @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
*/
- override public function createElement():WrappedHTMLElement
+ override protected function createElement():WrappedHTMLElement
{
- var text:Text = new Text('default text', '20px Arial', '#ff7700');
- text.x = 0;
- text.y = 20;
+ var text:Text = new Text('default text');
text.textBaseline = 'alphabetic';
- positioner = element = text as WrappedHTMLElement;
+ element = text as WrappedHTMLElement;
+ element.flexjs_wrapper = this;
+
+ positioner = element;
+
return element;
}
-
-
- /**
- * @flexjsignorecoercion createjs.Text
- */
- public function get text():String
- {
- return (element as Text).text;
- }
-
- /**
- * @flexjsignorecoercion createjs.Text
- */
- public function set text(value:String):void
- {
- var text:Text = element as Text;
- text.text = value;
- var stage:Stage = text.getStage();
- if (stage)
- stage.update();
- }
+
+ /**
+ * @private
+ * @flexjsignorecoercion createjs.Text
+ */
+ override protected function redrawShape():void
+ {
+ var color:String = null;
+ if (textColor != null) {
+ color = convertColorToString((textColor as SolidColor).color, 1.0);
+ }
+
+ var label:createjs.Text = element as createjs.Text;
+ label.text = text;
+ label["font"] = fontName;
+ label["color"] = color;
+ }
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f399ec5/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/TextButton.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/TextButton.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/TextButton.as
index f7a31f9..6d8415c 100644
--- a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/TextButton.as
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/TextButton.as
@@ -20,7 +20,6 @@ package org.apache.flex.createjs
{
COMPILE::AS3
{
- import org.apache.flex.core.ITextModel;
import org.apache.flex.html.Button;
}
COMPILE::JS
@@ -30,11 +29,24 @@ package org.apache.flex.createjs
import createjs.Shape;
import createjs.Stage;
- import org.apache.flex.createjs.core.UIBase;
+ import org.apache.flex.createjs.core.CreateJSBase;
import org.apache.flex.core.WrappedHTMLElement;
}
+
+ import org.apache.flex.core.ITextModel;
+ import org.apache.flex.core.graphics.IFill;
+ import org.apache.flex.core.graphics.SolidColor;
+
+ /**
+ * The TextButton class provides a clickable button.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
- COMPILE::AS3
+ COMPILE::AS3
public class TextButton extends Button
{
public function TextButton()
@@ -42,54 +54,108 @@ package org.apache.flex.createjs
super();
}
- public function get text():String
+ private var _fill:IFill;
+
+ /**
+ * A solid color fill.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
+ public function get fill():IFill
{
- return ITextModel(model).text;
+ return _fill;
}
- public function set text(value:String):void
+ public function set fill(value:IFill):void
{
- ITextModel(model).text = value;
+ _fill = value;
+ }
+
+ private var _textColor:IFill;
+
+
+ /**
+ * The color of the text.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
+ public function get textColor():IFill
+ {
+ return _textColor;
+ }
+
+ public function set textColor(value:IFill):void
+ {
+ _textColor = value;
}
- public function get html():String
+ private var _fontName:String;
+
+ /**
+ * The font to use for the button's label.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
+ public function get fontName():String
{
- return ITextModel(model).html;
+ return _fontName;
}
- public function set html(value:String):void
+
+ public function set fontName(value:String):void
{
- ITextModel(model).html = value;
+ _fontName = value;
}
-
+
+
+ /**
+ * The button's label.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
+ public function get text():String
+ {
+ return ITextModel(model).text;
+ }
+ public function set text(value:String):void
+ {
+ ITextModel(model).text = value;
+ }
}
COMPILE::JS
- public class TextButton extends UIBase
+ public class TextButton extends CreateJSBase
{
private var buttonBackground:Shape;
private var buttonLabel:Text;
- private var button:Container;
+ private var button:createjs.Container;
+
/**
+ * @private
* @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
*/
- override public function createElement():WrappedHTMLElement
- {
+ override protected function createElement():WrappedHTMLElement
+ {
buttonBackground = new createjs.Shape(null);
buttonBackground.name = 'background';
- buttonBackground.graphics.beginFill('red').
- drawRoundRect(0, 0, 200, 60, 10);
- buttonLabel = new createjs.Text('button', 'bold 24px Arial',
- '#FFFFFF');
+ buttonLabel = new createjs.Text('button');
buttonLabel.name = 'label';
buttonLabel.textAlign = 'center';
buttonLabel.textBaseline = 'middle';
- buttonLabel.x = 200 / 2;
- buttonLabel.y = 60 / 2;
button = new createjs.Container();
button.name = 'button';
- button.x = 50;
- button.y = 25;
button.addChild(buttonBackground);
button.addChild(buttonLabel);
@@ -97,22 +163,71 @@ package org.apache.flex.createjs
element.flexjs_wrapper = this;
return element;
}
+
+ private var _fontName:String = "bold 18px Arial"
+
+ /**
+ * The font to use for the button's label.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
+ public function get fontName():String
+ {
+ return _fontName;
+ }
+
+ public function set fontName(value:String):void
+ {
+ _fontName = value;
+ redrawShape();
+ }
-
- /**
- * @flexjsignorecoercion createjs.Text
- */
- public function get text():String
- {
- return buttonLabel.text;
- }
-
- /**
- * @flexjsignorecoercion createjs.Text
- */
- public function set text(value:String):void
- {
- buttonLabel.text = value;
- }
+ /**
+ * The button's label
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
+ public function get text():String
+ {
+ return ITextModel(model).text;
+ }
+ public function set text(value:String):void
+ {
+ ITextModel(model).text = value;
+ redrawShape();
+ }
+
+ /**
+ * @private
+ */
+ override protected function redrawShape():void
+ {
+ if (isNaN(width) || isNaN(height)) return;
+
+ var fillColor:String = null;
+ var fillAlpha:Number = 1.0;
+ if (fill != null) {
+ fillAlpha = (fill as SolidColor).alpha;
+ fillColor = convertColorToString((fill as SolidColor).color, fillAlpha);
+ }
+ buttonBackground.graphics.beginFill(fillColor).
+ drawRoundRect(0, 0, width, height, 8);
+
+ var color:String = null;
+ if (textColor != null) {
+ color = convertColorToString((textColor as SolidColor).color, 1.0);
+ }
+ buttonLabel.x = width / 2;
+ buttonLabel.y = height / 2;
+ buttonLabel.text = text;
+ buttonLabel["font"] = fontName;
+ buttonLabel["color"] = color;
+ }
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f399ec5/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/CreateJSBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/CreateJSBase.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/CreateJSBase.as
new file mode 100644
index 0000000..d23359e
--- /dev/null
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/CreateJSBase.as
@@ -0,0 +1,164 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 org.apache.flex.createjs.core
+{
+ COMPILE::JS
+ {
+ import createjs.Container;
+ import createjs.Text;
+ import createjs.Shape;
+ import createjs.Stage;
+
+ import org.apache.flex.createjs.core.UIBase;
+ import org.apache.flex.core.WrappedHTMLElement;
+
+ import org.apache.flex.core.graphics.IFill;
+ import org.apache.flex.core.graphics.IStroke;
+ import org.apache.flex.core.graphics.SolidColor;
+ }
+
+ /**
+ * This is the base class for CreateJS component wrappers used by FlexJS
+ * applications. This class provides standard properties that most of the
+ * FlexJS CreateJS wrapper classes use, such as a fill color.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
+
+ COMPILE::AS3
+ public class CreateJSBase extends org.apache.flex.core.UIBase
+ {
+ // does nothing for SWF version.
+ }
+
+ COMPILE::JS
+ public class CreateJSBase extends UIBase
+ {
+ private var _stroke:IStroke;
+
+ /**
+ * The color, weight, and alpha value of a stroke or outline.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
+ public function get stroke():IStroke
+ {
+ return _stroke;
+ }
+ public function set stroke(value:IStroke):void
+ {
+ _stroke = value;
+ redrawShape();
+ }
+
+ private var _fill:IFill;
+
+ /**
+ * The color and alpha values of a fill.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
+ public function get fill():IFill
+ {
+ return _fill;
+ }
+ public function set fill(value:IFill):void
+ {
+ _fill = value;
+ redrawShape();
+ }
+
+ private var _textColor:IFill;
+
+ /**
+ * The color and alpha for text.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
+ public function get textColor():IFill
+ {
+ return _textColor;
+ }
+
+ public function set textColor(value:IFill):void
+ {
+ _textColor = value;
+ redrawShape();
+ }
+
+ /**
+ * @private
+ */
+ override public function set x(value:Number):void
+ {
+ super.x = value;
+ redrawShape();
+ }
+
+ /**
+ * @private
+ */
+ override public function set y(value:Number):void
+ {
+ super.y = value;
+ redrawShape();
+ }
+
+ /**
+ * @private
+ */
+ override public function set width(value:Number):void
+ {
+ super.width = value;
+ redrawShape();
+ }
+
+ /**
+ * @private
+ */
+ override public function set height(value:Number):void
+ {
+ super.height = value;
+ redrawShape();
+ }
+
+ /**
+ * The redrawShape function is called whenever visual changes are made
+ * to a component. This includes its size, position, and color. Each
+ * subclass provides this function.
+ * @private
+ */
+ protected function redrawShape():void
+ {
+ // handle in subclass
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f399ec5/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/UIBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/UIBase.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/UIBase.as
index 10f18ab..467a2c8 100644
--- a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/UIBase.as
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/UIBase.as
@@ -20,10 +20,17 @@ package org.apache.flex.createjs.core
{
import org.apache.flex.core.HTMLElementWrapper;
import org.apache.flex.core.IStrand;
+ import org.apache.flex.core.IStrandWithModel;
+ import org.apache.flex.core.IParentIUIBase;
+ import org.apache.flex.core.IStyleableObject;
+ import org.apache.flex.core.ILayoutChild;
import org.apache.flex.core.IBeadModel;
import org.apache.flex.core.IBead;
+ import org.apache.flex.core.IBeadView;
+ import org.apache.flex.core.IBeadController;
import org.apache.flex.core.IFlexJSElement;
import org.apache.flex.core.IUIBase;
+ import org.apache.flex.core.ValuesManager;
import org.apache.flex.events.Event;
import org.apache.flex.events.IEventDispatcher;
@@ -34,23 +41,300 @@ package org.apache.flex.createjs.core
import createjs.Stage;
import org.apache.flex.core.WrappedHTMLElement;
}
+
+ /**
+ * The CreateJS framework provides its own version of UIBase. CreateJS uses
+ * the HTML 5 <canvas> for its work and does not use the HTML DOM like the
+ * most of FlexJS, so this replacement for UIBase allows the CreateJS wrapper
+ * classes for FlexJS to fit in.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
+
+ COMPILE::AS3
+ public class UIBase extends org.apache.flex.core.UIBase
+ {
+ // nothing different for the SWF version
+ }
- public class UIBase extends HTMLElementWrapper implements IStrand, IEventDispatcher, IUIBase, IFlexJSElement
+ COMPILE::JS
+ public class UIBase extends HTMLElementWrapper implements IStrandWithModel, IEventDispatcher, IUIBase, IFlexJSElement
{
+ /**
+ * Constructor.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignorecoercion Class
+ */
public function UIBase()
{
super();
- COMPILE::JS
- {
- createElement();
- }
+
+ createElement();
+ }
+
+ private var _view:IBeadView;
+
+ /**
+ * @private
+ * @flexjsignorecoercion Class
+ */
+ public function get view():IBeadView
+ {
+ if (_view == null)
+ {
+ var c:Class = ValuesManager.valuesImpl.getValue(this, "iBeadView") as Class;
+ if (c)
+ {
+ if (c)
+ {
+ _view = (new c()) as IBeadView;
+ addBead(_view);
+ }
+ }
+ }
+ return _view;
+ }
+
+ /**
+ * @private
+ */
+ public function set view(value:IBeadView):void
+ {
+ if (_view != value)
+ {
+ addBead(value as IBead);
+ dispatchEvent(new Event("viewChanged"));
+ }
+ }
+
+ private var _id:String;
+
+ /**
+ * An id property for MXML documents.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get id():String
+ {
+ return _id;
+ }
+
+ /**
+ * @private
+ */
+ public function set id(value:String):void
+ {
+ if (_id != value)
+ {
+ _id = value;
+ dispatchEvent(new Event("idChanged"));
+ }
+ }
+
+ private var _style:Object;
+
+ /**
+ * The style object has no meaning for CreateJS, but is provided for
+ * compatiability and, perhaps in the future, as a way to apply "styles"
+ * to CreateJS objects.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get style():Object
+ {
+ return _style;
+ }
+
+ /**
+ * Style is not supported for CreateJS.
+ * @private
+ * @flexjsignorecoercion String
+ */
+ public function set style(value:Object):void
+ {
+ if (_style != value)
+ {
+ if (value is String)
+ {
+ _style = ValuesManager.valuesImpl.parseStyles(value as String);
+ }
+ else
+ _style = value;
+
+ dispatchEvent(new Event("stylesChanged"));
+ }
+ }
+
+ private var _className:String;
+
+ /**
+ * The classname. Often used for CSS.
+ * class selector lookups.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get className():String
+ {
+ return _className;
}
+ /**
+ * @private
+ * Not supported for CreateJS
+ */
+ public function set className(value:String):void
+ {
+ if (_className != value)
+ {
+ _className = value;
+ dispatchEvent(new Event("classNameChanged"));
+ }
+ }
+
+ /**
+ * @copy org.apache.flex.core.Application#beads
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public var beads:Array;
+
+ /**
+ * The method called when added to a parent. This is a good
+ * time to set up beads.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignorecoercion Class
+ * @flexjsignorecoercion Number
+ */
+ public function addedToParent():void
+ {
+ var c:Class;
+
+ if (style)
+ ValuesManager.valuesImpl.applyStyles(this, style);
+
+ if (isNaN(_explicitWidth) && isNaN(_percentWidth))
+ {
+ var value:* = ValuesManager.valuesImpl.getValue(this,"width");
+ if (value !== undefined)
+ {
+ if (value is String)
+ {
+ var s:String = String(value);
+ if (s.indexOf("%") != -1)
+ _percentWidth = Number(s.substring(0, s.length - 1));
+ else
+ {
+ if (s.indexOf("px") != -1)
+ s = s.substring(0, s.length - 2);
+ _width = _explicitWidth = Number(s);
+ }
+ }
+ else
+ _width = _explicitWidth = value as Number;
+ }
+ }
+
+ if (isNaN(_explicitHeight) && isNaN(_percentHeight))
+ {
+ value = ValuesManager.valuesImpl.getValue(this,"height");
+ if (value !== undefined)
+ {
+ if (value is String)
+ {
+ s = String(value);
+ if (s.indexOf("%") != -1)
+ _percentHeight = Number(s.substring(0, s.length - 1));
+ else
+ {
+ if (s.indexOf("px") != -1)
+ s = s.substring(0, s.length - 2);
+ _height = _explicitHeight = Number(s);
+ }
+ }
+ else
+ _height = _explicitHeight = value as Number;
+ }
+ }
+
+ for each (var bead:IBead in beads)
+ addBead(bead);
+
+ if (getBeadByType(IBeadModel) == null)
+ {
+ c = ValuesManager.valuesImpl.getValue(this, "iBeadModel") as Class;
+ if (c)
+ {
+ var model:IBeadModel = new c as IBeadModel;
+ if (model)
+ addBead(model);
+ }
+ }
+ if (_view == null && getBeadByType(IBeadView) == null)
+ {
+ c = ValuesManager.valuesImpl.getValue(this, "iBeadView") as Class;
+ if (c)
+ {
+ var view:IBeadView = new c as IBeadView;
+ if (view)
+ addBead(view);
+ }
+ }
+ if (getBeadByType(IBeadController) == null)
+ {
+ c = ValuesManager.valuesImpl.getValue(this, "iBeadController") as Class;
+ if (c)
+ {
+ var controller:IBeadController = new c as IBeadController;
+ if (controller)
+ addBead(controller);
+ }
+ }
+ dispatchEvent(new Event("beadsAdded"));
+ }
+
+ /**
+ * @copy org.apache.flex.core.IUIBase#topMostEventDispatcher
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ * @flexjsignorecoercion org.apache.flex.events.IEventDispatcher
+ */
+ public function get topMostEventDispatcher():IEventDispatcher
+ {
+ var e:WrappedHTMLElement = document.body as WrappedHTMLElement;
+ return e.flexjs_wrapper as IEventDispatcher;
+ }
+
/**
* @flexjsignorecoercion createjs.Container
* @flexjsignorecoercion createjs.DisplayObject
*/
- COMPILE::JS
public function addElement(c:Object, dispatchEvent:Boolean = true):void
{
(element as Container).addChild(c.element as DisplayObject);
@@ -60,7 +344,6 @@ package org.apache.flex.createjs.core
* @flexjsignorecoercion createjs.Container
* @flexjsignorecoercion createjs.DisplayObject
*/
- COMPILE::JS
public function addElementAt(c:Object, index:int, dispatchEvent:Boolean = true):void
{
(element as Container).addChildAt(c.element as DisplayObject, index);
@@ -71,7 +354,6 @@ package org.apache.flex.createjs.core
* @flexjsignorecoercion createjs.Container
* @flexjsignorecoercion createjs.DisplayObject
*/
- COMPILE::JS
public function getElementIndex(c:Object):int
{
return (element as Container).getChildIndex(c.element as DisplayObject);
@@ -82,7 +364,6 @@ package org.apache.flex.createjs.core
* @flexjsignorecoercion createjs.Container
* @flexjsignorecoercion createjs.DisplayObject
*/
- COMPILE::JS
public function removeElement(c:Object, dispatchEvent:Boolean = true):void
{
(element as Container).removeChild(c.element as DisplayObject);
@@ -93,7 +374,6 @@ package org.apache.flex.createjs.core
* @flexjsignorecoercion createjs.Container
* @flexjsignorecoercion createjs.DisplayObject
*/
- COMPILE::JS
public function getElementAt(index:int):Object
{
return (element as Container).getChildAt(index);
@@ -104,7 +384,6 @@ package org.apache.flex.createjs.core
* @flexjsignorecoercion createjs.Container
* @flexjsignorecoercion createjs.DisplayObject
*/
- COMPILE::JS
public function get numElements():int
{
return (element as Container).numChildren;
@@ -112,230 +391,241 @@ package org.apache.flex.createjs.core
/**
* @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ * @flexjsignorecoercion createjs.Container
*/
- COMPILE::JS
- public function createElement():WrappedHTMLElement
+ protected function createElement():WrappedHTMLElement
{
- element = new Container() as WrappedHTMLElement;
+ element = new createjs.Container() as WrappedHTMLElement;
+ element.flexjs_wrapper = this;
positioner = this.element;
return element;
}
+
+
+ private var _explicitWidth:Number;
+
+ /**
+ * The explicitly set width (as opposed to measured width
+ * or percentage width).
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get explicitWidth():Number
+ {
+ return _explicitWidth;
+ }
+
+ /**
+ * @private
+ */
+ public function set explicitWidth(value:Number):void
+ {
+ if (_explicitWidth == value)
+ return;
+
+ // width can be pixel or percent not both
+ if (!isNaN(value))
+ _percentWidth = NaN;
+
+ _explicitWidth = value;
+
+ dispatchEvent(new Event("explicitWidthChanged"));
+ }
+
+ private var _explicitHeight:Number;
+
+ /**
+ * The explicitly set width (as opposed to measured width
+ * or percentage width).
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get explicitHeight():Number
+ {
+ return _explicitHeight;
+ }
+
+ /**
+ * @private
+ */
+ public function set explicitHeight(value:Number):void
+ {
+ if (_explicitHeight == value)
+ return;
+
+ // height can be pixel or percent not both
+ if (!isNaN(value))
+ _percentHeight = NaN;
+
+ _explicitHeight = value;
+
+ dispatchEvent(new Event("explicitHeightChanged"));
+ }
+
+ private var _percentWidth:Number;
+
+ /**
+ * The requested percentage width this component
+ * should have in the parent container. Note that
+ * the actual percentage may be different if the
+ * total is more than 100% or if there are other
+ * components with explicitly set widths.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get percentWidth():Number
+ {
+ return _percentWidth;
+ }
+
+ /**
+ * @private
+ */
+ public function set percentWidth(value:Number):void
+ {
+ this._percentWidth = value;
+ if (!isNaN(value))
+ this._explicitWidth = NaN;
+
+ dispatchEvent(new Event("percentWidthChanged"));
+ }
+
+ private var _percentHeight:Number;
+
+ /**
+ * The requested percentage height this component
+ * should have in the parent container. Note that
+ * the actual percentage may be different if the
+ * total is more than 100% or if there are other
+ * components with explicitly set heights.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get percentHeight():Number
+ {
+ return _percentHeight;
+ }
+
+ /**
+ * @private
+ */
+ public function set percentHeight(value:Number):void
+ {
+ this._percentHeight = value;
+ if (!isNaN(value))
+ this._explicitHeight = NaN;
+
+ dispatchEvent(new Event("percentHeightChanged"));
+ }
+
+ private var _x:Number;
/**
* @flexjsignorecoercion createjs.Container
*/
- COMPILE::JS
public function get x():Number
{
- return (positioner as Container).x;
+ return _x;
}
/**
* @flexjsignorecoercion createjs.Container
*/
- COMPILE::JS
public function set x(value:Number):void
{
- var container:Container = positioner as Container;
+ var container:DisplayObject = positioner as DisplayObject;
container.x = value;
+ _x = value;
var stage:Stage = container.getStage();
if (stage)
stage.update();
}
+
+ private var _y:Number;
-
/**
* @flexjsignorecoercion createjs.Container
*/
- COMPILE::JS
public function get y():Number
{
- return (positioner as Container).y;
+ return _y;
}
/**
* @flexjsignorecoercion createjs.Container
*/
- COMPILE::JS
public function set y(value:Number):void
{
- var container:Container = positioner as Container;
+ var container:DisplayObject = positioner as DisplayObject;
container.y = value;
+ _y = value;
var stage:Stage = container.getStage();
if (stage)
stage.update();
- }
+ }
+
+ private var _width:Number;
/**
* @flexjsignorecoercion createjs.Container
*/
- COMPILE::JS
public function get width():Number
{
- return (positioner as Container).width;
+ return _width;
}
/**
- * @flexjsignorecoercion createjs.Container
+ * @flexjsignorecoercion createjs.DisplayObject
*/
- COMPILE::JS
public function set width(value:Number):void
{
- var container:Container = positioner as Container;
+ var container:DisplayObject = positioner as DisplayObject;
container.width = value;
+ _width = value;
var stage:Stage = container.getStage();
if (stage)
stage.update();
}
+
+ private var _height:Number;
/**
* @flexjsignorecoercion createjs.Container
*/
- COMPILE::JS
public function get height():Number
{
- return (positioner as Container).height;
+ return _height;
}
/**
* @flexjsignorecoercion createjs.Container
*/
- COMPILE::JS
public function set height(value:Number):void
{
- var container:Container = positioner as Container;
+ var container:DisplayObject = positioner as DisplayObject;
container.height = value;
+ _height = value;
var stage:Stage = container.getStage();
if (stage)
stage.update();
}
-
- COMPILE::AS3
- private var _width:Number = 0;
- COMPILE::AS3
- override public function get width():Number
- {
- return _width;
- }
-
- COMPILE::AS3
- override public function set width(value:Number):void
- {
- if (_width != value)
- {
- _width = value;
- dispatchEvent(new Event("widthChanged"));
- }
- }
- COMPILE::AS3
- protected function get $width():Number
- {
- return super.width;
- }
-
- COMPILE::AS3
- private var _height:Number = 0;
- COMPILE::AS3
- override public function get height():Number
- {
- return _height;
- }
- COMPILE::AS3
- override public function set height(value:Number):void
- {
- if (_height != value)
- {
- _height = value;
- dispatchEvent(new Event("heightChanged"));
- }
- }
- COMPILE::AS3
- protected function get $height():Number
- {
- return super.height;
- }
-
- COMPILE::AS3
- private var _model:IBeadModel;
- COMPILE::AS3
- public function get model():IBeadModel
- {
- return _model;
- }
- COMPILE::AS3
- public function set model(value:IBeadModel):void
- {
- if (_model != value)
- {
- addBead(value as IBead);
- dispatchEvent(new Event("modelChanged"));
- }
- }
-
- private var _id:String;
- public function get id():String
- {
- return _id;
- }
- public function set id(value:String):void
- {
- if (_id != value)
- {
- _id = value;
- dispatchEvent(new Event("idChanged"));
- }
- }
-
- // beads declared in MXML are added to the strand.
- // from AS, just call addBead()
- COMPILE::AS3
- public var beads:Array;
-
- COMPILE::AS3
- private var _beads:Vector.<IBead>;
- COMPILE::AS3
- override public function addBead(bead:IBead):void
- {
- if (!_beads)
- _beads = new Vector.<IBead>;
- _beads.push(bead);
- if (bead is IBeadModel)
- _model = bead as IBeadModel;
- bead.strand = this;
- }
-
- COMPILE::AS3
- public function getBeadByType(classOrInterface:Class):IBead
- {
- for each (var bead:IBead in _beads)
- {
- if (bead is classOrInterface)
- return bead;
- }
- return null;
- }
-
- COMPILE::AS3
- public function removeBead(value:IBead):IBead
- {
- var n:int = _beads.length;
- for (var i:int = 0; i < n; i++)
- {
- var bead:IBead = _beads[i];
- if (bead == value)
- {
- _beads.splice(i, 1);
- return bead;
- }
- }
- return null;
- }
/**
* @flexjsignorecoercion createjs.DisplayObject
*/
- COMPILE::JS
public function get visible():Boolean
{
return (positioner as DisplayObject).visible;
@@ -344,7 +634,6 @@ package org.apache.flex.createjs.core
/**
* @flexjsignorecoercion createjs.DisplayObject
*/
- COMPILE::JS
public function set visible(value:Boolean):void
{
var oldValue:Boolean = (positioner as DisplayObject).visible;
@@ -367,7 +656,6 @@ package org.apache.flex.createjs.core
/**
* @flexjsignorecoercion createjs.DisplayObject
*/
- COMPILE::JS
public function get alpha():Number
{
return (positioner as DisplayObject).alpha;
@@ -376,19 +664,16 @@ package org.apache.flex.createjs.core
/**
* @flexjsignorecoercion createjs.DisplayObject
*/
- COMPILE::JS
public function set alpha(value:Number):void
{
(positioner as DisplayObject).alpha = value;
}
- COMPILE::JS
private var _positioner:WrappedHTMLElement;
/**
* The HTMLElement used to position the component.
*/
- COMPILE::JS
public function get positioner():WrappedHTMLElement
{
return _positioner;
@@ -397,53 +682,37 @@ package org.apache.flex.createjs.core
/**
* @private
*/
- COMPILE::JS
public function set positioner(value:WrappedHTMLElement):void
{
_positioner = value;
}
-
- /**
- * @copy org.apache.flex.core.IUIBase#topMostEventDispatcher
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
- * @flexjsignorecoercion org.apache.flex.events.IEventDispatcher
- */
- public function get topMostEventDispatcher():IEventDispatcher
- {
- COMPILE::AS3
- {
- return null;
- }
- COMPILE::JS
- {
- var e:WrappedHTMLElement = document.body as WrappedHTMLElement;
- return e.flexjs_wrapper as IEventDispatcher;
- }
- }
-
- public function addedToParent():void
- {
-
- }
-
- /**
- * @copy org.apache.flex.core.IUIBase#element
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- COMPILE::AS3
- public function get element():IFlexJSElement
- {
- return this;
- }
+
+ /**
+ * @flexjsignorecoercion createjs.Container
+ * @flexjsignorecoercion createjs.DisplayObject
+ * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ */
+ public function get parent():IUIBase
+ {
+ var pos:createjs.DisplayObject = this.positioner as createjs.DisplayObject;
+ var p:WrappedHTMLElement = pos['parent'] as WrappedHTMLElement;
+ var wrapper:IUIBase = p ? p.flexjs_wrapper as IUIBase : null;
+ return wrapper;
+ }
+
+ // CreateJS - specific properties and functions
+
+ protected function convertColorToString(value:uint, alpha:Number=1.0):String
+ {
+ // ideally, for CreateJS, we convert the color value and alpha into the
+ // format: "rgba(red,green,blue,alpha)" such as "rgba(255,0,0,1.0)"
+ // but for now we'll make it easy
+ var color:String = Number(value).toString(16);
+ if (color.length == 1) color = '00' + color;
+ if (color.length == 2) color = '00' + color;
+ if (color.length == 4) color = '00' + color;
+ return "#"+color;
+ }
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f399ec5/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/View.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/View.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/View.as
new file mode 100644
index 0000000..81cf83d
--- /dev/null
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/View.as
@@ -0,0 +1,325 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 org.apache.flex.createjs.core
+{
+ import org.apache.flex.core.IBead;
+ import org.apache.flex.core.IContainer;
+ import org.apache.flex.core.IApplicationView;
+ import org.apache.flex.core.IPopUpHost;
+ import org.apache.flex.core.IMXMLDocument;
+ import org.apache.flex.core.IStatesImpl;
+ import org.apache.flex.core.ValuesManager;
+ import org.apache.flex.events.Event;
+ import org.apache.flex.events.ValueChangeEvent;
+ import org.apache.flex.states.State;
+ import org.apache.flex.utils.MXMLDataInterpreter;
+
+ COMPILE::JS
+ {
+ import createjs.Stage;
+ import createjs.Container;
+ import org.apache.flex.core.WrappedHTMLElement;
+ }
+
+ //--------------------------------------
+ // Events
+ //--------------------------------------
+
+ /**
+ * Dispatched at startup. Attributes and sub-instances of
+ * the MXML document have been created and assigned.
+ * The component lifecycle is different
+ * than the Flex SDK. There is no creationComplete event.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ [Event(name="initComplete", type="org.apache.flex.events.Event")]
+
+ [DefaultProperty("mxmlContent")]
+
+ /**
+ * This version of View is specific for CreateJS since CreateJS does not
+ * use the HTML DOM.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
+
+ COMPILE::AS3
+ public class View extends org.apache.flex.core.ViewBase
+ {
+ // nothing different for the SWF version
+ }
+
+ COMPILE::JS
+ public class View extends UIBase implements IPopUpHost, IApplicationView, IContainer
+ {
+ private var _applicationModel:Object;
+
+ [Bindable("modelChanged")]
+
+ /**
+ * A reference to the Application's model. Usually,
+ * a view is displaying the main model for an
+ * application.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get applicationModel():Object
+ {
+ return _applicationModel;
+ }
+
+ /**
+ * @private
+ */
+ public function set applicationModel(value:Object):void
+ {
+ _applicationModel = value;
+ dispatchEvent(new Event("modelChanged"));
+ }
+
+ /**
+ * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ * @flexjsignorecoercion createjs.Container
+ */
+ override protected function createElement():WrappedHTMLElement
+ {
+ if (element == null) {
+ var container:createjs.Container = new createjs.Container();
+ container.name = 'viewbase';
+ container.x = 0;
+ container.y = 0;
+ element = container as WrappedHTMLElement;
+ }
+ if (positioner == null) {
+ positioner = element;
+ }
+
+ element.flexjs_wrapper = this;
+
+ return positioner;
+ }
+
+ public function childrenAdded():void
+ {
+ dispatchEvent(new Event("childrenAdded"));
+ }
+
+
+ /**
+ * A ViewBase doesn't create its children until it is added to
+ * a parent.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ override public function addedToParent():void
+ {
+ if (!_initialized)
+ {
+ // each MXML file can also have styles in fx:Style block
+ ValuesManager.valuesImpl.init(this);
+ }
+
+ super.addedToParent();
+
+ if (!_initialized)
+ {
+ MXMLDataInterpreter.generateMXMLInstances(_mxmlDocument, this, MXMLDescriptor);
+
+ dispatchEvent(new Event("initBindings"));
+ dispatchEvent(new Event("initComplete"));
+ _initialized = true;
+ }
+ }
+
+ private var _mxmlDescriptor:Array;
+ private var _mxmlDocument:Object = this;
+ private var _initialized:Boolean;
+
+ /**
+ * @copy org.apache.flex.core.Application#MXMLDescriptor
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get MXMLDescriptor():Array
+ {
+ return _mxmlDescriptor;
+ }
+
+ /**
+ * @private
+ */
+ public function setMXMLDescriptor(document:Object, value:Array):void
+ {
+ _mxmlDocument = document;
+ _mxmlDescriptor = value;
+ }
+
+ /**
+ * @copy org.apache.flex.core.Application#generateMXMLAttributes()
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function generateMXMLAttributes(data:Array):void
+ {
+ MXMLDataInterpreter.generateMXMLProperties(this, data);
+ }
+
+ /**
+ * @copy org.apache.flex.core.ItemRendererClassFactory#mxmlContent
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public var mxmlContent:Array;
+
+ private var _states:Array;
+
+ /**
+ * The array of view states. These should
+ * be instances of org.apache.flex.states.State.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get states():Array
+ {
+ return _states;
+ }
+
+ /**
+ * @private
+ * @flexjsignorecoercion Class
+ * @flexjsignorecoercion org.apache.flex.core.IBead
+ */
+ public function set states(value:Array):void
+ {
+ _states = value;
+ _currentState = _states[0].name;
+
+ try{
+ if (getBeadByType(IStatesImpl) == null)
+ {
+ var c:Class = ValuesManager.valuesImpl.getValue(this, "iStatesImpl") as Class;
+ var b:Object = new c();
+ addBead(b as IBead);
+ }
+ }
+ //TODO: Need to handle this case more gracefully
+ catch(e:Error)
+ {
+
+ }
+
+ }
+
+ /**
+ * <code>true</code> if the array of states
+ * contains a state with this name.
+ *
+ * @param state The state namem.
+ * @return True if state in state array
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function hasState(state:String):Boolean
+ {
+ for each (var s:State in _states)
+ {
+ if (s.name == state)
+ return true;
+ }
+ return false;
+ }
+
+ private var _currentState:String;
+
+ [Bindable("currentStateChange")]
+ /**
+ * The name of the current state.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get currentState():String
+ {
+ return _currentState;
+ }
+
+ /**
+ * @private
+ */
+ public function set currentState(value:String):void
+ {
+ var event:ValueChangeEvent = new ValueChangeEvent("currentStateChange", false, false, _currentState, value)
+ _currentState = value;
+ dispatchEvent(event);
+ }
+
+ private var _transitions:Array;
+
+ /**
+ * The array of transitions.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 10.2
+ * @playerversion AIR 2.6
+ * @productversion FlexJS 0.0
+ */
+ public function get transitions():Array
+ {
+ return _transitions;
+ }
+
+ /**
+ * @private
+ */
+ public function set transitions(value:Array):void
+ {
+ _transitions = value;
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f399ec5/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/ViewBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/ViewBase.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/ViewBase.as
deleted file mode 100644
index 9fb19e8..0000000
--- a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/ViewBase.as
+++ /dev/null
@@ -1,206 +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 org.apache.flex.createjs.core
-{
- COMPILE::AS3
- {
- import flash.display.DisplayObject;
- import org.apache.flex.core.ViewBase;
- }
-
- import org.apache.flex.core.IApplicationView;
- import org.apache.flex.core.IParent;
- import org.apache.flex.core.IUIBase;
- import org.apache.flex.events.Event;
- import org.apache.flex.utils.MXMLDataInterpreter;
-
- COMPILE::JS
- {
- import org.apache.flex.core.IBead;
- import org.apache.flex.core.IStatesImpl;
- import org.apache.flex.core.ValuesManager;
- import org.apache.flex.events.ValueChangeEvent;
- import org.apache.flex.states.State;
- }
-
- COMPILE::AS3
- public class ViewBase extends org.apache.flex.core.ViewBase
- {
-
- }
-
- [DefaultProperty("mxmlContent")]
- COMPILE::JS
- public class ViewBase extends UIBase implements IParent, IApplicationView
- {
- public function ViewBase()
- {
- super();
- }
-
- override public function addedToParent():void
- {
- /* AJH needed?
- MXMLDataInterpreter.generateMXMLProperties(this, MXMLProperties);
- */
- MXMLDataInterpreter.generateMXMLInstances(this, this, MXMLDescriptor);
- }
-
- public function get MXMLDescriptor():Array
- {
- return null;
- }
-
- /*
- public function get MXMLProperties():Array
- {
- return null;
- }
- */
-
- public var mxmlContent:Array;
-
- private var _applicationModel:Object;
-
- [Bindable("modelChanged")]
- public function get applicationModel():Object
- {
- return _applicationModel;
- }
-
- public function set applicationModel(value:Object):void
- {
- _applicationModel = value;
- dispatchEvent(new Event("modelChanged"));
- }
-
- private var _states:Array;
-
- /**
- * The array of view states. These should
- * be instances of org.apache.flex.states.State.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function get states():Array
- {
- return _states;
- }
-
- /**
- * @private
- * @flexjsignorecoercion Class
- * @flexjsignorecoercion org.apache.flex.core.IBead
- */
- public function set states(value:Array):void
- {
- _states = value;
- _currentState = _states[0].name;
-
- try{
- if (getBeadByType(IStatesImpl) == null)
- {
- var c:Class = ValuesManager.valuesImpl.getValue(this, "iStatesImpl") as Class;
- var b:Object = new c();
- addBead(b as IBead);
- }
- }
- //TODO: Need to handle this case more gracefully
- catch(e:Error)
- {
- }
-
- }
-
- /**
- * <code>true</code> if the array of states
- * contains a state with this name.
- *
- * @param state The state namem.
- * @return True if state in state array
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function hasState(state:String):Boolean
- {
- for each (var s:State in _states)
- {
- if (s.name == state)
- return true;
- }
- return false;
- }
-
- private var _currentState:String;
-
- [Bindable("currentStateChange")]
- /**
- * The name of the current state.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function get currentState():String
- {
- return _currentState;
- }
-
- /**
- * @private
- */
- public function set currentState(value:String):void
- {
- var event:ValueChangeEvent = new ValueChangeEvent("currentStateChange", false, false, _currentState, value)
- _currentState = value;
- dispatchEvent(event);
- }
-
- private var _transitions:Array;
-
- /**
- * The array of transitions.
- *
- * @langversion 3.0
- * @playerversion Flash 10.2
- * @playerversion AIR 2.6
- * @productversion FlexJS 0.0
- */
- public function get transitions():Array
- {
- return _transitions;
- }
-
- /**
- * @private
- */
- public function set transitions(value:Array):void
- {
- _transitions = value;
- }
-
- }
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f399ec5/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/graphics/Circle.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/graphics/Circle.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/graphics/Circle.as
new file mode 100644
index 0000000..040abc5
--- /dev/null
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/graphics/Circle.as
@@ -0,0 +1,94 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 org.apache.flex.createjs.graphics
+{
+ COMPILE::AS3
+ {
+ import org.apache.flex.core.graphics.Circle
+ }
+
+ COMPILE::JS
+ {
+ import createjs.Shape;
+ import createjs.Stage;
+
+ import org.apache.flex.createjs.core.UIBase;
+ import org.apache.flex.core.WrappedHTMLElement;
+ }
+
+ import org.apache.flex.core.graphics.IFill;
+ import org.apache.flex.core.graphics.SolidColor;
+ import org.apache.flex.core.graphics.SolidColorStroke;
+
+ /**
+ * Creates a circle.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
+
+ COMPILE::AS3
+ public class Circle extends org.apache.flex.core.graphics.Circle
+ {
+ // nothing special for SWF version.
+ }
+
+ COMPILE::JS
+ public class Circle extends GraphicShape
+ {
+ /**
+ * @private
+ * @flexjsignorecoercion createjs.Shape
+ */
+ override protected function redrawShape():void
+ {
+ var minSize:Number = Math.min(width, height);
+ if (isNaN(minSize)) return;
+
+ var radius:Number = minSize/2;
+ var fillColor:String = null;
+ var fillAlpha:Number = 1.0;
+ if (fill != null) {
+ fillAlpha = (fill as SolidColor).alpha;
+ fillColor = convertColorToString((fill as SolidColor).color, fillAlpha);
+ }
+ var strokeColor:String = null;
+ var strokeWeight:Number = 0;
+ var strokeAlpha:Number = 1.0;
+ if (stroke != null) {
+ strokeWeight = (stroke as SolidColorStroke).weight;
+ strokeAlpha = (stroke as SolidColorStroke).alpha;
+ strokeColor = convertColorToString((stroke as SolidColorStroke).color, strokeAlpha);
+ }
+
+ var circle:createjs.Shape = element as createjs.Shape;
+ circle.graphics.setStrokeStyle(strokeWeight);
+ circle.graphics.beginStroke(strokeColor);
+ circle.graphics.beginFill(fillColor);
+ circle.graphics.drawCircle(0, 0, radius);
+
+ var stage:createjs.Stage = circle.getStage();
+ if (stage)
+ stage.update();
+ }
+
+ }
+}
[33/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - -
Renamed the config files to compile-as-config.xml (ActionScript Part) and
compile-js-config.xml (JavaScript Part) - Added TODO comments to places I
found strange.
Posted by ah...@apache.org.
- Renamed the config files to compile-as-config.xml (ActionScript Part) and compile-js-config.xml (JavaScript Part)
- Added TODO comments to places I found strange.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/9dbcb5d1
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9dbcb5d1
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9dbcb5d1
Branch: refs/heads/spark
Commit: 9dbcb5d14e96ab6d7ff7f56f34cc7a90bb1a1f4b
Parents: 9b0619a
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Wed Apr 27 09:42:10 2016 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Wed Apr 27 09:42:10 2016 +0200
----------------------------------------------------------------------
.../src/main/config/compile-as-config.xml | 78 ++++++++++++++++
.../src/main/config/compile-asjs-config.xml | 79 ----------------
.../Binding/src/main/config/compile-config.xml | 78 ----------------
.../src/main/config/compile-js-config.xml | 79 ++++++++++++++++
.../src/main/config/compile-as-config.xml | 78 ++++++++++++++++
.../src/main/config/compile-asjs-config.xml | 69 --------------
.../src/main/config/compile-config.xml | 78 ----------------
.../src/main/config/compile-js-config.xml | 69 ++++++++++++++
.../Core/src/main/config/compile-js-config.xml | 4 +-
frameworks/projects/CreateJS/pom.xml | 7 ++
.../src/main/config/compile-as-config.xml | 84 +++++++++++++++++
.../src/main/config/compile-asjs-config.xml | 84 -----------------
.../CreateJS/src/main/config/compile-config.xml | 84 -----------------
.../src/main/config/compile-js-config.xml | 84 +++++++++++++++++
.../src/main/config/compile-as-config.xml | 78 ++++++++++++++++
.../src/main/config/compile-asjs-config.xml | 79 ----------------
.../DragDrop/src/main/config/compile-config.xml | 78 ----------------
.../src/main/config/compile-js-config.xml | 79 ++++++++++++++++
.../src/main/config/compile-as-config.xml | 78 ++++++++++++++++
.../src/main/config/compile-asjs-config.xml | 79 ----------------
.../Effects/src/main/config/compile-config.xml | 78 ----------------
.../src/main/config/compile-js-config.xml | 79 ++++++++++++++++
.../Flat/src/main/config/compile-as-config.xml | 92 +++++++++++++++++++
.../src/main/config/compile-asjs-config.xml | 80 -----------------
.../Flat/src/main/config/compile-config.xml | 91 -------------------
.../Flat/src/main/config/compile-js-config.xml | 80 +++++++++++++++++
.../src/main/config/compile-as-config.xml | 79 ++++++++++++++++
.../src/main/config/compile-asjs-config.xml | 80 -----------------
.../src/main/config/compile-config.xml | 79 ----------------
.../src/main/config/compile-js-config.xml | 80 +++++++++++++++++
.../src/main/config/compile-as-config.xml | 83 +++++++++++++++++
.../src/main/config/compile-asjs-config.xml | 75 ----------------
.../src/main/config/compile-config.xml | 83 -----------------
.../src/main/config/compile-js-config.xml | 75 ++++++++++++++++
.../src/main/config/compile-as-config.xml | 78 ++++++++++++++++
.../src/main/config/compile-asjs-config.xml | 82 -----------------
.../Graphics/src/main/config/compile-config.xml | 78 ----------------
.../src/main/config/compile-js-config.xml | 82 +++++++++++++++++
.../HTML/src/main/config/compile-as-config.xml | 95 ++++++++++++++++++++
.../src/main/config/compile-asjs-config.xml | 90 -------------------
.../HTML/src/main/config/compile-config.xml | 94 -------------------
.../HTML/src/main/config/compile-js-config.xml | 90 +++++++++++++++++++
.../HTML5/src/main/config/compile-as-config.xml | 83 +++++++++++++++++
.../src/main/config/compile-asjs-config.xml | 70 ---------------
.../HTML5/src/main/config/compile-config.xml | 83 -----------------
.../HTML5/src/main/config/compile-js-config.xml | 71 +++++++++++++++
.../src/main/config/compile-as-config.xml | 83 +++++++++++++++++
.../src/main/config/compile-asjs-config.xml | 86 ------------------
.../JQuery/src/main/config/compile-config.xml | 83 -----------------
.../src/main/config/compile-js-config.xml | 87 ++++++++++++++++++
.../src/main/config/compile-as-config.xml | 89 ++++++++++++++++++
.../src/main/config/compile-asjs-config.xml | 89 ------------------
.../Mobile/src/main/config/compile-config.xml | 89 ------------------
.../src/main/config/compile-js-config.xml | 89 ++++++++++++++++++
.../src/main/config/compile-as-config.xml | 78 ++++++++++++++++
.../src/main/config/compile-asjs-config.xml | 82 -----------------
.../Network/src/main/config/compile-config.xml | 78 ----------------
.../src/main/config/compile-js-config.xml | 82 +++++++++++++++++
.../src/main/config/compile-as-config.xml | 74 +++++++++++++++
.../src/main/config/compile-asjs-config.xml | 77 ----------------
.../src/main/config/compile-config.xml | 73 ---------------
.../src/main/config/compile-js-config.xml | 78 ++++++++++++++++
.../src/main/config/compile-as-config.xml | 82 +++++++++++++++++
.../src/main/config/compile-asjs-config.xml | 82 -----------------
.../Storage/src/main/config/compile-config.xml | 82 -----------------
.../src/main/config/compile-js-config.xml | 82 +++++++++++++++++
frameworks/projects/XML/pom.xml | 15 ++++
.../XML/src/main/config/compile-as-config.xml | 78 ++++++++++++++++
.../XML/src/main/config/compile-js-config.xml | 80 +++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 79 ----------------
.../XML/src/main/resources/compile-config.xml | 78 ----------------
71 files changed, 2780 insertions(+), 2751 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Binding/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/src/main/config/compile-as-config.xml b/frameworks/projects/Binding/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..7f593e9
--- /dev/null
+++ b/frameworks/projects/Binding/src/main/config/compile-as-config.xml
@@ -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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>BindingClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Binding/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/src/main/config/compile-asjs-config.xml b/frameworks/projects/Binding/src/main/config/compile-asjs-config.xml
deleted file mode 100644
index 2c5abf4..0000000
--- a/frameworks/projects/Binding/src/main/config/compile-asjs-config.xml
+++ /dev/null
@@ -1,79 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- <path-element>../flex</path-element>
- </include-sources>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Binding/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/src/main/config/compile-config.xml b/frameworks/projects/Binding/src/main/config/compile-config.xml
deleted file mode 100644
index fcebd9e..0000000
--- a/frameworks/projects/Binding/src/main/config/compile-config.xml
+++ /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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>BindingClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Binding/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/src/main/config/compile-js-config.xml b/frameworks/projects/Binding/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..2c5abf4
--- /dev/null
+++ b/frameworks/projects/Binding/src/main/config/compile-js-config.xml
@@ -0,0 +1,79 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ <path-element>../flex</path-element>
+ </include-sources>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Collections/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/config/compile-as-config.xml b/frameworks/projects/Collections/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..161a916
--- /dev/null
+++ b/frameworks/projects/Collections/src/main/config/compile-as-config.xml
@@ -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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>CollectionsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Collections/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/config/compile-asjs-config.xml b/frameworks/projects/Collections/src/main/config/compile-asjs-config.xml
deleted file mode 100644
index a69e491..0000000
--- a/frameworks/projects/Collections/src/main/config/compile-asjs-config.xml
+++ /dev/null
@@ -1,69 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-sources>
- <path-element>../flex</path-element>
- </include-sources>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Collections/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/config/compile-config.xml b/frameworks/projects/Collections/src/main/config/compile-config.xml
deleted file mode 100644
index 1a1fc84..0000000
--- a/frameworks/projects/Collections/src/main/config/compile-config.xml
+++ /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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>CollectionsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Collections/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/config/compile-js-config.xml b/frameworks/projects/Collections/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..15f3375
--- /dev/null
+++ b/frameworks/projects/Collections/src/main/config/compile-js-config.xml
@@ -0,0 +1,69 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-sources>
+ <path-element>../src/main/flex</path-element>
+ </include-sources>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Core/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/config/compile-js-config.xml b/frameworks/projects/Core/src/main/config/compile-js-config.xml
index accde75..580228e 100644
--- a/frameworks/projects/Core/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/Core/src/main/config/compile-js-config.xml
@@ -46,12 +46,12 @@
<namespaces>
<namespace>
<uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>../resources/basic-manifest.xml</manifest>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
</namespace>
</namespaces>
<source-path>
- <path-element>../flex</path-element>
+ <path-element>../src/main/flex</path-element>
</source-path>
<warn-no-constructor>false</warn-no-constructor>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/CreateJS/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/pom.xml b/frameworks/projects/CreateJS/pom.xml
index e41c5f9..3dd90ca 100644
--- a/frameworks/projects/CreateJS/pom.xml
+++ b/frameworks/projects/CreateJS/pom.xml
@@ -73,6 +73,13 @@
<type>swc</type>
<scope>external</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Graphics</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/CreateJS/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/config/compile-as-config.xml b/frameworks/projects/CreateJS/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..0520d0b
--- /dev/null
+++ b/frameworks/projects/CreateJS/src/main/config/compile-as-config.xml
@@ -0,0 +1,84 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/HTML.swc</path-element>
+ <path-element>../../../../../libs/Graphics.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/createjs</uri>
+ <manifest>../src/main/resources/createjs-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>CreateJSClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/createjs</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/CreateJS/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/config/compile-asjs-config.xml b/frameworks/projects/CreateJS/src/main/config/compile-asjs-config.xml
deleted file mode 100644
index 3e82454..0000000
--- a/frameworks/projects/CreateJS/src/main/config/compile-asjs-config.xml
+++ /dev/null
@@ -1,84 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/createjs</uri>
- <manifest>createjs-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <library-path>
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
- <path-element>../../../../../externs/Graphics.swc</path-element>
- </library-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>CreateJSClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/createjs</uri>
- </include-namespaces>
-
- <!--<target-player>${playerglobal.version}</target-player>-->
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/CreateJS/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/config/compile-config.xml b/frameworks/projects/CreateJS/src/main/config/compile-config.xml
deleted file mode 100644
index 1ce2f99..0000000
--- a/frameworks/projects/CreateJS/src/main/config/compile-config.xml
+++ /dev/null
@@ -1,84 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
- <path-element>../../../../../libs/Graphics.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/createjs</uri>
- <manifest>createjs-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>CreateJSClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/createjs</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/CreateJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/config/compile-js-config.xml b/frameworks/projects/CreateJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..f3376ae
--- /dev/null
+++ b/frameworks/projects/CreateJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,84 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/createjs</uri>
+ <manifest>../src/main/resources/createjs-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <library-path>
+ <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../../../externs/HTML.swc</path-element>
+ <path-element>../../../../../externs/Graphics.swc</path-element>
+ </library-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>CreateJSClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/createjs</uri>
+ </include-namespaces>
+
+ <!--<target-player>${playerglobal.version}</target-player>-->
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/DragDrop/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/src/main/config/compile-as-config.xml b/frameworks/projects/DragDrop/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..cad0134
--- /dev/null
+++ b/frameworks/projects/DragDrop/src/main/config/compile-as-config.xml
@@ -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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>DragDropClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/DragDrop/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/src/main/config/compile-asjs-config.xml b/frameworks/projects/DragDrop/src/main/config/compile-asjs-config.xml
deleted file mode 100644
index a4561e7..0000000
--- a/frameworks/projects/DragDrop/src/main/config/compile-asjs-config.xml
+++ /dev/null
@@ -1,79 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-classes>
- <class>DragDropClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/DragDrop/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/src/main/config/compile-config.xml b/frameworks/projects/DragDrop/src/main/config/compile-config.xml
deleted file mode 100644
index d5c9769..0000000
--- a/frameworks/projects/DragDrop/src/main/config/compile-config.xml
+++ /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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>DragDropClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/DragDrop/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/src/main/config/compile-js-config.xml b/frameworks/projects/DragDrop/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..79d4527
--- /dev/null
+++ b/frameworks/projects/DragDrop/src/main/config/compile-js-config.xml
@@ -0,0 +1,79 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-classes>
+ <class>DragDropClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Effects/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/src/main/config/compile-as-config.xml b/frameworks/projects/Effects/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..2680ee6
--- /dev/null
+++ b/frameworks/projects/Effects/src/main/config/compile-as-config.xml
@@ -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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>EffectsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Effects/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/src/main/config/compile-asjs-config.xml b/frameworks/projects/Effects/src/main/config/compile-asjs-config.xml
deleted file mode 100644
index 9cd51ef..0000000
--- a/frameworks/projects/Effects/src/main/config/compile-asjs-config.xml
+++ /dev/null
@@ -1,79 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-classes>
- <class>EffectsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Effects/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/src/main/config/compile-config.xml b/frameworks/projects/Effects/src/main/config/compile-config.xml
deleted file mode 100644
index 684baa4..0000000
--- a/frameworks/projects/Effects/src/main/config/compile-config.xml
+++ /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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>EffectsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Effects/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/src/main/config/compile-js-config.xml b/frameworks/projects/Effects/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..f7a7d88
--- /dev/null
+++ b/frameworks/projects/Effects/src/main/config/compile-js-config.xml
@@ -0,0 +1,79 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-classes>
+ <class>EffectsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Flat/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/src/main/config/compile-as-config.xml b/frameworks/projects/Flat/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..be7e60c
--- /dev/null
+++ b/frameworks/projects/Flat/src/main/config/compile-as-config.xml
@@ -0,0 +1,92 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Binding.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/Graphics.swc</path-element>
+ <path-element>../../../../../libs/HTML.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/flat</uri>
+ <manifest>../src/main/resources/flat-manifest.xml</manifest>
+ </namespace>
+ <!-- TODO: Why is this neesed? -->
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/flat</uri>
+ <manifest>../src/main/resources/flat-as-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ <!--<path-element>asjs/src</path-element>-->
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>FlatClasses</class>
+ <!--<class>FlatASJSClasses</class>-->
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/flat</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Flat/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/src/main/config/compile-asjs-config.xml b/frameworks/projects/Flat/src/main/config/compile-asjs-config.xml
deleted file mode 100644
index b7fc0eb..0000000
--- a/frameworks/projects/Flat/src/main/config/compile-asjs-config.xml
+++ /dev/null
@@ -1,80 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/flat</uri>
- <manifest>flat-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-classes>
- <class>FlatClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/flat</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Flat/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/src/main/config/compile-config.xml b/frameworks/projects/Flat/src/main/config/compile-config.xml
deleted file mode 100644
index 7d1e0f0..0000000
--- a/frameworks/projects/Flat/src/main/config/compile-config.xml
+++ /dev/null
@@ -1,91 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Binding.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/Graphics.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/flat</uri>
- <manifest>flat-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/flexjs/flat</uri>
- <manifest>flat-as-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- <!--<path-element>asjs/src</path-element>-->
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>FlatClasses</class>
- <!--<class>FlatASJSClasses</class>-->
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/flat</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Flat/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/src/main/config/compile-js-config.xml b/frameworks/projects/Flat/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..9de2e8e
--- /dev/null
+++ b/frameworks/projects/Flat/src/main/config/compile-js-config.xml
@@ -0,0 +1,80 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../../../externs/HTML.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/flat</uri>
+ <manifest>../src/main/resources/flat-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-classes>
+ <class>FlatClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/flat</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Formatters/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/src/main/config/compile-as-config.xml b/frameworks/projects/Formatters/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..26da743
--- /dev/null
+++ b/frameworks/projects/Formatters/src/main/config/compile-as-config.xml
@@ -0,0 +1,79 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/HTML.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>FormattersClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
[05/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Added
setAttribute() and setChild() to XMLList
Posted by ah...@apache.org.
Added setAttribute() and setChild() to XMLList
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/9ce42e25
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9ce42e25
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9ce42e25
Branch: refs/heads/spark
Commit: 9ce42e25f38809d52c6c26691056983e36d5b447
Parents: 70a4892
Author: Harbs <ha...@in-tools.com>
Authored: Wed Apr 13 00:26:02 2016 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Wed Apr 13 00:26:02 2016 +0300
----------------------------------------------------------------------
frameworks/projects/XML/src/main/flex/XMLList.as | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9ce42e25/frameworks/projects/XML/src/main/flex/XMLList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/flex/XMLList.as b/frameworks/projects/XML/src/main/flex/XMLList.as
index 1173512..8284bda 100644
--- a/frameworks/projects/XML/src/main/flex/XMLList.as
+++ b/frameworks/projects/XML/src/main/flex/XMLList.as
@@ -651,6 +651,24 @@ package
return _targetProperty;
}
+ COMPILE::JS
+ public function setAttribute(attr:*,value:String):void
+ {
+ var len:int = _xmlArray.length;
+ for (var i:int=0;i<len;i++)
+ _xmlArray[i].setAttribute(attr,value);
+
+ }
+
+
+ COMPILE::JS
+ public function setChild(elementName:*, elements:Object):void
+ {
+ var len:int = _xmlArray.length;
+ if(len == 0)
+ _xmlArray[0].setChild(elementName,elements);
+
+ }
/**
* Calls the text() method of each XML object and returns an XMLList object that contains the results.
*
[19/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] -
UIButtonBase supports width and height change events.
Posted by ah...@apache.org.
UIButtonBase supports width and height change events.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/6216d6f4
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6216d6f4
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6216d6f4
Branch: refs/heads/spark
Commit: 6216d6f4dd34608716e5463e87076a142f6ec87f
Parents: 18a1487
Author: Peter Ent <pe...@apache.org>
Authored: Tue Apr 19 11:09:17 2016 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Tue Apr 19 11:09:17 2016 -0400
----------------------------------------------------------------------
.../Core/src/main/flex/org/apache/flex/core/UIButtonBase.as | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6216d6f4/frameworks/projects/Core/src/main/flex/org/apache/flex/core/UIButtonBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/UIButtonBase.as b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/UIButtonBase.as
index 9a30809..427c42b 100644
--- a/frameworks/projects/Core/src/main/flex/org/apache/flex/core/UIButtonBase.as
+++ b/frameworks/projects/Core/src/main/flex/org/apache/flex/core/UIButtonBase.as
@@ -277,6 +277,7 @@ package org.apache.flex.core
private var _width:Number;
+ [Bindable("widthChanged")]
[PercentProxy("percentWidth")]
/**
* @copy org.apache.flex.core.UIBase#width
@@ -327,6 +328,7 @@ package org.apache.flex.core
private var _height:Number;
+ [Bindable("heightChanged")]
[PercentProxy("percentHeight")]
/**
* @copy org.apache.flex.core.UIBase#width
[45/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - don't
rat XML.swc
Posted by ah...@apache.org.
don't rat XML.swc
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/fe3adff5
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/fe3adff5
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/fe3adff5
Branch: refs/heads/spark
Commit: fe3adff574246794f3e73d9752b4fc96221e2520
Parents: 0207b87
Author: Alex Harui <ah...@apache.org>
Authored: Mon May 2 09:03:59 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon May 2 09:03:59 2016 -0700
----------------------------------------------------------------------
ApproveFlexJS.xml | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/fe3adff5/ApproveFlexJS.xml
----------------------------------------------------------------------
diff --git a/ApproveFlexJS.xml b/ApproveFlexJS.xml
index a2d1c17..cee8cdf 100644
--- a/ApproveFlexJS.xml
+++ b/ApproveFlexJS.xml
@@ -416,6 +416,7 @@
<exclude name="frameworks/libs/Network.swc"/>
<exclude name="frameworks/libs/Reflection.swc"/>
<exclude name="frameworks/libs/Storage.swc"/>
+ <exclude name="frameworks/libs/XML.swc"/>
<exclude name="frameworks/externs/Binding.swc"/>
<exclude name="frameworks/externs/Charts.swc"/>
<exclude name="frameworks/externs/Collections.swc"/>
@@ -434,6 +435,7 @@
<exclude name="frameworks/externs/Network.swc"/>
<exclude name="frameworks/externs/Reflection.swc"/>
<exclude name="frameworks/externs/Storage.swc"/>
+ <exclude name="frameworks/externs/XML.swc"/>
</fileset>
</rat:report>
[46/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Added
easing functions to CreateJS framework. Adding easing functions to example.
Posted by ah...@apache.org.
Added easing functions to CreateJS framework. Adding easing functions to example.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1d424cbf
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1d424cbf
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1d424cbf
Branch: refs/heads/spark
Commit: 1d424cbf3cebfe520fe0947aef2c4bcd313f3b67
Parents: fe3adff
Author: Peter Ent <pe...@apache.org>
Authored: Mon May 2 12:26:26 2016 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Mon May 2 12:26:26 2016 -0400
----------------------------------------------------------------------
.../CreateJSExample/src/CreateJSExample.mxml | 5 +
.../CreateJS/src/main/flex/CreateJSClasses.as | 1 +
.../flex/org/apache/flex/createjs/tween/Ease.as | 672 +++++++++++++++++++
.../org/apache/flex/createjs/tween/Effect.as | 10 +
.../org/apache/flex/createjs/tween/Sequence.as | 6 +-
5 files changed, 693 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1d424cbf/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml b/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml
index bce0e15..2b127f7 100644
--- a/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml
+++ b/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml
@@ -30,6 +30,7 @@ limitations under the License.
<fx:Script>
<![CDATA[
+ import org.apache.flex.createjs.tween.Ease;
import org.apache.flex.createjs.tween.Tween;
import org.apache.flex.createjs.tween.Sequence;
@@ -37,11 +38,13 @@ limitations under the License.
var move1:Tween = new Tween(circle);
move1.xTo = 400;
move1.duration = 1000;
+ move1.easing = Ease.getPowInOut(4);
var move2:Tween = new Tween(circle);
move2.alphaTo = 0;
move2.yTo = 175;
move2.duration = 500;
+ move2.easing = Ease.getPowInOut(2);
var move3:Tween = new Tween(circle);
move3.alphaTo = 0;
@@ -52,10 +55,12 @@ limitations under the License.
move4.alphaTo = 1;
move4.yTo = 200;
move4.duration = 500;
+ move4.easing = Ease.getPowInOut(2);
var move5:Tween = new Tween(circle);
move5.xTo = 100;
move5.duration = 800;
+ move5.easing = Ease.getPowInOut(2);
var seq:Sequence = new Sequence(circle);
seq.loop = true;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1d424cbf/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as b/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as
index 74a4df6..92a4906 100644
--- a/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as
+++ b/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as
@@ -30,6 +30,7 @@ internal class CreateJSClasses
import org.apache.flex.createjs.core.UIBase; UIBase;
import org.apache.flex.createjs.core.View; View;
import org.apache.flex.createjs.graphics.GraphicShape; GraphicShape;
+ import org.apache.flex.createjs.tween.Ease; Ease;
import org.apache.flex.createjs.tween.Tween; Tween;
import org.apache.flex.createjs.tween.Sequence; Sequence;
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1d424cbf/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Ease.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Ease.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Ease.as
new file mode 100644
index 0000000..20d9763
--- /dev/null
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Ease.as
@@ -0,0 +1,672 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 org.apache.flex.createjs.tween
+{
+ COMPILE::JS {
+ import createjs.Stage;
+ import createjs.Ease;
+ }
+
+ /**
+ * This is the base class for the CreateJS/TweenJS effects.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public class Ease
+ {
+ /**
+ * Constructor
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function Ease()
+ {
+ }
+
+ /**
+ * Mimics the simple -100 to 100 easing in Flash Pro.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ static public function get(value:Number) : Function
+ {
+ COMPILE::AS3 {
+ return null;
+ }
+ COMPILE::JS {
+ return createjs.Ease.get(value);
+ }
+ }
+
+ /**
+ * Configurable exponential ease.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ static public function getPowIn(value:Number) : Function
+ {
+ COMPILE::AS3 {
+ return null;
+ }
+ COMPILE::JS {
+ return createjs.Ease.getPowIn(value);
+ }
+ }
+
+ /**
+ * Configurable exponential ease.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ static public function getPowOut(value:Number) : Function
+ {
+ COMPILE::AS3 {
+ return null;
+ }
+ COMPILE::JS {
+ return createjs.Ease.getPowOut(value);
+ }
+ }
+
+ /**
+ * Configurable exponential ease.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ static public function getPowInOut(value:Number) : Function
+ {
+ COMPILE::AS3 {
+ return null;
+ }
+ COMPILE::JS {
+ return createjs.Ease.getPowInOut(value);
+ }
+ }
+
+ /**
+ * @method quadIn
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function quadIn() : Function
+ {
+ return getPowIn(2);
+ }
+
+ /**
+ * @method quadOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function quadOut() : Function
+ {
+ return getPowOut(2);
+ }
+
+ /**
+ * @method quadInOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function quadInOut() : Function
+ {
+ return getPowInOut(2);
+ }
+
+ /**
+ * @method cubicIn
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function cubicIn() : Function
+ {
+ return getPowIn(3);
+ }
+
+ /**
+ * @method cubicOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function cubicOut() : Function
+ {
+ return getPowOut(3);
+ }
+
+ /**
+ * @method cubicInOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function cubicInOut() : Function
+ {
+ return getPowInOut(3);
+ }
+
+ /**
+ * @method quartIn
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function quartIn() : Function
+ {
+ return getPowIn(4);
+ }
+
+ /**
+ * @method quartOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function quartOut() : Function
+ {
+ return getPowOut(4);
+ }
+
+ /**
+ * @method quartInOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function quartInOut() : Function
+ {
+ return getPowInOut(4);
+ }
+
+ /**
+ * @method quintIn
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function quintIn() : Function
+ {
+ return getPowIn(5);
+ }
+
+ /**
+ * @method quintOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function quintOut() : Function
+ {
+ return getPowOut(5);
+ }
+
+ /**
+ * @method quintInOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function quintInOut() : Function
+ {
+ return getPowInOut(5);
+ }
+
+ /**
+ * @method sineIn
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function sineIn(t:Number):Number {
+ return 1-Math.cos(t*Math.PI/2);
+ }
+
+ /**
+ * @method sineOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function sineOut(t:Number):Number {
+ return Math.sin(t*Math.PI/2);
+ }
+
+
+ /**
+ * @method sineInOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function sineInOut(t:Number):Number {
+ return -0.5*(Math.cos(Math.PI*t) - 1);
+ }
+
+ /**
+ * Configurable "back in" ease.
+ * @method getBackIn
+ * @param {Number} amount The strength of the ease.
+ * @static
+ * @return {Function}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function getBackIn(amount:Number):Function {
+ return function(t:Number):Number {
+ return t*t*((amount+1)*t-amount);
+ }
+ }
+
+ /**
+ * @method backIn
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function backIn():Function {
+ return getBackIn(1.7);
+ }
+
+ /**
+ * Configurable "back out" ease.
+ * @method getBackOut
+ * @param {Number} amount The strength of the ease.
+ * @static
+ * @return {Function}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function getBackOut(amount:Number):Function {
+ return function(t:Number):Number {
+ return (--t*t*((amount+1)*t + amount) + 1);
+ }
+ }
+
+ /**
+ * @method backOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function backOut():Function {
+ return getBackOut(1.7);
+ }
+
+
+ /**
+ * Configurable "back in out" ease.
+ * @method getBackInOut
+ * @param {Number} amount The strength of the ease.
+ * @static
+ * @return {Function}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function getBackInOut(amount:Number):Function {
+ amount *= 1.525;
+ return function(t:Number):Number {
+ if ((t*=2)<1) return 0.5*(t*t*((amount+1)*t-amount));
+ return 0.5*((t-=2)*t*((amount+1)*t+amount)+2);
+ }
+ }
+
+ /**
+ * @method backInOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function backInOut():Function {
+ return getBackInOut(1.7);
+ }
+
+ /**
+ * @method circIn
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function circIn(t:Number):Number {
+ return -(Math.sqrt(1-t*t)-1);
+ }
+
+ /**
+ * @method circOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function circOut(t:Number):Number {
+ return Math.sqrt(1-(--t)*t);
+ }
+
+ /**
+ * @method circInOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function circInOut(t:Number):Number {
+ if ((t*=2) < 1) return -0.5*(Math.sqrt(1-t*t)-1);
+ return 0.5*(Math.sqrt(1-(t-=2)*t)+1);
+ }
+
+ /**
+ * @method bounceIn
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function bounceIn(t:Number):Number {
+ return 1-bounceOut(1-t);
+ }
+
+ /**
+ * @method bounceOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ public static function bounceOut(t:Number):Number {
+ if (t < 1/2.75) {
+ return (7.5625*t*t);
+ } else if (t < 2/2.75) {
+ return (7.5625*(t-=1.5/2.75)*t+0.75);
+ } else if (t < 2.5/2.75) {
+ return (7.5625*(t-=2.25/2.75)*t+0.9375);
+ } else {
+ return (7.5625*(t-=2.625/2.75)*t +0.984375);
+ }
+ }
+
+ /**
+ * @method bounceInOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function bounceInOut(t:Number):Number
+ {
+ if (t<0.5) return bounceIn (t*2) * .5;
+ return bounceOut(t*2-1)*0.5+0.5;
+ }
+
+ /**
+ * Configurable elastic ease.
+ * @method getElasticIn
+ * @param {Number} amplitude
+ * @param {Number} period
+ * @static
+ * @return {Function}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function getElasticIn(amplitude:Number,period:Number):Function {
+ var pi2:Number = Math.PI*2;
+ return function(t:Number):Number {
+ if (t==0 || t==1) return t;
+ var s:Number = period/pi2*Math.asin(1/amplitude);
+ return -(amplitude*Math.pow(2,10*(t-=1))*Math.sin((t-s)*pi2/period));
+ };
+ }
+
+ /**
+ * @method elasticIn
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function elasticIn():Function {
+ return getElasticIn(1,0.3);
+ }
+
+ /**
+ * Configurable elastic ease.
+ * @method getElasticOut
+ * @param {Number} amplitude
+ * @param {Number} period
+ * @static
+ * @return {Function}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function getElasticOut(amplitude:Number,period:Number):Function {
+ var pi2:Number = Math.PI*2;
+ return function(t:Number):Number {
+ if (t==0 || t==1) return t;
+ var s:Number = period/pi2 * Math.asin(1/amplitude);
+ return (amplitude*Math.pow(2,-10*t)*Math.sin((t-s)*pi2/period )+1);
+ };
+ }
+
+ /**
+ * @method elasticOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function elasticOut():Function {
+ return getElasticOut(1,0.3);
+ }
+
+ /**
+ * Configurable elastic ease.
+ * @method getElasticInOut
+ * @param {Number} amplitude
+ * @param {Number} period
+ * @static
+ * @return {Function}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function getElasticInOut(amplitude:Number,period:Number):Function {
+ var pi2:Number = Math.PI*2;
+ return function(t:Number):Number {
+ var s:Number = period/pi2 * Math.asin(1/amplitude);
+ if ((t*=2)<1) return -0.5*(amplitude*Math.pow(2,10*(t-=1))*Math.sin( (t-s)*pi2/period ));
+ return amplitude*Math.pow(2,-10*(t-=1))*Math.sin((t-s)*pi2/period)*0.5+1;
+ };
+ }
+
+ /**
+ * @method elasticInOut
+ * @param {Number} t
+ * @static
+ * @return {Number}
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ **/
+ static public function elasticInOut():Function {
+ return getElasticInOut(1,0.3*1.5);
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1d424cbf/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Effect.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Effect.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Effect.as
index 21686fb..54e1a3b 100644
--- a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Effect.as
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Effect.as
@@ -114,6 +114,16 @@ package org.apache.flex.createjs.tween
public var loop:Boolean = false;
/**
+ * The easing function to apply.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var easing:Function = null;
+
+ /**
* @private
* Returns the options necessary for an effect to take place. This is an
* internally used function.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1d424cbf/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Sequence.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Sequence.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Sequence.as
index 3e5cd6f..9d3bd89 100644
--- a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Sequence.as
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Sequence.as
@@ -80,10 +80,14 @@ package org.apache.flex.createjs.tween
_tween = createjs.Tween.get(element, {loop: loop});
_tween.setPaused(true);
+ if (easing == null) {
+ easing = org.apache.flex.createjs.tween.Ease.getPowInOut(2);
+ }
+
for (var i:int=0; i < _tweens.length; i++) {
var e:Effect = _tweens[i] as Effect;
var options:Object = e.createTweenOptions();
- _tween.to( options, e.duration, createjs.Ease.getPowInOut(2));
+ _tween.to( options, e.duration, easing);
}
_tween.setPaused(false);
[11/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - need
deps.js
Posted by ah...@apache.org.
need deps.js
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/66669cf5
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/66669cf5
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/66669cf5
Branch: refs/heads/spark
Commit: 66669cf58ea30201899ede6266a2d83405d501c6
Parents: ba6eda5
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 13 11:11:48 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 13 11:11:48 2016 -0700
----------------------------------------------------------------------
frameworks/downloads.xml | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/66669cf5/frameworks/downloads.xml
----------------------------------------------------------------------
diff --git a/frameworks/downloads.xml b/frameworks/downloads.xml
index 0b3909a..089fa16 100644
--- a/frameworks/downloads.xml
+++ b/frameworks/downloads.xml
@@ -174,6 +174,7 @@
<exclude name="closure/goog/array/array.js"/>
<exclude name="closure/goog/asserts/asserts.js"/>
<exclude name="closure/goog/base.js"/>
+ <exclude name="closure/goog/deps.js"/>
<exclude name="closure/goog/debug/entrypointregistry.js"/>
<exclude name="closure/goog/debug/error.js"/>
<exclude name="closure/goog/disposable/disposable.js"/>
[50/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - merge
develop into spark
Posted by ah...@apache.org.
merge develop into spark
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/256a0a22
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/256a0a22
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/256a0a22
Branch: refs/heads/spark
Commit: 256a0a2297a048b24af92c1996851c1b09b0a8cf
Parents: ad95c1e 6835bd4
Author: Alex Harui <ah...@apache.org>
Authored: Wed May 4 10:58:15 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed May 4 10:58:15 2016 -0700
----------------------------------------------------------------------
.mvn/extensions.xml | 11 +
ApproveFlexJS.xml | 333 ++-
LICENSE | 4 +-
LICENSE.base | 203 ++
LICENSE.bin | 19 +-
NOTICE | 2 +-
READme | 51 +-
RELEASE_NOTES | 33 +
apache-flex-flexjs-installer-config.xml | 29 +
asdoc/build.xml | 2 +-
build.properties | 2 +-
build.xml | 77 +-
examples/build_example.xml | 24 +-
examples/flexjs/ChartExample/build.xml | 16 +
examples/flexjs/CreateJSExample/build.xml | 45 +
examples/flexjs/CreateJSExample/pom.xml | 50 +
.../CreateJSExample/src/CreateJSExample.mxml | 89 +
examples/flexjs/CreateJSExample/src/README.txt | 26 +
.../CreateJSExample/src/models/MyModel.as | 34 +
examples/flexjs/DataGridExample/build.xml | 16 +
examples/flexjs/FlexJSStore_jquery/build.xml | 16 +
.../flexjs/FlexWebsiteStatsViewer/build.xml | 4 +-
.../FlexWebsiteStatsViewer/src/StatsView.mxml | 26 +-
examples/flexjs/MapSearch/build.xml | 16 +
examples/flexjs/MobileTrader/build.xml | 16 +
examples/flexjs/StorageExample/build.xml | 16 +
.../StorageExample/src/MyInitialView.mxml | 158 +-
examples/flexjs/TreeExample/build.xml | 16 +
.../AngularExample/AngularExample-debug.html | 46 +
.../AngularExample/AngularExample-release.html | 47 +
.../native/AngularExample/src/AngularExample.as | 84 +
.../native/AngularExample/src/MyController.as | 70 +
.../src/components/IWebComponent.as | 27 +
.../src/components/WebComponent.as | 38 +
.../src/components/mdbutton/MDButton.as | 61 +
.../src/components/mdbutton/MDButtonFactory.as | 56 +
frameworks/asdoc-config.xml | 3 +-
frameworks/build.xml | 10 +-
frameworks/downloads.xml | 94 +-
frameworks/projects/Binding/build.xml | 22 +-
frameworks/projects/Binding/pom.xml | 71 +
.../src/main/config/compile-as-config.xml | 78 +
.../src/main/config/compile-js-config.xml | 79 +
.../src/main/resources/compile-asjs-config.xml | 79 -
.../src/main/resources/compile-config.xml | 78 -
frameworks/projects/Charts/build.xml | 22 +-
frameworks/projects/Charts/pom.xml | 85 +
.../src/main/config/compile-as-config.xml | 84 +
.../src/main/config/compile-js-config.xml | 81 +
.../main/resources/compile-as-to-js-config.xml | 76 -
.../src/main/resources/compile-asjs-config.xml | 71 -
.../src/main/resources/compile-config.xml | 84 -
.../src/main/resources/compile-js-config.xml | 87 -
frameworks/projects/Collections/build.xml | 24 +-
frameworks/projects/Collections/pom.xml | 71 +
.../src/main/config/compile-as-config.xml | 78 +
.../src/main/config/compile-js-config.xml | 69 +
.../src/main/resources/compile-asjs-config.xml | 69 -
.../src/main/resources/compile-config.xml | 78 -
frameworks/projects/Core/build.xml | 23 +-
frameworks/projects/Core/pom.xml | 63 +
.../Core/src/main/config/compile-as-config.xml | 78 +
.../Core/src/main/config/compile-js-config.xml | 78 +
.../projects/Core/src/main/flex/Namespace.as | 129 +-
frameworks/projects/Core/src/main/flex/QName.as | 167 +-
.../flex/org/apache/flex/core/Application.as | 7 +-
.../flex/org/apache/flex/core/UIButtonBase.as | 2 +
.../src/main/resources/compile-asjs-config.xml | 78 -
.../Core/src/main/resources/compile-config.xml | 77 -
frameworks/projects/CreateJS/build.xml | 28 +-
frameworks/projects/CreateJS/pom.xml | 85 +
.../src/main/config/compile-as-config.xml | 84 +
.../src/main/config/compile-js-config.xml | 84 +
.../CreateJS/src/main/flex/CreateJSClasses.as | 6 +
.../org/apache/flex/createjs/Application.as | 334 ++-
.../flex/org/apache/flex/createjs/CheckBox.as | 156 +-
.../flex/org/apache/flex/createjs/Container.as | 301 +++
.../main/flex/org/apache/flex/createjs/Label.as | 150 +-
.../flex/org/apache/flex/createjs/TextButton.as | 195 +-
.../apache/flex/createjs/core/CreateJSBase.as | 169 ++
.../org/apache/flex/createjs/core/UIBase.as | 675 +++--
.../flex/org/apache/flex/createjs/core/View.as | 325 +++
.../org/apache/flex/createjs/core/ViewBase.as | 206 --
.../org/apache/flex/createjs/graphics/Circle.as | 94 +
.../flex/createjs/graphics/GraphicShape.as | 76 +
.../org/apache/flex/createjs/graphics/Rect.as | 93 +
.../flex/org/apache/flex/createjs/tween/Ease.as | 672 +++++
.../org/apache/flex/createjs/tween/Effect.as | 158 ++
.../org/apache/flex/createjs/tween/Sequence.as | 99 +
.../org/apache/flex/createjs/tween/Tween.as | 177 ++
.../src/main/resources/compile-asjs-config.xml | 83 -
.../src/main/resources/compile-config.xml | 83 -
.../src/main/resources/createjs-manifest.xml | 10 +-
.../CreateJS/src/main/resources/defaults.css | 21 +-
frameworks/projects/DragDrop/build.xml | 24 +-
frameworks/projects/DragDrop/pom.xml | 71 +
.../src/main/config/compile-as-config.xml | 78 +
.../src/main/config/compile-js-config.xml | 79 +
.../src/main/resources/compile-asjs-config.xml | 79 -
.../src/main/resources/compile-config.xml | 78 -
frameworks/projects/Effects/build.xml | 22 +-
frameworks/projects/Effects/pom.xml | 71 +
.../src/main/config/compile-as-config.xml | 78 +
.../src/main/config/compile-js-config.xml | 79 +
.../src/main/resources/compile-asjs-config.xml | 79 -
.../src/main/resources/compile-config.xml | 78 -
frameworks/projects/Flat/build.xml | 24 +-
frameworks/projects/Flat/pom.xml | 92 +
.../Flat/src/main/config/compile-as-config.xml | 92 +
.../Flat/src/main/config/compile-js-config.xml | 80 +
.../src/main/resources/compile-asjs-config.xml | 80 -
.../Flat/src/main/resources/compile-config.xml | 91 -
frameworks/projects/Formatters/build.xml | 23 +-
frameworks/projects/Formatters/pom.xml | 78 +
.../src/main/config/compile-as-config.xml | 79 +
.../src/main/config/compile-js-config.xml | 80 +
.../src/main/resources/compile-asjs-config.xml | 80 -
.../src/main/resources/compile-config.xml | 79 -
frameworks/projects/GoogleMaps/build.xml | 28 +-
frameworks/projects/GoogleMaps/pom.xml | 71 +
.../src/main/config/compile-as-config.xml | 83 +
.../src/main/config/compile-js-config.xml | 75 +
.../src/main/resources/compile-asjs-config.xml | 75 -
.../src/main/resources/compile-config.xml | 83 -
frameworks/projects/Graphics/build.xml | 21 +-
frameworks/projects/Graphics/pom.xml | 71 +
.../src/main/config/compile-as-config.xml | 78 +
.../src/main/config/compile-js-config.xml | 82 +
.../src/main/resources/compile-asjs-config.xml | 82 -
.../src/main/resources/compile-config.xml | 78 -
.../projects/HTML/.actionScriptProperties | 1 +
frameworks/projects/HTML/build.xml | 21 +-
frameworks/projects/HTML/pom.xml | 92 +
.../HTML/src/main/config/compile-as-config.xml | 95 +
.../HTML/src/main/config/compile-js-config.xml | 90 +
.../src/main/resources/compile-asjs-config.xml | 90 -
.../HTML/src/main/resources/compile-config.xml | 94 -
frameworks/projects/HTML5/build.xml | 21 +-
frameworks/projects/HTML5/pom.xml | 78 +
.../HTML5/src/main/config/compile-as-config.xml | 83 +
.../HTML5/src/main/config/compile-js-config.xml | 71 +
.../src/main/resources/compile-asjs-config.xml | 70 -
.../HTML5/src/main/resources/compile-config.xml | 83 -
frameworks/projects/JQuery/build.xml | 28 +-
frameworks/projects/JQuery/pom.xml | 78 +
.../src/main/config/compile-as-config.xml | 83 +
.../src/main/config/compile-js-config.xml | 87 +
.../src/main/resources/compile-asjs-config.xml | 86 -
.../src/main/resources/compile-config.xml | 83 -
.../projects/Mobile/.actionScriptProperties | 1 +
frameworks/projects/Mobile/build.xml | 21 +-
frameworks/projects/Mobile/pom.xml | 85 +
.../src/main/config/compile-as-config.xml | 89 +
.../src/main/config/compile-js-config.xml | 89 +
.../src/main/resources/compile-asjs-config.xml | 89 -
.../src/main/resources/compile-config.xml | 89 -
frameworks/projects/Network/build.xml | 21 +-
frameworks/projects/Network/pom.xml | 71 +
.../src/main/config/compile-as-config.xml | 78 +
.../src/main/config/compile-js-config.xml | 82 +
.../src/main/resources/compile-asjs-config.xml | 82 -
.../src/main/resources/compile-config.xml | 78 -
frameworks/projects/Reflection/build.xml | 21 +-
frameworks/projects/Reflection/pom.xml | 71 +
.../src/main/config/compile-as-config.xml | 74 +
.../src/main/config/compile-js-config.xml | 78 +
.../src/main/resources/compile-asjs-config.xml | 77 -
.../src/main/resources/compile-config.xml | 73 -
frameworks/projects/Storage/build.xml | 26 +-
frameworks/projects/Storage/pom.xml | 71 +
.../src/main/config/compile-as-config.xml | 82 +
.../src/main/config/compile-js-config.xml | 82 +
.../Storage/src/main/flex/StorageClasses.as | 8 +-
.../apache/flex/storage/IPermanentStorage.as | 28 +
.../org/apache/flex/storage/PermanentStorage.as | 34 +
.../flex/storage/events/FileErrorEvent.as | 80 +
.../org/apache/flex/storage/events/FileEvent.as | 84 +
.../apache/flex/storage/events/FileReadEvent.as | 70 -
.../flex/storage/events/FileWriteEvent.as | 60 -
.../apache/flex/storage/file/DataInputStream.as | 146 ++
.../flex/storage/file/DataOutputStream.as | 165 ++
.../org/apache/flex/storage/file/IDataInput.as | 32 +
.../org/apache/flex/storage/file/IDataOutput.as | 32 +
.../org/apache/flex/storage/file/IDataStream.as | 32 +
.../storage/providers/AirStorageProvider.as | 106 +-
.../providers/IPermanentStorageProvider.as | 28 +
.../storage/providers/WebStorageProvider.as | 116 +-
.../src/main/resources/compile-asjs-config.xml | 82 -
.../src/main/resources/compile-config.xml | 82 -
frameworks/projects/XML/build.xml | 221 ++
frameworks/projects/XML/pom.xml | 71 +
.../XML/src/main/config/compile-as-config.xml | 78 +
.../XML/src/main/config/compile-js-config.xml | 80 +
frameworks/projects/XML/src/main/flex/XML.as | 2392 ++++++++++++++++++
.../projects/XML/src/main/flex/XMLClasses.as | 37 +
.../projects/XML/src/main/flex/XMLList.as | 764 ++++++
.../XML/src/main/resources/basic-manifest.xml | 24 +
frameworks/projects/pom.xml | 60 +
.../FlexJS (FalconJX Debug Build).launch | 28 +
...JS (FalconJX Debug and Release Build).launch | 2 +-
installer.properties/en_US.properties | 14 +
installer.xml | 84 +-
manualtests/XMLTest/build.xml | 72 +
manualtests/XMLTest/src/MyInitialView.mxml | 252 ++
manualtests/XMLTest/src/README.txt | 45 +
manualtests/XMLTest/src/XMLTest.mxml | 40 +
.../XMLTest/src/controllers/MyController.as | 52 +
manualtests/XMLTest/src/models/MyModel.as | 125 +
manualtests/build_example.xml | 2 +-
marmotinni/java/downloads.xml | 6 +-
migrate-to-maven.sh | 38 +
mustella/js/AssertPropertyValue.js | 37 +
mustella/js/DispatchMouseClickEvent.js | 37 +
mustella/js/DispatchMouseEvent.js | 37 +
mustella/js/ExitWhenDone.js | 37 +
mustella/js/SendFormattedResultsToLog.js | 37 +
mustella/js/SetProperty.js | 37 +
mustella/js/SetShowRTE.js | 37 +
mustella/js/TestCase.js | 37 +
mustella/js/UnitTester.js | 37 +
nightly.properties | 2 +-
pom.xml | 95 +
releasecandidate.xml | 9 +-
223 files changed, 15703 insertions(+), 4115 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/256a0a22/frameworks/build.xml
----------------------------------------------------------------------
diff --cc frameworks/build.xml
index 6afcd29,ea42384..c4742e6
--- a/frameworks/build.xml
+++ b/frameworks/build.xml
@@@ -94,7 -94,7 +94,8 @@@
<antcall target="Network"/>
<antcall target="Reflection"/>
<antcall target="Storage"/>
+ <antcall target="MX"/>
+ <antcall target="XML"/>
</target>
<target name="fonts">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/256a0a22/frameworks/projects/HTML/.actionScriptProperties
----------------------------------------------------------------------
[08/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - fix
nightly
Posted by ah...@apache.org.
fix nightly
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/ba6eda56
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/ba6eda56
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/ba6eda56
Branch: refs/heads/spark
Commit: ba6eda56c59331554cd62dc669f2837e8cb1e2c4
Parents: 3f065a2
Author: Alex Harui <ah...@apache.org>
Authored: Tue Apr 12 23:46:46 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Apr 12 23:47:06 2016 -0700
----------------------------------------------------------------------
nightly.properties | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/ba6eda56/nightly.properties
----------------------------------------------------------------------
diff --git a/nightly.properties b/nightly.properties
index 3b96ceb..90de624 100644
--- a/nightly.properties
+++ b/nightly.properties
@@ -23,7 +23,7 @@ nightly = true
falcon.server.url = http://apacheflexbuild.cloudapp.net:8080
falcon.md5.server.url = http://apacheflexbuild.cloudapp.net:8080
falcon.folder = job/flex-falcon/lastSuccessfulBuild/artifact/out
-falcon.version = 0.6.0
+falcon.version = 0.7.0
#need this until Installer 3.2 comes out
#jburg.server=http://downloads.sourceforge.net
#jburg.folder=project/jburg
[23/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - - Moved
the compiler config files - Fine tuned the pom.xml to updates in the
flexjs-maven-plugin - Added the maven extensions via .mvn/extensions.xml
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Network/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/src/main/resources/compile-asjs-config.xml b/frameworks/projects/Network/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index 6c727b1..0000000
--- a/frameworks/projects/Network/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,82 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>NetworkClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Network/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/src/main/resources/compile-config.xml b/frameworks/projects/Network/src/main/resources/compile-config.xml
deleted file mode 100644
index f61f1e5..0000000
--- a/frameworks/projects/Network/src/main/resources/compile-config.xml
+++ /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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>NetworkClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Reflection/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/pom.xml b/frameworks/projects/Reflection/pom.xml
index 4e10d0d..04f845e 100644
--- a/frameworks/projects/Reflection/pom.xml
+++ b/frameworks/projects/Reflection/pom.xml
@@ -29,30 +29,16 @@
<artifactId>Reflection</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,21 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Reflection/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/src/main/config/compile-asjs-config.xml b/frameworks/projects/Reflection/src/main/config/compile-asjs-config.xml
new file mode 100644
index 0000000..fa4300e
--- /dev/null
+++ b/frameworks/projects/Reflection/src/main/config/compile-asjs-config.xml
@@ -0,0 +1,77 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ <path-element>../flex</path-element>
+ </include-sources>
+
+ <include-classes>
+ </include-classes>
+
+ <include-namespaces>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Reflection/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/src/main/config/compile-config.xml b/frameworks/projects/Reflection/src/main/config/compile-config.xml
new file mode 100644
index 0000000..89b7765
--- /dev/null
+++ b/frameworks/projects/Reflection/src/main/config/compile-config.xml
@@ -0,0 +1,73 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-sources>
+ <path-element>../flex</path-element>
+ </include-sources>
+
+ <include-namespaces>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Reflection/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/src/main/resources/compile-asjs-config.xml b/frameworks/projects/Reflection/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index fa4300e..0000000
--- a/frameworks/projects/Reflection/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <namespaces>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- <path-element>../flex</path-element>
- </include-sources>
-
- <include-classes>
- </include-classes>
-
- <include-namespaces>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Reflection/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/src/main/resources/compile-config.xml b/frameworks/projects/Reflection/src/main/resources/compile-config.xml
deleted file mode 100644
index 89b7765..0000000
--- a/frameworks/projects/Reflection/src/main/resources/compile-config.xml
+++ /dev/null
@@ -1,73 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-sources>
- <path-element>../flex</path-element>
- </include-sources>
-
- <include-namespaces>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Storage/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/pom.xml b/frameworks/projects/Storage/pom.xml
index af4ea8d..62c6726 100644
--- a/frameworks/projects/Storage/pom.xml
+++ b/frameworks/projects/Storage/pom.xml
@@ -29,30 +29,16 @@
<artifactId>Storage</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,21 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Storage/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/config/compile-asjs-config.xml b/frameworks/projects/Storage/src/main/config/compile-asjs-config.xml
new file mode 100644
index 0000000..6b3c6d5
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/config/compile-asjs-config.xml
@@ -0,0 +1,82 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>StorageClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Storage/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/config/compile-config.xml b/frameworks/projects/Storage/src/main/config/compile-config.xml
new file mode 100644
index 0000000..8ca6f9c
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/config/compile-config.xml
@@ -0,0 +1,82 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>StorageClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Storage/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/resources/compile-asjs-config.xml b/frameworks/projects/Storage/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index 6b3c6d5..0000000
--- a/frameworks/projects/Storage/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,82 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>StorageClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Storage/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/resources/compile-config.xml b/frameworks/projects/Storage/src/main/resources/compile-config.xml
deleted file mode 100644
index 8ca6f9c..0000000
--- a/frameworks/projects/Storage/src/main/resources/compile-config.xml
+++ /dev/null
@@ -1,82 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>StorageClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/XML/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/pom.xml b/frameworks/projects/XML/pom.xml
new file mode 100644
index 0000000..8a3b625
--- /dev/null
+++ b/frameworks/projects/XML/pom.xml
@@ -0,0 +1,56 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>XML</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>swc</packaging>
+
+ <build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/pom.xml b/frameworks/projects/pom.xml
index b40ea1c..225ab03 100644
--- a/frameworks/projects/pom.xml
+++ b/frameworks/projects/pom.xml
@@ -31,6 +31,10 @@
<version>0.6.0-SNAPSHOT</version>
<packaging>pom</packaging>
+ <properties>
+ <air.version>20.0</air.version>
+ </properties>
+
<modules>
<module>Binding</module>
<module>Charts</module>
@@ -50,6 +54,7 @@
<module>Network</module>
<module>Reflection</module>
<module>Storage</module>
+ <module>XML</module>
</modules>
</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6b1c97d..319619e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -31,8 +31,8 @@
<version>0.6.0-SNAPSHOT</version>
<packaging>pom</packaging>
- <name>Apache Flex - FlexJS</name>
- <description>The Apache Flex FlexJS Project</description>
+ <name>Apache Flex - ASJS</name>
+ <description>The Apache Flex ASJS Project</description>
<!-- Only configure the site distribution as the rest is handled by the apache parent -->
<distributionManagement>
[29/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Added
Move effect to CreateJS framework and example.
Posted by ah...@apache.org.
Added Move effect to CreateJS framework and example.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/8cb2031a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8cb2031a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8cb2031a
Branch: refs/heads/spark
Commit: 8cb2031ac069c57715dd48e0409038a497d87d11
Parents: 9a52f49
Author: Peter Ent <pe...@apache.org>
Authored: Mon Apr 25 15:27:12 2016 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Mon Apr 25 15:27:12 2016 -0400
----------------------------------------------------------------------
.../CreateJSExample/src/CreateJSExample.mxml | 16 +-
.../CreateJS/src/main/flex/CreateJSClasses.as | 1 +
.../org/apache/flex/createjs/Application.as | 3 +
.../apache/flex/createjs/core/CreateJSBase.as | 5 +
.../flex/org/apache/flex/createjs/tween/Move.as | 149 +++++++++++++++++++
.../src/main/resources/createjs-manifest.xml | 1 +
6 files changed, 174 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8cb2031a/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml b/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml
index f7c8768..a2a678c 100644
--- a/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml
+++ b/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml
@@ -21,16 +21,30 @@ limitations under the License.
xmlns:local="*"
xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:cjs="library://ns.apache.org/flexjs/createjs"
+ applicationComplete="runEffect()"
>
<js:valuesImpl>
<js:SimpleCSSValuesImpl />
</js:valuesImpl>
+ <fx:Script>
+ <![CDATA[
+ import org.apache.flex.createjs.tween.Move;
+
+ private function runEffect():void {
+ var mover:Move = new Move(circle);
+ mover.xTo = 400;
+ mover.yTo = 400;
+ mover.play();
+ }
+ ]]>
+ </fx:Script>
+
<js:initialView>
<cjs:View>
- <cjs:Circle x="100" y="120" width="100" height="100">
+ <cjs:Circle id="circle" x="100" y="100" width="100" height="100">
<js:fill>
<js:SolidColor color="#26C9FF" />
</js:fill>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8cb2031a/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as b/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as
index 816c665..a39aaee 100644
--- a/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as
+++ b/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as
@@ -30,6 +30,7 @@ internal class CreateJSClasses
import org.apache.flex.createjs.core.UIBase; UIBase;
import org.apache.flex.createjs.core.View; View;
import org.apache.flex.createjs.graphics.GraphicShape; GraphicShape;
+ import org.apache.flex.createjs.tween.Move; Move;
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8cb2031a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Application.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Application.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Application.as
index 46ca931..3ef4196 100644
--- a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Application.as
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/Application.as
@@ -123,6 +123,7 @@ package org.apache.flex.createjs
*
* <inject_html>
* <script src="https://code.createjs.com/easeljs-0.8.1.min.js"></script>
+ * <script src="https://code.createjs.com/tweenjs-0.6.2.min.js"></script>
* </inject_html>
*/
public function Application()
@@ -167,6 +168,8 @@ package org.apache.flex.createjs
dispatchEvent('viewChanged');
stage.update();
+
+ dispatchEvent('applicationComplete');
}
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8cb2031a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/CreateJSBase.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/CreateJSBase.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/CreateJSBase.as
index d23359e..3f13292 100644
--- a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/CreateJSBase.as
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/core/CreateJSBase.as
@@ -33,6 +33,11 @@ package org.apache.flex.createjs.core
import org.apache.flex.core.graphics.SolidColor;
}
+ COMPILE::AS3
+ {
+ import org.apache.flex.core.UIBase;
+ }
+
/**
* This is the base class for CreateJS component wrappers used by FlexJS
* applications. This class provides standard properties that most of the
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8cb2031a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Move.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Move.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Move.as
new file mode 100644
index 0000000..4644ab1
--- /dev/null
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Move.as
@@ -0,0 +1,149 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 org.apache.flex.createjs.tween
+{
+ import org.apache.flex.events.EventDispatcher;
+
+ import org.apache.flex.createjs.core.CreateJSBase;
+
+ COMPILE::JS {
+ import createjs.Tween;
+ import createjs.Stage;
+ import createjs.Ease;
+ import createjs.Ticker;
+ }
+
+ /**
+ * The Move effect animates an object from one place to another. Once the
+ * target object is set, its starting position may be given (or its current
+ * location will be used) and an ending position given, the play() function
+ * is used to make the animation have effect.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public class Move extends EventDispatcher
+ {
+ /**
+ * Constructor
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function Move(target:Object=null)
+ {
+ super();
+
+ actualTarget = target;
+ }
+
+
+ private var _actualTarget:Object;
+
+ /**
+ * @private
+ * The actual target.
+ */
+ public function get actualTarget():Object
+ {
+ return _actualTarget;
+ }
+ public function set actualTarget(value:Object):void
+ {
+ _actualTarget = value;
+ }
+
+
+ /**
+ * Starting x value. If NaN, the current x value is used
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var xFrom:Number;
+
+ /**
+ * Ending x value. If NaN, the current x value is not changed
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var xTo:Number;
+
+ /**
+ * Starting y value. If NaN, the current y value is used
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var yFrom:Number;
+
+ /**
+ * Ending y value. If NaN, the current y value is not changed
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var yTo:Number;
+
+ COMPILE::JS
+ private var tween:createjs.Tween;
+
+ /**
+ * Causes the target object to move between its starting and ending positions.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ * @flexignorecoercion createjs.Shape
+ * @flexignorecoercion org.apache.flex.createjs.core.CreateJSBase
+ */
+ public function play():void
+ {
+ COMPILE::JS {
+ var target:CreateJSBase = actualTarget as CreateJSBase;
+ var element:createjs.Shape = target.element as createjs.Shape;
+ tween = createjs.Tween.get(element, {loop: false});
+
+ var options:Object = {x:xTo, y:yTo};
+
+ if (!isNaN(xFrom)) target.x = xFrom;
+ if (!isNaN(yFrom)) target.y = yFrom;
+
+ tween.to( options, 1000, createjs.Ease.getPowInOut(2));
+
+ var stage:createjs.Stage = element.getStage();
+ createjs.Ticker.addEventListener("tick", stage);
+ }
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8cb2031a/frameworks/projects/CreateJS/src/main/resources/createjs-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/resources/createjs-manifest.xml b/frameworks/projects/CreateJS/src/main/resources/createjs-manifest.xml
index 5716695..ec1414f 100644
--- a/frameworks/projects/CreateJS/src/main/resources/createjs-manifest.xml
+++ b/frameworks/projects/CreateJS/src/main/resources/createjs-manifest.xml
@@ -29,5 +29,6 @@
<component id="Label" class="org.apache.flex.createjs.Label"/>
<component id="Circle" class="org.apache.flex.createjs.graphics.Circle" />
<component id="Rect" class="org.apache.flex.createjs.graphics.Rect" />
+ <component id="Move" class="org.apache.flex.createjs.tween.Move" />
</componentPackage>
[48/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Fixed
XMLList replaceChildAt
Posted by ah...@apache.org.
Fixed XMLList replaceChildAt
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/64a18fb3
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/64a18fb3
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/64a18fb3
Branch: refs/heads/spark
Commit: 64a18fb38c37fb4bd06337070a39b74d57dc00a7
Parents: 9438023
Author: Harbs <ha...@in-tools.com>
Authored: Wed May 4 20:20:54 2016 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Wed May 4 20:20:54 2016 +0300
----------------------------------------------------------------------
frameworks/projects/XML/src/main/flex/XMLList.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/64a18fb3/frameworks/projects/XML/src/main/flex/XMLList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/flex/XMLList.as b/frameworks/projects/XML/src/main/flex/XMLList.as
index 0dac7af..ba3c5e4 100644
--- a/frameworks/projects/XML/src/main/flex/XMLList.as
+++ b/frameworks/projects/XML/src/main/flex/XMLList.as
@@ -599,7 +599,7 @@ package
}
if(child is XML)
{
- _xmlArray.splice(idx+i,0,child);
+ _xmlArray[idx] = child;
}
else if(child is XMLList)
{
[24/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - - Moved
the compiler config files - Fine tuned the pom.xml to updates in the
flexjs-maven-plugin - Added the maven extensions via .mvn/extensions.xml
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Graphics/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/config/compile-asjs-config.xml b/frameworks/projects/Graphics/src/main/config/compile-asjs-config.xml
new file mode 100644
index 0000000..aa9ab36
--- /dev/null
+++ b/frameworks/projects/Graphics/src/main/config/compile-asjs-config.xml
@@ -0,0 +1,82 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>GraphicsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Graphics/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/config/compile-config.xml b/frameworks/projects/Graphics/src/main/config/compile-config.xml
new file mode 100644
index 0000000..9fc8b25
--- /dev/null
+++ b/frameworks/projects/Graphics/src/main/config/compile-config.xml
@@ -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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>GraphicsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Graphics/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/resources/compile-asjs-config.xml b/frameworks/projects/Graphics/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index aa9ab36..0000000
--- a/frameworks/projects/Graphics/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,82 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>GraphicsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Graphics/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/resources/compile-config.xml b/frameworks/projects/Graphics/src/main/resources/compile-config.xml
deleted file mode 100644
index 9fc8b25..0000000
--- a/frameworks/projects/Graphics/src/main/resources/compile-config.xml
+++ /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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>GraphicsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/HTML/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/pom.xml b/frameworks/projects/HTML/pom.xml
index de14273..1cb99ff 100644
--- a/frameworks/projects/HTML/pom.xml
+++ b/frameworks/projects/HTML/pom.xml
@@ -29,30 +29,16 @@
<artifactId>HTML</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,42 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Binding</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Graphics</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Collections</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/HTML/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/config/compile-asjs-config.xml b/frameworks/projects/HTML/src/main/config/compile-asjs-config.xml
new file mode 100644
index 0000000..b578f84
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/config/compile-asjs-config.xml
@@ -0,0 +1,90 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Binding.swc</path-element>
+ <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../../../externs/Graphics.swc</path-element>
+ <path-element>../../../../../externs/Collections.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/svg</uri>
+ <manifest>svg-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>HTMLClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <uri>library://ns.apache.org/flexjs/svg</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/HTML/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/config/compile-config.xml b/frameworks/projects/HTML/src/main/config/compile-config.xml
new file mode 100644
index 0000000..7f2b812
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/config/compile-config.xml
@@ -0,0 +1,94 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Binding.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/Graphics.swc</path-element>
+ <path-element>../../../../../libs/Collections.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-as-manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/svg</uri>
+ <manifest>svg-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>HTMLClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <uri>library://ns.apache.org/flexjs/svg</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/HTML/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/resources/compile-asjs-config.xml b/frameworks/projects/HTML/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index b578f84..0000000
--- a/frameworks/projects/HTML/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,90 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Binding.swc</path-element>
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/Graphics.swc</path-element>
- <path-element>../../../../../externs/Collections.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/flexjs/svg</uri>
- <manifest>svg-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>HTMLClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <uri>library://ns.apache.org/flexjs/svg</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/HTML/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/resources/compile-config.xml b/frameworks/projects/HTML/src/main/resources/compile-config.xml
deleted file mode 100644
index 7f2b812..0000000
--- a/frameworks/projects/HTML/src/main/resources/compile-config.xml
+++ /dev/null
@@ -1,94 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Binding.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/Graphics.swc</path-element>
- <path-element>../../../../../libs/Collections.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-as-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/flexjs/svg</uri>
- <manifest>svg-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>HTMLClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <uri>library://ns.apache.org/flexjs/svg</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/HTML5/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/pom.xml b/frameworks/projects/HTML5/pom.xml
index a008b1f..c8178ea 100644
--- a/frameworks/projects/HTML5/pom.xml
+++ b/frameworks/projects/HTML5/pom.xml
@@ -29,30 +29,16 @@
<artifactId>HTML5</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,28 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>HTML</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/HTML5/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/src/main/config/compile-asjs-config.xml b/frameworks/projects/HTML5/src/main/config/compile-asjs-config.xml
new file mode 100644
index 0000000..c3db508
--- /dev/null
+++ b/frameworks/projects/HTML5/src/main/config/compile-asjs-config.xml
@@ -0,0 +1,70 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../../../externs/HTML.swc</path-element>
+ </library-path>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-sources>
+ <path-element>../flex</path-element>
+ </include-sources>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/html5</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/HTML5/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/src/main/config/compile-config.xml b/frameworks/projects/HTML5/src/main/config/compile-config.xml
new file mode 100644
index 0000000..75d4ef8
--- /dev/null
+++ b/frameworks/projects/HTML5/src/main/config/compile-config.xml
@@ -0,0 +1,83 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/HTML.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/html5</uri>
+ <manifest>html5-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>HTML5Classes</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/html5</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/HTML5/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/src/main/resources/compile-asjs-config.xml b/frameworks/projects/HTML5/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index c3db508..0000000
--- a/frameworks/projects/HTML5/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,70 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
- </library-path>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-sources>
- <path-element>../flex</path-element>
- </include-sources>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/html5</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/HTML5/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/src/main/resources/compile-config.xml b/frameworks/projects/HTML5/src/main/resources/compile-config.xml
deleted file mode 100644
index 75d4ef8..0000000
--- a/frameworks/projects/HTML5/src/main/resources/compile-config.xml
+++ /dev/null
@@ -1,83 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/html5</uri>
- <manifest>html5-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>HTML5Classes</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/html5</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/JQuery/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/pom.xml b/frameworks/projects/JQuery/pom.xml
index dbf6a83..35ab87c 100644
--- a/frameworks/projects/JQuery/pom.xml
+++ b/frameworks/projects/JQuery/pom.xml
@@ -29,30 +29,16 @@
<artifactId>JQuery</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,28 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>HTML</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/JQuery/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/src/main/config/compile-asjs-config.xml b/frameworks/projects/JQuery/src/main/config/compile-asjs-config.xml
new file mode 100644
index 0000000..cedda1b
--- /dev/null
+++ b/frameworks/projects/JQuery/src/main/config/compile-asjs-config.xml
@@ -0,0 +1,86 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Binding.swc</path-element>
+ <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../../../externs/Graphics.swc</path-element>
+ <path-element>../../../../../externs/Collections.swc</path-element>
+ <path-element>../../../../../externs/HTML.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/jquery</uri>
+ <manifest>jquery-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>HTMLClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/jquery</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/JQuery/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/src/main/config/compile-config.xml b/frameworks/projects/JQuery/src/main/config/compile-config.xml
new file mode 100644
index 0000000..414b151
--- /dev/null
+++ b/frameworks/projects/JQuery/src/main/config/compile-config.xml
@@ -0,0 +1,83 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/HTML.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/jquery</uri>
+ <manifest>jquery-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>JQueryClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/jquery</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/JQuery/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/src/main/resources/compile-asjs-config.xml b/frameworks/projects/JQuery/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index cedda1b..0000000
--- a/frameworks/projects/JQuery/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,86 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Binding.swc</path-element>
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/Graphics.swc</path-element>
- <path-element>../../../../../externs/Collections.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/jquery</uri>
- <manifest>jquery-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>HTMLClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/jquery</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/JQuery/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/src/main/resources/compile-config.xml b/frameworks/projects/JQuery/src/main/resources/compile-config.xml
deleted file mode 100644
index 414b151..0000000
--- a/frameworks/projects/JQuery/src/main/resources/compile-config.xml
+++ /dev/null
@@ -1,83 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/jquery</uri>
- <manifest>jquery-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>JQueryClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/jquery</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Mobile/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/pom.xml b/frameworks/projects/Mobile/pom.xml
index 44aff82..0924802 100644
--- a/frameworks/projects/Mobile/pom.xml
+++ b/frameworks/projects/Mobile/pom.xml
@@ -29,30 +29,16 @@
<artifactId>Mobile</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,35 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Graphics</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>HTML</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Mobile/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/config/compile-asjs-config.xml b/frameworks/projects/Mobile/src/main/config/compile-asjs-config.xml
new file mode 100644
index 0000000..f23d6d3
--- /dev/null
+++ b/frameworks/projects/Mobile/src/main/config/compile-asjs-config.xml
@@ -0,0 +1,89 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../../../externs/Graphics.swc</path-element>
+ <path-element>../../../../../externs/HTML.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/cordova</uri>
+ <manifest>cordova-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>MobileClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <uri>library://ns.apache.org/flexjs/cordova</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Mobile/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/config/compile-config.xml b/frameworks/projects/Mobile/src/main/config/compile-config.xml
new file mode 100644
index 0000000..3ce0c19
--- /dev/null
+++ b/frameworks/projects/Mobile/src/main/config/compile-config.xml
@@ -0,0 +1,89 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/Graphics.swc</path-element>
+ <path-element>../../../../../libs/HTML.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/cordova</uri>
+ <manifest>cordova-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>MobileClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <uri>library://ns.apache.org/flexjs/cordova</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Mobile/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/resources/compile-asjs-config.xml b/frameworks/projects/Mobile/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index f23d6d3..0000000
--- a/frameworks/projects/Mobile/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,89 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/Graphics.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/flexjs/cordova</uri>
- <manifest>cordova-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>MobileClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <uri>library://ns.apache.org/flexjs/cordova</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Mobile/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/resources/compile-config.xml b/frameworks/projects/Mobile/src/main/resources/compile-config.xml
deleted file mode 100644
index 3ce0c19..0000000
--- a/frameworks/projects/Mobile/src/main/resources/compile-config.xml
+++ /dev/null
@@ -1,89 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/Graphics.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/flexjs/cordova</uri>
- <manifest>cordova-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>MobileClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <uri>library://ns.apache.org/flexjs/cordova</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Network/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/pom.xml b/frameworks/projects/Network/pom.xml
index 0f637d0..252f84e 100644
--- a/frameworks/projects/Network/pom.xml
+++ b/frameworks/projects/Network/pom.xml
@@ -29,30 +29,16 @@
<artifactId>Network</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,21 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Network/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/src/main/config/compile-asjs-config.xml b/frameworks/projects/Network/src/main/config/compile-asjs-config.xml
new file mode 100644
index 0000000..6c727b1
--- /dev/null
+++ b/frameworks/projects/Network/src/main/config/compile-asjs-config.xml
@@ -0,0 +1,82 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>NetworkClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Network/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/src/main/config/compile-config.xml b/frameworks/projects/Network/src/main/config/compile-config.xml
new file mode 100644
index 0000000..f61f1e5
--- /dev/null
+++ b/frameworks/projects/Network/src/main/config/compile-config.xml
@@ -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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>NetworkClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
[41/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - fix
asdoc, although it still shows some errors
Posted by ah...@apache.org.
fix asdoc, although it still shows some errors
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/cab3a325
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/cab3a325
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/cab3a325
Branch: refs/heads/spark
Commit: cab3a32586e7c7f1a10b98bffccaea258ffbc0a7
Parents: 6f2445b
Author: Alex Harui <ah...@apache.org>
Authored: Sat Apr 30 07:02:31 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sat Apr 30 07:02:31 2016 -0700
----------------------------------------------------------------------
asdoc/build.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cab3a325/asdoc/build.xml
----------------------------------------------------------------------
diff --git a/asdoc/build.xml b/asdoc/build.xml
index caba06d..f967dba 100644
--- a/asdoc/build.xml
+++ b/asdoc/build.xml
@@ -79,7 +79,7 @@
<external-library-path dir="${env.AIR_HOME}/frameworks/libs/air">
<include name="airglobal.swc"/>
</external-library-path>
- <external-library-path dir="${env.FALCONJX_HOME}/../externs/google_maps/out/bin">
+ <external-library-path dir="${env.FALCONJX_HOME}/../externs/google_maps/target">
<include name="google_maps.swc"/>
</external-library-path>
[49/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Added
newline between XML elements in XMLList
Posted by ah...@apache.org.
Added newline between XML elements in XMLList
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/6835bd42
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6835bd42
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6835bd42
Branch: refs/heads/spark
Commit: 6835bd42eab1a4bd08f2327b9b89000de11e79dd
Parents: 64a18fb
Author: Harbs <ha...@in-tools.com>
Authored: Wed May 4 20:43:41 2016 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Wed May 4 20:43:41 2016 +0300
----------------------------------------------------------------------
frameworks/projects/XML/src/main/flex/XMLList.as | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6835bd42/frameworks/projects/XML/src/main/flex/XMLList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/flex/XMLList.as b/frameworks/projects/XML/src/main/flex/XMLList.as
index ba3c5e4..7fa8002 100644
--- a/frameworks/projects/XML/src/main/flex/XMLList.as
+++ b/frameworks/projects/XML/src/main/flex/XMLList.as
@@ -725,7 +725,7 @@ package
if(str)
retVal.push(str);
}
- return retVal.join("");
+ return retVal.join("\n");
}
/**
@@ -745,7 +745,7 @@ package
if(str)
retVal.push(str);
}
- return retVal.join("");
+ return retVal.join("\n");
}
/**
[25/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - - Moved
the compiler config files - Fine tuned the pom.xml to updates in the
flexjs-maven-plugin - Added the maven extensions via .mvn/extensions.xml
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/CreateJS/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/config/compile-config.xml b/frameworks/projects/CreateJS/src/main/config/compile-config.xml
new file mode 100644
index 0000000..46f455d
--- /dev/null
+++ b/frameworks/projects/CreateJS/src/main/config/compile-config.xml
@@ -0,0 +1,83 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/HTML.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/createjs</uri>
+ <manifest>createjs-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>CreateJSClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/createjs</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/CreateJS/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/resources/compile-asjs-config.xml b/frameworks/projects/CreateJS/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index cd48012..0000000
--- a/frameworks/projects/CreateJS/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,83 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/createjs</uri>
- <manifest>createjs-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <library-path>
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
- </library-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>CreateJSClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/createjs</uri>
- </include-namespaces>
-
- <!--<target-player>${playerglobal.version}</target-player>-->
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/CreateJS/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/resources/compile-config.xml b/frameworks/projects/CreateJS/src/main/resources/compile-config.xml
deleted file mode 100644
index 46f455d..0000000
--- a/frameworks/projects/CreateJS/src/main/resources/compile-config.xml
+++ /dev/null
@@ -1,83 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/createjs</uri>
- <manifest>createjs-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>CreateJSClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/createjs</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/DragDrop/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/pom.xml b/frameworks/projects/DragDrop/pom.xml
index 414c9a1..9b05503 100644
--- a/frameworks/projects/DragDrop/pom.xml
+++ b/frameworks/projects/DragDrop/pom.xml
@@ -29,30 +29,16 @@
<artifactId>DragDrop</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,21 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/DragDrop/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/src/main/config/compile-asjs-config.xml b/frameworks/projects/DragDrop/src/main/config/compile-asjs-config.xml
new file mode 100644
index 0000000..a4561e7
--- /dev/null
+++ b/frameworks/projects/DragDrop/src/main/config/compile-asjs-config.xml
@@ -0,0 +1,79 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-classes>
+ <class>DragDropClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/DragDrop/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/src/main/config/compile-config.xml b/frameworks/projects/DragDrop/src/main/config/compile-config.xml
new file mode 100644
index 0000000..d5c9769
--- /dev/null
+++ b/frameworks/projects/DragDrop/src/main/config/compile-config.xml
@@ -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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>DragDropClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/DragDrop/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/src/main/resources/compile-asjs-config.xml b/frameworks/projects/DragDrop/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index a4561e7..0000000
--- a/frameworks/projects/DragDrop/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,79 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-classes>
- <class>DragDropClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/DragDrop/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/src/main/resources/compile-config.xml b/frameworks/projects/DragDrop/src/main/resources/compile-config.xml
deleted file mode 100644
index d5c9769..0000000
--- a/frameworks/projects/DragDrop/src/main/resources/compile-config.xml
+++ /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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>DragDropClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Effects/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/pom.xml b/frameworks/projects/Effects/pom.xml
index f6330ca..eb44feb 100644
--- a/frameworks/projects/Effects/pom.xml
+++ b/frameworks/projects/Effects/pom.xml
@@ -29,30 +29,16 @@
<artifactId>Effects</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,21 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Effects/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/src/main/config/compile-asjs-config.xml b/frameworks/projects/Effects/src/main/config/compile-asjs-config.xml
new file mode 100644
index 0000000..9cd51ef
--- /dev/null
+++ b/frameworks/projects/Effects/src/main/config/compile-asjs-config.xml
@@ -0,0 +1,79 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-classes>
+ <class>EffectsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Effects/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/src/main/config/compile-config.xml b/frameworks/projects/Effects/src/main/config/compile-config.xml
new file mode 100644
index 0000000..684baa4
--- /dev/null
+++ b/frameworks/projects/Effects/src/main/config/compile-config.xml
@@ -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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>EffectsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Effects/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/src/main/resources/compile-asjs-config.xml b/frameworks/projects/Effects/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index 9cd51ef..0000000
--- a/frameworks/projects/Effects/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,79 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-classes>
- <class>EffectsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Effects/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/src/main/resources/compile-config.xml b/frameworks/projects/Effects/src/main/resources/compile-config.xml
deleted file mode 100644
index 684baa4..0000000
--- a/frameworks/projects/Effects/src/main/resources/compile-config.xml
+++ /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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>EffectsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Flat/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/pom.xml b/frameworks/projects/Flat/pom.xml
index 72ac69a..1b43273 100644
--- a/frameworks/projects/Flat/pom.xml
+++ b/frameworks/projects/Flat/pom.xml
@@ -29,30 +29,16 @@
<artifactId>Flat</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,42 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Binding</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Graphics</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>HTML</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Flat/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/src/main/config/compile-asjs-config.xml b/frameworks/projects/Flat/src/main/config/compile-asjs-config.xml
new file mode 100644
index 0000000..b7fc0eb
--- /dev/null
+++ b/frameworks/projects/Flat/src/main/config/compile-asjs-config.xml
@@ -0,0 +1,80 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../../../externs/HTML.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/flat</uri>
+ <manifest>flat-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-classes>
+ <class>FlatClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/flat</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Flat/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/src/main/config/compile-config.xml b/frameworks/projects/Flat/src/main/config/compile-config.xml
new file mode 100644
index 0000000..7d1e0f0
--- /dev/null
+++ b/frameworks/projects/Flat/src/main/config/compile-config.xml
@@ -0,0 +1,91 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Binding.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/Graphics.swc</path-element>
+ <path-element>../../../../../libs/HTML.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/flat</uri>
+ <manifest>flat-manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/flat</uri>
+ <manifest>flat-as-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ <!--<path-element>asjs/src</path-element>-->
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>FlatClasses</class>
+ <!--<class>FlatASJSClasses</class>-->
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/flat</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Flat/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/src/main/resources/compile-asjs-config.xml b/frameworks/projects/Flat/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index b7fc0eb..0000000
--- a/frameworks/projects/Flat/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,80 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/flat</uri>
- <manifest>flat-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-classes>
- <class>FlatClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/flat</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Flat/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/src/main/resources/compile-config.xml b/frameworks/projects/Flat/src/main/resources/compile-config.xml
deleted file mode 100644
index 7d1e0f0..0000000
--- a/frameworks/projects/Flat/src/main/resources/compile-config.xml
+++ /dev/null
@@ -1,91 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Binding.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/Graphics.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/flat</uri>
- <manifest>flat-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/flexjs/flat</uri>
- <manifest>flat-as-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- <!--<path-element>asjs/src</path-element>-->
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>FlatClasses</class>
- <!--<class>FlatASJSClasses</class>-->
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/flat</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Formatters/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/pom.xml b/frameworks/projects/Formatters/pom.xml
index f7ea888..d68d93b 100644
--- a/frameworks/projects/Formatters/pom.xml
+++ b/frameworks/projects/Formatters/pom.xml
@@ -29,30 +29,16 @@
<artifactId>Formatters</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,28 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>HTML</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Formatters/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/src/main/config/compile-asjs-config.xml b/frameworks/projects/Formatters/src/main/config/compile-asjs-config.xml
new file mode 100644
index 0000000..caeadfd
--- /dev/null
+++ b/frameworks/projects/Formatters/src/main/config/compile-asjs-config.xml
@@ -0,0 +1,80 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../../../externs/HTML.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-classes>
+ <class>FormattersClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Formatters/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/src/main/config/compile-config.xml b/frameworks/projects/Formatters/src/main/config/compile-config.xml
new file mode 100644
index 0000000..b5445c9
--- /dev/null
+++ b/frameworks/projects/Formatters/src/main/config/compile-config.xml
@@ -0,0 +1,79 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/HTML.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>FormattersClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Formatters/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/src/main/resources/compile-asjs-config.xml b/frameworks/projects/Formatters/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index caeadfd..0000000
--- a/frameworks/projects/Formatters/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,80 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-classes>
- <class>FormattersClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Formatters/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/src/main/resources/compile-config.xml b/frameworks/projects/Formatters/src/main/resources/compile-config.xml
deleted file mode 100644
index b5445c9..0000000
--- a/frameworks/projects/Formatters/src/main/resources/compile-config.xml
+++ /dev/null
@@ -1,79 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>FormattersClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/GoogleMaps/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/pom.xml b/frameworks/projects/GoogleMaps/pom.xml
index 2667308..8d5d531 100644
--- a/frameworks/projects/GoogleMaps/pom.xml
+++ b/frameworks/projects/GoogleMaps/pom.xml
@@ -29,30 +29,16 @@
<artifactId>GoogleMaps</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,21 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/GoogleMaps/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/config/compile-asjs-config.xml b/frameworks/projects/GoogleMaps/src/main/config/compile-asjs-config.xml
new file mode 100644
index 0000000..22fc5d9
--- /dev/null
+++ b/frameworks/projects/GoogleMaps/src/main/config/compile-asjs-config.xml
@@ -0,0 +1,75 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/google</uri>
+ <manifest>google-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-classes>
+ <class>GoogleStubClasses</class>
+ <class>GoogleMapsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/google</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/GoogleMaps/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/config/compile-config.xml b/frameworks/projects/GoogleMaps/src/main/config/compile-config.xml
new file mode 100644
index 0000000..9e2abd6
--- /dev/null
+++ b/frameworks/projects/GoogleMaps/src/main/config/compile-config.xml
@@ -0,0 +1,83 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/google</uri>
+ <manifest>google-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>GoogleStubClasses</class>
+ <class>GoogleMapsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/google</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/GoogleMaps/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/resources/compile-asjs-config.xml b/frameworks/projects/GoogleMaps/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index 22fc5d9..0000000
--- a/frameworks/projects/GoogleMaps/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,75 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/google</uri>
- <manifest>google-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-classes>
- <class>GoogleStubClasses</class>
- <class>GoogleMapsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/google</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/GoogleMaps/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/resources/compile-config.xml b/frameworks/projects/GoogleMaps/src/main/resources/compile-config.xml
deleted file mode 100644
index 9e2abd6..0000000
--- a/frameworks/projects/GoogleMaps/src/main/resources/compile-config.xml
+++ /dev/null
@@ -1,83 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/google</uri>
- <manifest>google-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>GoogleStubClasses</class>
- <class>GoogleMapsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/google</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Graphics/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/pom.xml b/frameworks/projects/Graphics/pom.xml
index 31fa222..0f49232 100644
--- a/frameworks/projects/Graphics/pom.xml
+++ b/frameworks/projects/Graphics/pom.xml
@@ -29,30 +29,16 @@
<artifactId>Graphics</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,21 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
[40/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - headers
Posted by ah...@apache.org.
headers
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/6f2445be
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6f2445be
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6f2445be
Branch: refs/heads/spark
Commit: 6f2445befa549219815db5fd66bc225a873f4984
Parents: 1ef10bb
Author: Alex Harui <ah...@apache.org>
Authored: Fri Apr 29 23:37:46 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Apr 29 23:37:46 2016 -0700
----------------------------------------------------------------------
.../AngularExample/AngularExample-debug.html | 18 ++++++++++++++++++
.../AngularExample/AngularExample-release.html | 18 ++++++++++++++++++
.../native/AngularExample/src/AngularExample.as | 18 ++++++++++++++++++
.../native/AngularExample/src/MyController.as | 18 ++++++++++++++++++
.../src/components/IWebComponent.as | 18 ++++++++++++++++++
.../AngularExample/src/components/WebComponent.as | 18 ++++++++++++++++++
.../src/components/mdbutton/MDButton.as | 18 ++++++++++++++++++
.../src/components/mdbutton/MDButtonFactory.as | 18 ++++++++++++++++++
8 files changed, 144 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f2445be/examples/native/AngularExample/AngularExample-debug.html
----------------------------------------------------------------------
diff --git a/examples/native/AngularExample/AngularExample-debug.html b/examples/native/AngularExample/AngularExample-debug.html
index 51aa820..361a557 100644
--- a/examples/native/AngularExample/AngularExample-debug.html
+++ b/examples/native/AngularExample/AngularExample-debug.html
@@ -1,4 +1,22 @@
<!doctype html>
+<!--
+
+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.
+
+-->
<html>
<head>
<meta charset="utf-8"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f2445be/examples/native/AngularExample/AngularExample-release.html
----------------------------------------------------------------------
diff --git a/examples/native/AngularExample/AngularExample-release.html b/examples/native/AngularExample/AngularExample-release.html
index 8d329be..f90c937 100644
--- a/examples/native/AngularExample/AngularExample-release.html
+++ b/examples/native/AngularExample/AngularExample-release.html
@@ -1,4 +1,22 @@
<!doctype html>
+<!--
+
+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.
+
+-->
<html>
<head>
<meta charset="utf-8"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f2445be/examples/native/AngularExample/src/AngularExample.as
----------------------------------------------------------------------
diff --git a/examples/native/AngularExample/src/AngularExample.as b/examples/native/AngularExample/src/AngularExample.as
index 58517b5..6bc74c9 100644
--- a/examples/native/AngularExample/src/AngularExample.as
+++ b/examples/native/AngularExample/src/AngularExample.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 angular.IModule;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f2445be/examples/native/AngularExample/src/MyController.as
----------------------------------------------------------------------
diff --git a/examples/native/AngularExample/src/MyController.as b/examples/native/AngularExample/src/MyController.as
index a38c0cd..295df23 100644
--- a/examples/native/AngularExample/src/MyController.as
+++ b/examples/native/AngularExample/src/MyController.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 angular.material.MDAlertDialog;
import angular.material.MDDialogService;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f2445be/examples/native/AngularExample/src/components/IWebComponent.as
----------------------------------------------------------------------
diff --git a/examples/native/AngularExample/src/components/IWebComponent.as b/examples/native/AngularExample/src/components/IWebComponent.as
index 47f3cf2..ca0e8ca 100644
--- a/examples/native/AngularExample/src/components/IWebComponent.as
+++ b/examples/native/AngularExample/src/components/IWebComponent.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 components {
/**
* @author omuppirala
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f2445be/examples/native/AngularExample/src/components/WebComponent.as
----------------------------------------------------------------------
diff --git a/examples/native/AngularExample/src/components/WebComponent.as b/examples/native/AngularExample/src/components/WebComponent.as
index bb90d73..3637fd2 100644
--- a/examples/native/AngularExample/src/components/WebComponent.as
+++ b/examples/native/AngularExample/src/components/WebComponent.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 components {
import components.IWebComponent;
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f2445be/examples/native/AngularExample/src/components/mdbutton/MDButton.as
----------------------------------------------------------------------
diff --git a/examples/native/AngularExample/src/components/mdbutton/MDButton.as b/examples/native/AngularExample/src/components/mdbutton/MDButton.as
index bb1a9f6..05f9377 100644
--- a/examples/native/AngularExample/src/components/mdbutton/MDButton.as
+++ b/examples/native/AngularExample/src/components/mdbutton/MDButton.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 components.mdbutton {
import components.WebComponent;
/**
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f2445be/examples/native/AngularExample/src/components/mdbutton/MDButtonFactory.as
----------------------------------------------------------------------
diff --git a/examples/native/AngularExample/src/components/mdbutton/MDButtonFactory.as b/examples/native/AngularExample/src/components/mdbutton/MDButtonFactory.as
index e145a48..39b47cb 100644
--- a/examples/native/AngularExample/src/components/mdbutton/MDButtonFactory.as
+++ b/examples/native/AngularExample/src/components/mdbutton/MDButtonFactory.as
@@ -1,3 +1,21 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 components.mdbutton {
public class MDButtonFactory {
private static var _instance : MDButtonFactory;
[06/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - typo
Posted by ah...@apache.org.
typo
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/923fc788
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/923fc788
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/923fc788
Branch: refs/heads/spark
Commit: 923fc7885507eedea3be05abf07d7743a3ad859c
Parents: 9ce42e2
Author: Harbs <ha...@in-tools.com>
Authored: Wed Apr 13 00:27:07 2016 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Wed Apr 13 00:27:07 2016 +0300
----------------------------------------------------------------------
frameworks/projects/XML/src/main/flex/XMLList.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/923fc788/frameworks/projects/XML/src/main/flex/XMLList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/flex/XMLList.as b/frameworks/projects/XML/src/main/flex/XMLList.as
index 8284bda..6b3e3d2 100644
--- a/frameworks/projects/XML/src/main/flex/XMLList.as
+++ b/frameworks/projects/XML/src/main/flex/XMLList.as
@@ -665,7 +665,7 @@ package
public function setChild(elementName:*, elements:Object):void
{
var len:int = _xmlArray.length;
- if(len == 0)
+ if(len == 1)
_xmlArray[0].setChild(elementName,elements);
}
[37/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - got the
build to work by fixing up build scripts and -config.xml files
Posted by ah...@apache.org.
got the build to work by fixing up build scripts and -config.xml files
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/c1c49ec0
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/c1c49ec0
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/c1c49ec0
Branch: refs/heads/spark
Commit: c1c49ec0671593c11910af9adc1700b6fe9d16d0
Parents: 22f2dd9
Author: Alex Harui <ah...@apache.org>
Authored: Fri Apr 29 17:02:38 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Apr 29 17:02:38 2016 -0700
----------------------------------------------------------------------
frameworks/projects/Binding/build.xml | 11 ++-
.../src/main/config/compile-as-config.xml | 2 +-
.../src/main/config/compile-js-config.xml | 8 +-
frameworks/projects/Charts/build.xml | 11 ++-
.../src/main/config/compile-as-config.xml | 84 ++++++++++++++++++++
.../src/main/config/compile-as-to-js-config.xml | 76 ------------------
.../src/main/config/compile-asjs-config.xml | 71 -----------------
.../Charts/src/main/config/compile-config.xml | 84 --------------------
.../src/main/config/compile-js-config.xml | 28 +++----
frameworks/projects/Collections/build.xml | 13 ++-
.../src/main/config/compile-as-config.xml | 2 +-
.../src/main/config/compile-js-config.xml | 2 +-
frameworks/projects/Core/build.xml | 12 ++-
.../Core/src/main/config/compile-js-config.xml | 3 +-
frameworks/projects/CreateJS/build.xml | 13 ++-
.../src/main/config/compile-as-config.xml | 8 +-
.../src/main/config/compile-js-config.xml | 6 +-
frameworks/projects/DragDrop/build.xml | 13 ++-
.../src/main/config/compile-as-config.xml | 2 +-
.../src/main/config/compile-js-config.xml | 2 +-
frameworks/projects/Effects/build.xml | 11 ++-
.../src/main/config/compile-as-config.xml | 2 +-
.../src/main/config/compile-js-config.xml | 2 +-
frameworks/projects/Flat/build.xml | 13 ++-
.../Flat/src/main/config/compile-as-config.xml | 10 +--
.../Flat/src/main/config/compile-js-config.xml | 4 +-
frameworks/projects/Formatters/build.xml | 13 ++-
.../src/main/config/compile-as-config.xml | 4 +-
.../src/main/config/compile-js-config.xml | 4 +-
frameworks/projects/GoogleMaps/build.xml | 13 ++-
.../src/main/config/compile-as-config.xml | 4 +-
.../src/main/config/compile-js-config.xml | 2 +-
frameworks/projects/Graphics/build.xml | 11 ++-
.../src/main/config/compile-as-config.xml | 2 +-
.../src/main/config/compile-js-config.xml | 2 +-
frameworks/projects/HTML/build.xml | 11 ++-
.../HTML/src/main/config/compile-as-config.xml | 10 +--
.../HTML/src/main/config/compile-js-config.xml | 8 +-
frameworks/projects/HTML5/build.xml | 11 ++-
.../HTML5/src/main/config/compile-as-config.xml | 6 +-
.../HTML5/src/main/config/compile-js-config.xml | 4 +-
frameworks/projects/JQuery/build.xml | 13 ++-
.../src/main/config/compile-as-config.xml | 6 +-
.../src/main/config/compile-js-config.xml | 10 +--
frameworks/projects/Mobile/build.xml | 11 ++-
.../src/main/config/compile-as-config.xml | 8 +-
.../src/main/config/compile-js-config.xml | 6 +-
frameworks/projects/Network/build.xml | 11 ++-
.../src/main/config/compile-as-config.xml | 2 +-
.../src/main/config/compile-js-config.xml | 2 +-
frameworks/projects/Reflection/build.xml | 11 ++-
.../src/main/config/compile-as-config.xml | 2 +-
.../src/main/config/compile-js-config.xml | 2 +-
frameworks/projects/Storage/build.xml | 11 ++-
.../src/main/config/compile-as-config.xml | 4 +-
.../src/main/config/compile-js-config.xml | 2 +-
frameworks/projects/XML/build.xml | 11 ++-
.../XML/src/main/config/compile-as-config.xml | 2 +-
.../XML/src/main/config/compile-js-config.xml | 2 +-
59 files changed, 329 insertions(+), 385 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Binding/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/build.xml b/frameworks/projects/Binding/build.xml
index ad9a0ff..4745777 100644
--- a/frameworks/projects/Binding/build.xml
+++ b/frameworks/projects/Binding/build.xml
@@ -78,6 +78,8 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs" />
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
<!-- Load the <compc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
@@ -97,7 +99,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -109,6 +111,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -118,7 +123,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -156,7 +161,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Binding/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/src/main/config/compile-as-config.xml b/frameworks/projects/Binding/src/main/config/compile-as-config.xml
index 7f593e9..72cf089 100644
--- a/frameworks/projects/Binding/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/Binding/src/main/config/compile-as-config.xml
@@ -23,7 +23,7 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
</external-library-path>
<mxml>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Binding/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/src/main/config/compile-js-config.xml b/frameworks/projects/Binding/src/main/config/compile-js-config.xml
index 2c5abf4..b118aa4 100644
--- a/frameworks/projects/Binding/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/Binding/src/main/config/compile-js-config.xml
@@ -45,18 +45,18 @@
<!-- asjscompc won't 'link' these classes in, but will list their requires
if these swcs are on the external-library-path then their requires
will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
</library-path>
<namespaces>
<namespace>
<uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
</namespace>
</namespaces>
<source-path>
- <path-element>../flex</path-element>
+ <path-element>../src/main/flex</path-element>
</source-path>
<warn-no-constructor>false</warn-no-constructor>
@@ -66,7 +66,7 @@
</include-file>
<include-sources>
- <path-element>../flex</path-element>
+ <path-element>../src/main/flex</path-element>
</include-sources>
<include-namespaces>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Charts/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/build.xml b/frameworks/projects/Charts/build.xml
index e4c8e2f..347bd5d 100644
--- a/frameworks/projects/Charts/build.xml
+++ b/frameworks/projects/Charts/build.xml
@@ -72,6 +72,8 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
<!-- Load the <compc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
@@ -91,7 +93,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -103,6 +105,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -112,7 +117,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -150,7 +155,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Charts/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/src/main/config/compile-as-config.xml b/frameworks/projects/Charts/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..472c6df
--- /dev/null
+++ b/frameworks/projects/Charts/src/main/config/compile-as-config.xml
@@ -0,0 +1,84 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/Graphics.swc</path-element>
+ <path-element>../../../libs/HTML.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>../src/main/resources/defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>ChartsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Charts/src/main/config/compile-as-to-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/src/main/config/compile-as-to-js-config.xml b/frameworks/projects/Charts/src/main/config/compile-as-to-js-config.xml
deleted file mode 100644
index ee3cac0..0000000
--- a/frameworks/projects/Charts/src/main/config/compile-as-to-js-config.xml
+++ /dev/null
@@ -1,76 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>D:/SDKs/FlexJS/nightly_PF18_AIR18.0_en_US/js/libs/js.swc</path-element>
- <path-element>D:/SDKs/FlexJS/nightly_PF18_AIR18.0_en_US/js/libs/gcl.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <locale/>
-
- <source-path>
- <!--<path-element>as/src</path-element>-->
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-sources>
- <path-element>as/src</path-element>
- </include-sources>
-
- <include-classes>
- <class>ChartsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>11.1</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Charts/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/src/main/config/compile-asjs-config.xml b/frameworks/projects/Charts/src/main/config/compile-asjs-config.xml
deleted file mode 100644
index 4934459..0000000
--- a/frameworks/projects/Charts/src/main/config/compile-asjs-config.xml
+++ /dev/null
@@ -1,71 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/Graphics.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
- </library-path>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-sources>
- <path-element>../flex</path-element>
- </include-sources>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Charts/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/src/main/config/compile-config.xml b/frameworks/projects/Charts/src/main/config/compile-config.xml
deleted file mode 100644
index bbdbe54..0000000
--- a/frameworks/projects/Charts/src/main/config/compile-config.xml
+++ /dev/null
@@ -1,84 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/Graphics.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>ChartsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Charts/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/src/main/config/compile-js-config.xml b/frameworks/projects/Charts/src/main/config/compile-js-config.xml
index 3c3784b..96bbbea 100644
--- a/frameworks/projects/Charts/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/Charts/src/main/config/compile-js-config.xml
@@ -22,7 +22,6 @@
<accessible>false</accessible>
<external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
</external-library-path>
<mxml>
@@ -42,43 +41,38 @@
<locale/>
- <library-path/>
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/Graphics.swc</path-element>
+ <path-element>../../../externs/HTML.swc</path-element>
+ </library-path>
<namespaces>
<namespace>
<uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
</namespace>
</namespaces>
<source-path>
- <path-element>as/src</path-element>
- <path-element>asjs/src</path-element>
+ <path-element>../src/main/flex</path-element>
</source-path>
<warn-no-constructor>false</warn-no-constructor>
</compiler>
<include-file>
- <name>js/out/*</name>
- <path>js/out/*</path>
</include-file>
- <!--
- <include-file>
- <name>js/src/*</name>
- <path>js/src/*</path>
- </include-file>
- -->
<include-classes>
- <class>CoreJSClasses</class>
- <!-- leave out for now until we get Application to compile
- <class>CoreASJSClasses</class>-->
+ <class>ChartsClasses</class>
</include-classes>
<include-namespaces>
<uri>library://ns.apache.org/flexjs/basic</uri>
- <uri>library://ns.apache.org/flexjs/svg</uri>
</include-namespaces>
<target-player>${playerglobal.version}</target-player>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Collections/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/build.xml b/frameworks/projects/Collections/build.xml
index 7446999..2f199d6 100644
--- a/frameworks/projects/Collections/build.xml
+++ b/frameworks/projects/Collections/build.xml
@@ -72,7 +72,9 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
-
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
+
<!-- Load the <compc> 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" classpathref="lib.path"/>
@@ -91,7 +93,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -103,6 +105,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -112,7 +117,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -150,7 +155,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Collections/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/config/compile-as-config.xml b/frameworks/projects/Collections/src/main/config/compile-as-config.xml
index 161a916..a6315c4 100644
--- a/frameworks/projects/Collections/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/Collections/src/main/config/compile-as-config.xml
@@ -23,7 +23,7 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
</external-library-path>
<mxml>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Collections/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/config/compile-js-config.xml b/frameworks/projects/Collections/src/main/config/compile-js-config.xml
index 15f3375..8ff9f5e 100644
--- a/frameworks/projects/Collections/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/Collections/src/main/config/compile-js-config.xml
@@ -45,7 +45,7 @@
<!-- asjscompc won't 'link' these classes in, but will list their requires
if these swcs are on the external-library-path then their requires
will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
</library-path>
<source-path>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Core/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/build.xml b/frameworks/projects/Core/build.xml
index f9ad384..0e809f1 100644
--- a/frameworks/projects/Core/build.xml
+++ b/frameworks/projects/Core/build.xml
@@ -76,6 +76,8 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
<!-- Load the <compc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
@@ -95,7 +97,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -107,6 +109,10 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <!-- make JS output folder now so include-file doesn't error -->
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -116,7 +122,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -158,7 +164,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Core/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/config/compile-js-config.xml b/frameworks/projects/Core/src/main/config/compile-js-config.xml
index 580228e..aec1201 100644
--- a/frameworks/projects/Core/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/Core/src/main/config/compile-js-config.xml
@@ -21,7 +21,8 @@
<compiler>
<accessible>false</accessible>
- <external-library-path><path-element>/Users/christoferdutz/Maven-Repository/com/adobe/air/framework/airglobal/20.0/airglobal-20.0.swc</path-element></external-library-path>
+ <external-library-path>
+ </external-library-path>
<mxml>
<children-as-data>true</children-as-data>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/CreateJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/build.xml b/frameworks/projects/CreateJS/build.xml
index 230e39f..73715d4 100644
--- a/frameworks/projects/CreateJS/build.xml
+++ b/frameworks/projects/CreateJS/build.xml
@@ -84,7 +84,9 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
-
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
+
<!-- Load the <compc> 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" classpathref="lib.path"/>
@@ -103,7 +105,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -115,6 +117,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -124,7 +129,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -163,7 +168,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/CreateJS/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/config/compile-as-config.xml b/frameworks/projects/CreateJS/src/main/config/compile-as-config.xml
index 0520d0b..8cbde61 100644
--- a/frameworks/projects/CreateJS/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/CreateJS/src/main/config/compile-as-config.xml
@@ -23,9 +23,9 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
- <path-element>../../../../../libs/Graphics.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/HTML.swc</path-element>
+ <path-element>../../../libs/Graphics.swc</path-element>
</external-library-path>
<mxml>
@@ -63,7 +63,7 @@
<include-file>
<name>defaults.css</name>
- <path>defaults.css</path>
+ <path>../src/main/resources/defaults.css</path>
</include-file>
<include-file>
<name>js/out/*</name>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/CreateJS/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/config/compile-js-config.xml b/frameworks/projects/CreateJS/src/main/config/compile-js-config.xml
index f3376ae..4da0629 100644
--- a/frameworks/projects/CreateJS/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/CreateJS/src/main/config/compile-js-config.xml
@@ -56,9 +56,9 @@
</source-path>
<library-path>
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
- <path-element>../../../../../externs/Graphics.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/HTML.swc</path-element>
+ <path-element>../../../externs/Graphics.swc</path-element>
</library-path>
<warn-no-constructor>false</warn-no-constructor>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/DragDrop/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/build.xml b/frameworks/projects/DragDrop/build.xml
index e7f7b44..02050f0 100644
--- a/frameworks/projects/DragDrop/build.xml
+++ b/frameworks/projects/DragDrop/build.xml
@@ -79,7 +79,9 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
-
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
+
<!-- Load the <compc> 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" classpathref="lib.path"/>
@@ -98,7 +100,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -110,6 +112,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -119,7 +124,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -157,7 +162,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/DragDrop/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/src/main/config/compile-as-config.xml b/frameworks/projects/DragDrop/src/main/config/compile-as-config.xml
index cad0134..4354372 100644
--- a/frameworks/projects/DragDrop/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/DragDrop/src/main/config/compile-as-config.xml
@@ -23,7 +23,7 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
</external-library-path>
<mxml>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/DragDrop/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/src/main/config/compile-js-config.xml b/frameworks/projects/DragDrop/src/main/config/compile-js-config.xml
index 79d4527..c311b86 100644
--- a/frameworks/projects/DragDrop/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/DragDrop/src/main/config/compile-js-config.xml
@@ -45,7 +45,7 @@
<!-- asjscompc won't 'link' these classes in, but will list their requires
if these swcs are on the external-library-path then their requires
will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
</library-path>
<namespaces>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Effects/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/build.xml b/frameworks/projects/Effects/build.xml
index 1b4bb13..57290e4 100644
--- a/frameworks/projects/Effects/build.xml
+++ b/frameworks/projects/Effects/build.xml
@@ -80,6 +80,8 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
<!-- Load the <compc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
@@ -99,7 +101,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -111,6 +113,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -120,7 +125,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -158,7 +163,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Effects/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/src/main/config/compile-as-config.xml b/frameworks/projects/Effects/src/main/config/compile-as-config.xml
index 2680ee6..43a5c2b 100644
--- a/frameworks/projects/Effects/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/Effects/src/main/config/compile-as-config.xml
@@ -23,7 +23,7 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
</external-library-path>
<mxml>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Effects/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/src/main/config/compile-js-config.xml b/frameworks/projects/Effects/src/main/config/compile-js-config.xml
index f7a7d88..a0c69d7 100644
--- a/frameworks/projects/Effects/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/Effects/src/main/config/compile-js-config.xml
@@ -45,7 +45,7 @@
<!-- asjscompc won't 'link' these classes in, but will list their requires
if these swcs are on the external-library-path then their requires
will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
</library-path>
<source-path>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Flat/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/build.xml b/frameworks/projects/Flat/build.xml
index 121ba8a..ead1f91 100644
--- a/frameworks/projects/Flat/build.xml
+++ b/frameworks/projects/Flat/build.xml
@@ -79,7 +79,9 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
-
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
+
<!-- Load the <compc> 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" classpathref="lib.path"/>
@@ -98,7 +100,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -110,6 +112,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -119,7 +124,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -157,7 +162,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Flat/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/src/main/config/compile-as-config.xml b/frameworks/projects/Flat/src/main/config/compile-as-config.xml
index be7e60c..ee18a9f 100644
--- a/frameworks/projects/Flat/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/Flat/src/main/config/compile-as-config.xml
@@ -23,10 +23,10 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Binding.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/Graphics.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
+ <path-element>../../../libs/Binding.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/Graphics.swc</path-element>
+ <path-element>../../../libs/HTML.swc</path-element>
</external-library-path>
<mxml>
@@ -70,7 +70,7 @@
<include-file>
<name>defaults.css</name>
- <path>defaults.css</path>
+ <path>../src/main/resources/defaults.css</path>
</include-file>
<include-file>
<name>js/out/*</name>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Flat/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/src/main/config/compile-js-config.xml b/frameworks/projects/Flat/src/main/config/compile-js-config.xml
index 9de2e8e..daeec75 100644
--- a/frameworks/projects/Flat/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/Flat/src/main/config/compile-js-config.xml
@@ -45,8 +45,8 @@
<!-- asjscompc won't 'link' these classes in, but will list their requires
if these swcs are on the external-library-path then their requires
will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/HTML.swc</path-element>
</library-path>
<namespaces>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Formatters/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/build.xml b/frameworks/projects/Formatters/build.xml
index 2de4469..8c00494 100644
--- a/frameworks/projects/Formatters/build.xml
+++ b/frameworks/projects/Formatters/build.xml
@@ -71,7 +71,9 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
-
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
+
<!-- Load the <compc> 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" classpathref="lib.path"/>
@@ -90,7 +92,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -102,6 +104,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -111,7 +116,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -149,7 +154,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Formatters/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/src/main/config/compile-as-config.xml b/frameworks/projects/Formatters/src/main/config/compile-as-config.xml
index 26da743..7f4eac8 100644
--- a/frameworks/projects/Formatters/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/Formatters/src/main/config/compile-as-config.xml
@@ -23,8 +23,8 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/HTML.swc</path-element>
</external-library-path>
<mxml>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Formatters/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/src/main/config/compile-js-config.xml b/frameworks/projects/Formatters/src/main/config/compile-js-config.xml
index d18303a..fae26a3 100644
--- a/frameworks/projects/Formatters/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/Formatters/src/main/config/compile-js-config.xml
@@ -45,8 +45,8 @@
<!-- asjscompc won't 'link' these classes in, but will list their requires
if these swcs are on the external-library-path then their requires
will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/HTML.swc</path-element>
</library-path>
<namespaces>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/GoogleMaps/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/build.xml b/frameworks/projects/GoogleMaps/build.xml
index e2656dd..751ba34 100644
--- a/frameworks/projects/GoogleMaps/build.xml
+++ b/frameworks/projects/GoogleMaps/build.xml
@@ -75,7 +75,9 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
-
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
+
<!-- Load the <compc> 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" classpathref="lib.path"/>
@@ -94,7 +96,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -106,6 +108,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -115,7 +120,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -154,7 +159,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/GoogleMaps/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/config/compile-as-config.xml b/frameworks/projects/GoogleMaps/src/main/config/compile-as-config.xml
index ce7e95a..0ff4ec5 100644
--- a/frameworks/projects/GoogleMaps/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/GoogleMaps/src/main/config/compile-as-config.xml
@@ -23,7 +23,7 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
</external-library-path>
<mxml>
@@ -61,7 +61,7 @@
<include-file>
<name>defaults.css</name>
- <path>defaults.css</path>
+ <path>../src/main/resources/defaults.css</path>
</include-file>
<include-file>
<name>js/out/*</name>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/GoogleMaps/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/config/compile-js-config.xml b/frameworks/projects/GoogleMaps/src/main/config/compile-js-config.xml
index 440e4ae..c8e7f0f 100644
--- a/frameworks/projects/GoogleMaps/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/GoogleMaps/src/main/config/compile-js-config.xml
@@ -43,7 +43,7 @@
<!-- asjscompc won't 'link' these classes in, but will list their requires
if these swcs are on the external-library-path then their requires
will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
</library-path>
<namespaces>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Graphics/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/build.xml b/frameworks/projects/Graphics/build.xml
index e040adf..4c45c8e 100644
--- a/frameworks/projects/Graphics/build.xml
+++ b/frameworks/projects/Graphics/build.xml
@@ -79,6 +79,8 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
<!-- Load the <compc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
@@ -98,7 +100,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -110,6 +112,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -119,7 +124,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -157,7 +162,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Graphics/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/config/compile-as-config.xml b/frameworks/projects/Graphics/src/main/config/compile-as-config.xml
index 12db487..939474b 100644
--- a/frameworks/projects/Graphics/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/Graphics/src/main/config/compile-as-config.xml
@@ -23,7 +23,7 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
</external-library-path>
<mxml>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Graphics/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/config/compile-js-config.xml b/frameworks/projects/Graphics/src/main/config/compile-js-config.xml
index 7a280a6..a3e3d6b 100644
--- a/frameworks/projects/Graphics/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/Graphics/src/main/config/compile-js-config.xml
@@ -45,7 +45,7 @@
<!-- asjscompc won't 'link' these classes in, but will list their requires
if these swcs are on the external-library-path then their requires
will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
</library-path>
<namespaces>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/HTML/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/build.xml b/frameworks/projects/HTML/build.xml
index 3a1743a..0385e8d 100644
--- a/frameworks/projects/HTML/build.xml
+++ b/frameworks/projects/HTML/build.xml
@@ -75,6 +75,8 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
<!-- Load the <compc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
@@ -94,7 +96,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -106,6 +108,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -115,7 +120,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -153,7 +158,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/HTML/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/config/compile-as-config.xml b/frameworks/projects/HTML/src/main/config/compile-as-config.xml
index dd172cd..4773caa 100644
--- a/frameworks/projects/HTML/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/HTML/src/main/config/compile-as-config.xml
@@ -23,10 +23,10 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Binding.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/Graphics.swc</path-element>
- <path-element>../../../../../libs/Collections.swc</path-element>
+ <path-element>../../../libs/Binding.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/Graphics.swc</path-element>
+ <path-element>../../../libs/Collections.swc</path-element>
</external-library-path>
<mxml>
@@ -73,7 +73,7 @@
<include-file>
<name>defaults.css</name>
- <path>defaults.css</path>
+ <path>../src/main/resources/defaults.css</path>
</include-file>
<include-file>
<name>js/out/*</name>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/HTML/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/config/compile-js-config.xml b/frameworks/projects/HTML/src/main/config/compile-js-config.xml
index 56b3739..9a7dc0a 100644
--- a/frameworks/projects/HTML/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/HTML/src/main/config/compile-js-config.xml
@@ -45,10 +45,10 @@
<!-- asjscompc won't 'link' these classes in, but will list their requires
if these swcs are on the external-library-path then their requires
will not be listed -->
- <path-element>../../../../../externs/Binding.swc</path-element>
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/Graphics.swc</path-element>
- <path-element>../../../../../externs/Collections.swc</path-element>
+ <path-element>../../../externs/Binding.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/Graphics.swc</path-element>
+ <path-element>../../../externs/Collections.swc</path-element>
</library-path>
<namespaces>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/HTML5/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/build.xml b/frameworks/projects/HTML5/build.xml
index fb10d86..567bb4e 100644
--- a/frameworks/projects/HTML5/build.xml
+++ b/frameworks/projects/HTML5/build.xml
@@ -71,6 +71,8 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
<!-- Load the <compc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
@@ -90,7 +92,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -102,6 +104,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -111,7 +116,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -149,7 +154,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/HTML5/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/src/main/config/compile-as-config.xml b/frameworks/projects/HTML5/src/main/config/compile-as-config.xml
index 8cd01a7..5ccc4ed 100644
--- a/frameworks/projects/HTML5/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/HTML5/src/main/config/compile-as-config.xml
@@ -23,8 +23,8 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/HTML.swc</path-element>
</external-library-path>
<mxml>
@@ -62,7 +62,7 @@
<include-file>
<name>defaults.css</name>
- <path>defaults.css</path>
+ <path>../src/main/resources/defaults.css</path>
</include-file>
<include-file>
<name>js/out/*</name>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/HTML5/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/src/main/config/compile-js-config.xml b/frameworks/projects/HTML5/src/main/config/compile-js-config.xml
index 9fcaea5..a693771 100644
--- a/frameworks/projects/HTML5/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/HTML5/src/main/config/compile-js-config.xml
@@ -45,8 +45,8 @@
<!-- asjscompc won't 'link' these classes in, but will list their requires
if these swcs are on the external-library-path then their requires
will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/HTML.swc</path-element>
</library-path>
<source-path>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/JQuery/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/build.xml b/frameworks/projects/JQuery/build.xml
index 30da306..e0f2ca5 100644
--- a/frameworks/projects/JQuery/build.xml
+++ b/frameworks/projects/JQuery/build.xml
@@ -75,7 +75,9 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
-
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
+
<!-- Load the <compc> 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" classpathref="lib.path"/>
@@ -94,7 +96,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -106,6 +108,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -115,7 +120,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -154,7 +159,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
[30/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Merge
branches 'develop' and 'feature/maven-migration' of
https://git-wip-us.apache.org/repos/asf/flex-asjs into
feature/maven-migration
Posted by ah...@apache.org.
Merge branches 'develop' and 'feature/maven-migration' of https://git-wip-us.apache.org/repos/asf/flex-asjs into feature/maven-migration
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/9b0619a1
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9b0619a1
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9b0619a1
Branch: refs/heads/spark
Commit: 9b0619a168201de89c46f1b6a2f8fe0f67a53981
Parents: 087dd82 8cb2031
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Wed Apr 27 08:57:47 2016 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Wed Apr 27 08:57:47 2016 +0200
----------------------------------------------------------------------
.../CreateJSExample/src/CreateJSExample.mxml | 16 +-
.../CreateJS/src/main/flex/CreateJSClasses.as | 1 +
.../org/apache/flex/createjs/Application.as | 3 +
.../apache/flex/createjs/core/CreateJSBase.as | 5 +
.../flex/org/apache/flex/createjs/tween/Move.as | 149 +++++++++++++++++++
.../src/main/resources/createjs-manifest.xml | 1 +
6 files changed, 174 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
[09/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - strip
down GCL to only the files we need
Posted by ah...@apache.org.
strip down GCL to only the files we need
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/3f065a27
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/3f065a27
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/3f065a27
Branch: refs/heads/spark
Commit: 3f065a274a399801c36c49b82fc4f8b73c89f4bf
Parents: 667dd46
Author: Alex Harui <ah...@apache.org>
Authored: Tue Apr 12 23:25:09 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Apr 12 23:47:06 2016 -0700
----------------------------------------------------------------------
frameworks/build.xml | 1 +
frameworks/downloads.xml | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 39 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3f065a27/frameworks/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/build.xml b/frameworks/build.xml
index c6c8a5e..ea42384 100644
--- a/frameworks/build.xml
+++ b/frameworks/build.xml
@@ -159,6 +159,7 @@
<exclude name="swfobject/index.template.html" />
<exclude name="swfobject/expressInstall.swf" />
<exclude name="swfobject/swfobject.js" />
+ <exclude name="swfobject/history/**" />
</delete>
</target>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3f065a27/frameworks/downloads.xml
----------------------------------------------------------------------
diff --git a/frameworks/downloads.xml b/frameworks/downloads.xml
index 7fc12b1..0b3909a 100644
--- a/frameworks/downloads.xml
+++ b/frameworks/downloads.xml
@@ -75,6 +75,7 @@
<fileset dir="${FLEXJS_HOME}/templates/swfobject">
<include name="**/**"/>
<exclude name="index.template.html"/>
+ <exclude name="history/**"/>
</fileset>
</delete>
</target>
@@ -160,8 +161,45 @@
<unzip src="${download.dir}/google-closure-library-master.zip" dest="${FLEXJS_HOME}/js/lib/google/closure-library">
<cutdirsmapper dirs="1" />
</unzip>
+ <property name="GOOG_DIR" value="${FLEXJS_HOME}/js/lib/google/closure-library" />
+ <antcall target="subset-goog" />
</target>
+ <target name="subset-goog" >
+ <property name="GOOG_DIR" value="${GOOG_HOME}" />
+ <delete failonerror="false">
+ <!-- we only need base.js, eventtarget.js and their dependencies -->
+ <fileset dir="${GOOG_DIR}">
+ <include name="**"/>
+ <exclude name="closure/goog/array/array.js"/>
+ <exclude name="closure/goog/asserts/asserts.js"/>
+ <exclude name="closure/goog/base.js"/>
+ <exclude name="closure/goog/debug/entrypointregistry.js"/>
+ <exclude name="closure/goog/debug/error.js"/>
+ <exclude name="closure/goog/disposable/disposable.js"/>
+ <exclude name="closure/goog/disposable/idisposable.js"/>
+ <exclude name="closure/goog/dom/nodetype.js"/>
+ <exclude name="closure/goog/events/browserevent.js"/>
+ <exclude name="closure/goog/events/browserfeature.js"/>
+ <exclude name="closure/goog/events/event.js"/>
+ <exclude name="closure/goog/events/eventid.js"/>
+ <exclude name="closure/goog/events/events.js"/>
+ <exclude name="closure/goog/events/eventtarget.js"/>
+ <exclude name="closure/goog/events/eventtype.js"/>
+ <exclude name="closure/goog/events/listenable.js"/>
+ <exclude name="closure/goog/events/listener.js"/>
+ <exclude name="closure/goog/events/listenermap.js"/>
+ <exclude name="closure/goog/labs/useragent/browser.js"/>
+ <exclude name="closure/goog/labs/useragent/engine.js"/>
+ <exclude name="closure/goog/labs/useragent/platform.js"/>
+ <exclude name="closure/goog/labs/useragent/util.js"/>
+ <exclude name="closure/goog/object/object.js"/>
+ <exclude name="closure/goog/reflect/reflect.js"/>
+ <exclude name="closure/goog/string/string.js"/>
+ <exclude name="closure/goog/useragent/useragent.js"/>
+ </fileset>
+ </delete>
+ </target>
<target name="gcl-clean" description="Deletes Google Closure Library">
<echo message="Deleting Google Closure Library"/>
<delete dir="${FLEXJS_HOME}/js/lib" failonerror="false" />
[36/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - got the
build to work by fixing up build scripts and -config.xml files
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/JQuery/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/src/main/config/compile-as-config.xml b/frameworks/projects/JQuery/src/main/config/compile-as-config.xml
index 02dd1b8..cd726e6 100644
--- a/frameworks/projects/JQuery/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/JQuery/src/main/config/compile-as-config.xml
@@ -23,8 +23,8 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/HTML.swc</path-element>
</external-library-path>
<mxml>
@@ -62,7 +62,7 @@
<include-file>
<name>defaults.css</name>
- <path>defaults.css</path>
+ <path>../src/main/resources/defaults.css</path>
</include-file>
<include-file>
<name>js/out/*</name>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/JQuery/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/src/main/config/compile-js-config.xml b/frameworks/projects/JQuery/src/main/config/compile-js-config.xml
index b2a1367..7a801a9 100644
--- a/frameworks/projects/JQuery/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/JQuery/src/main/config/compile-js-config.xml
@@ -45,12 +45,12 @@
<!-- asjscompc won't 'link' these classes in, but will list their requires
if these swcs are on the external-library-path then their requires
will not be listed -->
- <path-element>../../../../../externs/Binding.swc</path-element>
- <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/Binding.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
<!-- TODO: Why do we need these libs for JS, but not for AS? -->
- <path-element>../../../../../externs/Graphics.swc</path-element>
- <path-element>../../../../../externs/Collections.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
+ <path-element>../../../externs/Graphics.swc</path-element>
+ <path-element>../../../externs/Collections.swc</path-element>
+ <path-element>../../../externs/HTML.swc</path-element>
</library-path>
<namespaces>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Mobile/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/build.xml b/frameworks/projects/Mobile/build.xml
index 4ad36d3..15f1091 100644
--- a/frameworks/projects/Mobile/build.xml
+++ b/frameworks/projects/Mobile/build.xml
@@ -71,6 +71,8 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
<!-- Load the <compc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
@@ -90,7 +92,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -102,6 +104,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -111,7 +116,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -149,7 +154,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Mobile/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/config/compile-as-config.xml b/frameworks/projects/Mobile/src/main/config/compile-as-config.xml
index 0f5ebc4..b52004b 100644
--- a/frameworks/projects/Mobile/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/Mobile/src/main/config/compile-as-config.xml
@@ -23,9 +23,9 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/Graphics.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/Graphics.swc</path-element>
+ <path-element>../../../libs/HTML.swc</path-element>
</external-library-path>
<mxml>
@@ -67,7 +67,7 @@
<include-file>
<name>defaults.css</name>
- <path>defaults.css</path>
+ <path>../src/main/resources/defaults.css</path>
</include-file>
<include-file>
<name>js/out/*</name>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Mobile/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/config/compile-js-config.xml b/frameworks/projects/Mobile/src/main/config/compile-js-config.xml
index aa3da52..46759f5 100644
--- a/frameworks/projects/Mobile/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/Mobile/src/main/config/compile-js-config.xml
@@ -45,9 +45,9 @@
<!-- asjscompc won't 'link' these classes in, but will list their requires
if these swcs are on the external-library-path then their requires
will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/Graphics.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/Graphics.swc</path-element>
+ <path-element>../../../externs/HTML.swc</path-element>
</library-path>
<namespaces>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Network/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/build.xml b/frameworks/projects/Network/build.xml
index 1236b41..510eeb8 100644
--- a/frameworks/projects/Network/build.xml
+++ b/frameworks/projects/Network/build.xml
@@ -77,6 +77,8 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
<!-- Load the <compc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
@@ -96,7 +98,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -108,6 +110,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -117,7 +122,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -155,7 +160,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Network/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/src/main/config/compile-as-config.xml b/frameworks/projects/Network/src/main/config/compile-as-config.xml
index cd3c1cc..10fee44 100644
--- a/frameworks/projects/Network/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/Network/src/main/config/compile-as-config.xml
@@ -23,7 +23,7 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
</external-library-path>
<mxml>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Network/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/src/main/config/compile-js-config.xml b/frameworks/projects/Network/src/main/config/compile-js-config.xml
index 2d2d2ff..ebb9675 100644
--- a/frameworks/projects/Network/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/Network/src/main/config/compile-js-config.xml
@@ -45,7 +45,7 @@
<!-- asjscompc won't 'link' these classes in, but will list their requires
if these swcs are on the external-library-path then their requires
will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
</library-path>
<namespaces>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Reflection/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/build.xml b/frameworks/projects/Reflection/build.xml
index 408853b..68f374a 100644
--- a/frameworks/projects/Reflection/build.xml
+++ b/frameworks/projects/Reflection/build.xml
@@ -77,6 +77,8 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
<!-- Load the <compc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
@@ -96,7 +98,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -108,6 +110,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -117,7 +122,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -155,7 +160,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Reflection/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/src/main/config/compile-as-config.xml b/frameworks/projects/Reflection/src/main/config/compile-as-config.xml
index 220f69e..ca8ded9 100644
--- a/frameworks/projects/Reflection/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/Reflection/src/main/config/compile-as-config.xml
@@ -23,7 +23,7 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
</external-library-path>
<mxml>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Reflection/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/src/main/config/compile-js-config.xml b/frameworks/projects/Reflection/src/main/config/compile-js-config.xml
index d08153b..f8a82e2 100644
--- a/frameworks/projects/Reflection/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/Reflection/src/main/config/compile-js-config.xml
@@ -45,7 +45,7 @@
<!-- asjscompc won't 'link' these classes in, but will list their requires
if these swcs are on the external-library-path then their requires
will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
</library-path>
<namespaces>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Storage/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/build.xml b/frameworks/projects/Storage/build.xml
index dfc42b8..666a493 100644
--- a/frameworks/projects/Storage/build.xml
+++ b/frameworks/projects/Storage/build.xml
@@ -81,6 +81,8 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
<!-- Load the <compc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
@@ -100,7 +102,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -112,6 +114,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -121,7 +126,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -160,7 +165,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Storage/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/config/compile-as-config.xml b/frameworks/projects/Storage/src/main/config/compile-as-config.xml
index d04d981..3bd604b 100644
--- a/frameworks/projects/Storage/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/Storage/src/main/config/compile-as-config.xml
@@ -23,7 +23,7 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
</external-library-path>
<mxml>
@@ -61,7 +61,7 @@
<include-file>
<name>defaults.css</name>
- <path>defaults.css</path>
+ <path>../src/main/resources/defaults.css</path>
</include-file>
<include-file>
<name>js/out/*</name>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/Storage/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/config/compile-js-config.xml b/frameworks/projects/Storage/src/main/config/compile-js-config.xml
index 7d6b613..bfe3a6b 100644
--- a/frameworks/projects/Storage/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/Storage/src/main/config/compile-js-config.xml
@@ -45,7 +45,7 @@
<!-- asjscompc won't 'link' these classes in, but will list their requires
if these swcs are on the external-library-path then their requires
will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
</library-path>
<namespaces>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/XML/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/build.xml b/frameworks/projects/XML/build.xml
index b404972..b69ef08 100644
--- a/frameworks/projects/XML/build.xml
+++ b/frameworks/projects/XML/build.xml
@@ -73,6 +73,8 @@
<echo message="FALCON_HOME: ${FALCON_HOME}"/>
<!-- make JS output folder now so include-file doesn't error -->
<mkdir dir="${basedir}/target/generated-sources/flexjs" />
+ <copy file="${basedir}/src/main/config/compile-as-config.xml"
+ tofile="${basedir}/target/compile-as-config.xml" />
<!-- Load the <compc> task. We can't do this at the <project> level -->
<!-- because targets that run before flexTasks.jar gets built would fail. -->
@@ -92,7 +94,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
+ <load-config filename="${basedir}/target/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -104,6 +106,9 @@
<target name="compile-asjs">
<echo message="Cross-compiling ${target.name}"/>
<echo message="FALCONJX_HOME: ${FALCONJX_HOME}"/>
+ <mkdir dir="${basedir}/target/generated-sources/flexjs"/>
+ <copy file="${basedir}/src/main/config/compile-js-config.xml"
+ tofile="${basedir}/target/compile-js-config.xml" />
<java jar="${FALCONJX_HOME}/lib/compc.jar" fork="true" >
<jvmarg value="-Xmx384m" />
<jvmarg value="-Dsun.io.useCanonCaches=false" />
@@ -114,7 +119,7 @@
<arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
+ <arg value="-load-config=${basedir}/target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -152,7 +157,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/config/compile-js-config.xml" />
+ <load-config filename="target/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/XML/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/config/compile-as-config.xml b/frameworks/projects/XML/src/main/config/compile-as-config.xml
index 36dd27f..68c5690 100644
--- a/frameworks/projects/XML/src/main/config/compile-as-config.xml
+++ b/frameworks/projects/XML/src/main/config/compile-as-config.xml
@@ -23,7 +23,7 @@
<external-library-path>
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../libs/Core.swc</path-element>
</external-library-path>
<mxml>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c1c49ec0/frameworks/projects/XML/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/config/compile-js-config.xml b/frameworks/projects/XML/src/main/config/compile-js-config.xml
index 0f11c83..2070726 100644
--- a/frameworks/projects/XML/src/main/config/compile-js-config.xml
+++ b/frameworks/projects/XML/src/main/config/compile-js-config.xml
@@ -45,7 +45,7 @@
<!-- asjscompc won't 'link' these classes in, but will list their requires
if these swcs are on the external-library-path then their requires
will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../externs/Core.swc</path-element>
</library-path>
<namespaces>
[20/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Updated
CreateJS project.
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f399ec5/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/graphics/GraphicShape.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/graphics/GraphicShape.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/graphics/GraphicShape.as
new file mode 100644
index 0000000..8d06985
--- /dev/null
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/graphics/GraphicShape.as
@@ -0,0 +1,76 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 org.apache.flex.createjs.graphics
+{
+ COMPILE::AS3
+ {
+ import org.apache.flex.core.graphics.GraphicShape
+ }
+
+ COMPILE::JS
+ {
+ import createjs.Shape;
+ import createjs.Stage;
+
+ import org.apache.flex.createjs.core.CreateJSBase;
+ import org.apache.flex.core.WrappedHTMLElement;
+ }
+
+ import org.apache.flex.core.graphics.IFill;
+ import org.apache.flex.core.graphics.IStroke;
+
+ /**
+ * This is the base class for CreateJS graphic shape components such as
+ * Circle and Rect.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
+
+ COMPILE::AS3
+ public class GraphicShape extends org.apache.flex.core.graphics.GraphicShape
+ {
+ // nothing special for SWF version.
+ }
+
+ COMPILE::JS
+ public class GraphicShape extends CreateJSBase
+ {
+ /**
+ * Creates a CreateJS Shape as the element.
+ *
+ * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
+ * @flexjsignorecoercion createjs.Shape
+ */
+ override protected function createElement():WrappedHTMLElement
+ {
+ var base:createjs.Shape = new createjs.Shape(null);
+
+ element = base as WrappedHTMLElement;
+ element.flexjs_wrapper = this;
+
+ positioner = element;
+
+ return element;
+ }
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f399ec5/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/graphics/Rect.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/graphics/Rect.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/graphics/Rect.as
new file mode 100644
index 0000000..eaf0a56
--- /dev/null
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/graphics/Rect.as
@@ -0,0 +1,93 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 org.apache.flex.createjs.graphics
+{
+ COMPILE::AS3
+ {
+ import org.apache.flex.core.graphics.Rect
+ }
+
+ COMPILE::JS
+ {
+ import createjs.Shape;
+ import createjs.Stage;
+ import createjs.Graphics;
+
+ import org.apache.flex.createjs.core.UIBase;
+ import org.apache.flex.core.WrappedHTMLElement;
+ }
+
+ import org.apache.flex.core.graphics.IFill;
+ import org.apache.flex.core.graphics.SolidColor;
+ import org.apache.flex.core.graphics.SolidColorStroke;
+
+ /**
+ * Creates a rectangle.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion FlexJS 0.0
+ */
+
+ COMPILE::AS3
+ public class Rect extends org.apache.flex.core.graphics.Rect
+ {
+ // nothing special for SWF version.
+ }
+
+ COMPILE::JS
+ public class Rect extends GraphicShape
+ {
+ /**
+ * @private
+ * @flexjsignorecoercion createjs.Shape
+ */
+ override protected function redrawShape():void
+ {
+ if (isNaN(width) || isNaN(height)) return;
+
+ var fillColor:String = null;
+ var fillAlpha:Number = 1.0;
+ if (fill != null) {
+ fillAlpha = (fill as SolidColor).alpha;
+ fillColor = convertColorToString((fill as SolidColor).color, fillAlpha);
+ }
+ var strokeColor:String = null;
+ var strokeWeight:Number = 0;
+ var strokeAlpha:Number = 1.0;
+ if (stroke != null) {
+ strokeWeight = (stroke as SolidColorStroke).weight;
+ strokeAlpha = (stroke as SolidColorStroke).alpha;
+ strokeColor = convertColorToString((stroke as SolidColorStroke).color, strokeAlpha);
+ }
+
+ var rect:createjs.Shape = element as createjs.Shape;
+ rect.graphics.setStrokeStyle(strokeWeight);
+ rect.graphics.beginStroke(strokeColor);
+ rect.graphics.beginFill(fillColor);
+ rect.graphics.rect(0, 0, width, height);
+
+ var stage:createjs.Stage = rect.getStage();
+ if (stage)
+ stage.update();
+ }
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f399ec5/frameworks/projects/CreateJS/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/resources/compile-asjs-config.xml b/frameworks/projects/CreateJS/src/main/resources/compile-asjs-config.xml
index cd48012..3e82454 100644
--- a/frameworks/projects/CreateJS/src/main/resources/compile-asjs-config.xml
+++ b/frameworks/projects/CreateJS/src/main/resources/compile-asjs-config.xml
@@ -58,6 +58,7 @@
<library-path>
<path-element>../../../../../externs/Core.swc</path-element>
<path-element>../../../../../externs/HTML.swc</path-element>
+ <path-element>../../../../../externs/Graphics.swc</path-element>
</library-path>
<warn-no-constructor>false</warn-no-constructor>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f399ec5/frameworks/projects/CreateJS/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/resources/compile-config.xml b/frameworks/projects/CreateJS/src/main/resources/compile-config.xml
index 46f455d..1ce2f99 100644
--- a/frameworks/projects/CreateJS/src/main/resources/compile-config.xml
+++ b/frameworks/projects/CreateJS/src/main/resources/compile-config.xml
@@ -25,6 +25,7 @@
<path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
<path-element>../../../../../libs/Core.swc</path-element>
<path-element>../../../../../libs/HTML.swc</path-element>
+ <path-element>../../../../../libs/Graphics.swc</path-element>
</external-library-path>
<mxml>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f399ec5/frameworks/projects/CreateJS/src/main/resources/createjs-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/resources/createjs-manifest.xml b/frameworks/projects/CreateJS/src/main/resources/createjs-manifest.xml
index 1c5a5ed..5716695 100644
--- a/frameworks/projects/CreateJS/src/main/resources/createjs-manifest.xml
+++ b/frameworks/projects/CreateJS/src/main/resources/createjs-manifest.xml
@@ -22,10 +22,12 @@
<componentPackage>
<component id="Application" class="org.apache.flex.createjs.Application"/>
- <component id="UIBase" class="org.apache.flex.createjs.core.UIBase"/>
- <component id="ViewBase" class="org.apache.flex.createjs.core.ViewBase"/>
- <component id="Label" class="org.apache.flex.createjs.Label"/>
+ <component id="View" class="org.apache.flex.createjs.core.View"/>
+ <component id="Container" class="org.apache.flex.createjs.Container" />
<component id="TextButton" class="org.apache.flex.createjs.TextButton"/>
<component id="CheckBox" class="org.apache.flex.createjs.CheckBox"/>
+ <component id="Label" class="org.apache.flex.createjs.Label"/>
+ <component id="Circle" class="org.apache.flex.createjs.graphics.Circle" />
+ <component id="Rect" class="org.apache.flex.createjs.graphics.Rect" />
</componentPackage>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1f399ec5/frameworks/projects/CreateJS/src/main/resources/defaults.css
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/resources/defaults.css b/frameworks/projects/CreateJS/src/main/resources/defaults.css
index 55fa336..db5cfa7 100644
--- a/frameworks/projects/CreateJS/src/main/resources/defaults.css
+++ b/frameworks/projects/CreateJS/src/main/resources/defaults.css
@@ -19,15 +19,34 @@
@namespace createjs "library://ns.apache.org/flexjs/createjs";
+createjs|TextButton
+{
+ IBeadModel: ClassReference("org.apache.flex.html.beads.models.TextModel");
+}
+
+createjs|Label
+{
+ IBeadModel: ClassReference("org.apache.flex.html.beads.models.TextModel");
+}
+
+createjs|CheckBox
+{
+ IBeadModel: ClassReference("org.apache.flex.html.beads.models.ToggleButtonModel");
+}
+
@media -flex-flash
{
createjs|TextButton
{
- IBeadModel: ClassReference("org.apache.flex.html.beads.models.TextModel");
IBeadView: ClassReference("org.apache.flex.html.beads.TextButtonView");
}
+createjs|Label
+{
+ IBeadView: ClassReference("org.apache.flex.html.beads.TextFieldView");
+}
+
createjs|CheckBox
{
IBeadView: ClassReference("org.apache.flex.html.beads.CheckBoxView");
[16/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Initial
work on maven migration.
Posted by ah...@apache.org.
Initial work on maven migration.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/20378259
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/20378259
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/20378259
Branch: refs/heads/spark
Commit: 203782597fb47db821c8aa6b77ce154e2fc48a89
Parents: f742bc2
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Sun Apr 17 18:14:10 2016 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Sun Apr 17 18:14:10 2016 +0200
----------------------------------------------------------------------
frameworks/projects/Binding/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/Charts/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/Collections/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/Core/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/CreateJS/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/DragDrop/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/Effects/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/Flat/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/Formatters/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/GoogleMaps/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/Graphics/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/HTML/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/HTML5/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/JQuery/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/Mobile/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/Network/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/Reflection/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/Storage/pom.xml | 70 ++++++++++++++++++++
frameworks/projects/pom.xml | 55 ++++++++++++++++
migrate-to-maven.sh | 38 +++++++++++
pom.xml | 95 ++++++++++++++++++++++++++++
21 files changed, 1448 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/Binding/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/pom.xml b/frameworks/projects/Binding/pom.xml
new file mode 100644
index 0000000..568a47f
--- /dev/null
+++ b/frameworks/projects/Binding/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>Binding</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/Charts/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/pom.xml b/frameworks/projects/Charts/pom.xml
new file mode 100644
index 0000000..bb1d22d
--- /dev/null
+++ b/frameworks/projects/Charts/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>Charts</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/Collections/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/pom.xml b/frameworks/projects/Collections/pom.xml
new file mode 100644
index 0000000..e0d32b7
--- /dev/null
+++ b/frameworks/projects/Collections/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>Collections</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/Core/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/pom.xml b/frameworks/projects/Core/pom.xml
new file mode 100644
index 0000000..b9a5eb6
--- /dev/null
+++ b/frameworks/projects/Core/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/CreateJS/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/pom.xml b/frameworks/projects/CreateJS/pom.xml
new file mode 100644
index 0000000..9ad8bab
--- /dev/null
+++ b/frameworks/projects/CreateJS/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>CreateJS</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/DragDrop/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/pom.xml b/frameworks/projects/DragDrop/pom.xml
new file mode 100644
index 0000000..414c9a1
--- /dev/null
+++ b/frameworks/projects/DragDrop/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>DragDrop</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/Effects/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/pom.xml b/frameworks/projects/Effects/pom.xml
new file mode 100644
index 0000000..f6330ca
--- /dev/null
+++ b/frameworks/projects/Effects/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>Effects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/Flat/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/pom.xml b/frameworks/projects/Flat/pom.xml
new file mode 100644
index 0000000..72ac69a
--- /dev/null
+++ b/frameworks/projects/Flat/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>Flat</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/Formatters/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/pom.xml b/frameworks/projects/Formatters/pom.xml
new file mode 100644
index 0000000..f7ea888
--- /dev/null
+++ b/frameworks/projects/Formatters/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>Formatters</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/GoogleMaps/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/pom.xml b/frameworks/projects/GoogleMaps/pom.xml
new file mode 100644
index 0000000..2667308
--- /dev/null
+++ b/frameworks/projects/GoogleMaps/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>GoogleMaps</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/Graphics/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/pom.xml b/frameworks/projects/Graphics/pom.xml
new file mode 100644
index 0000000..31fa222
--- /dev/null
+++ b/frameworks/projects/Graphics/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>Graphics</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/HTML/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/pom.xml b/frameworks/projects/HTML/pom.xml
new file mode 100644
index 0000000..de14273
--- /dev/null
+++ b/frameworks/projects/HTML/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>HTML</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/HTML5/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/pom.xml b/frameworks/projects/HTML5/pom.xml
new file mode 100644
index 0000000..a008b1f
--- /dev/null
+++ b/frameworks/projects/HTML5/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>HTML5</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/JQuery/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/pom.xml b/frameworks/projects/JQuery/pom.xml
new file mode 100644
index 0000000..dbf6a83
--- /dev/null
+++ b/frameworks/projects/JQuery/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>JQuery</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/Mobile/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/pom.xml b/frameworks/projects/Mobile/pom.xml
new file mode 100644
index 0000000..44aff82
--- /dev/null
+++ b/frameworks/projects/Mobile/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>Mobile</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/Network/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/pom.xml b/frameworks/projects/Network/pom.xml
new file mode 100644
index 0000000..0f637d0
--- /dev/null
+++ b/frameworks/projects/Network/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>Network</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/Reflection/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/pom.xml b/frameworks/projects/Reflection/pom.xml
new file mode 100644
index 0000000..4e10d0d
--- /dev/null
+++ b/frameworks/projects/Reflection/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>Reflection</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/Storage/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/pom.xml b/frameworks/projects/Storage/pom.xml
new file mode 100644
index 0000000..af4ea8d
--- /dev/null
+++ b/frameworks/projects/Storage/pom.xml
@@ -0,0 +1,70 @@
+<?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.
+
+-->
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>Storage</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>flexjs-maven-plugin</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <executions>
+ <execution>
+ <id>generate</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>compile</goal>
+ </goals>
+ </execution>
+ </executions>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.compiler</groupId>
+ <artifactId>compiler-jx</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ </dependencies>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/frameworks/projects/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/pom.xml b/frameworks/projects/pom.xml
new file mode 100644
index 0000000..b40ea1c
--- /dev/null
+++ b/frameworks/projects/pom.xml
@@ -0,0 +1,55 @@
+<?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.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache</groupId>
+ <artifactId>apache</artifactId>
+ <version>14</version>
+ </parent>
+
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>projects</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>Binding</module>
+ <module>Charts</module>
+ <module>Collections</module>
+ <module>Core</module>
+ <module>CreateJS</module>
+ <module>DragDrop</module>
+ <module>Effects</module>
+ <module>Flat</module>
+ <module>Formatters</module>
+ <module>GoogleMaps</module>
+ <module>Graphics</module>
+ <module>HTML</module>
+ <module>HTML5</module>
+ <module>JQuery</module>
+ <module>Mobile</module>
+ <module>Network</module>
+ <module>Reflection</module>
+ <module>Storage</module>
+ </modules>
+
+</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/migrate-to-maven.sh
----------------------------------------------------------------------
diff --git a/migrate-to-maven.sh b/migrate-to-maven.sh
new file mode 100755
index 0000000..44d4c50
--- /dev/null
+++ b/migrate-to-maven.sh
@@ -0,0 +1,38 @@
+#!/usr/bin/env bash
+
+mkdir -p frameworks/projects/Binding/src/main/config
+git mv frameworks/projects/Binding/src/main/resources/compile-*.xml frameworks/projects/Binding/src/main/config/
+mkdir -p frameworks/projects/Charts/src/main/config
+git mv frameworks/projects/Charts/src/main/resources/compile-*.xml frameworks/projects/Charts/src/main/config/
+mkdir -p frameworks/projects/Collections/src/main/config
+git mv frameworks/projects/Collections/src/main/resources/compile-*.xml frameworks/projects/Collections/src/main/config/
+mkdir -p frameworks/projects/Core/src/main/config
+git mv frameworks/projects/Core/src/main/resources/compile-*.xml frameworks/projects/Core/src/main/config/
+mkdir -p frameworks/projects/CreateJS/src/main/config
+git mv frameworks/projects/CreateJS/src/main/resources/compile-*.xml frameworks/projects/CreateJS/src/main/config/
+mkdir -p frameworks/projects/DragDrop/src/main/config
+git mv frameworks/projects/DragDrop/src/main/resources/compile-*.xml frameworks/projects/DragDrop/src/main/config/
+mkdir -p frameworks/projects/Effects/src/main/config
+git mv frameworks/projects/Effects/src/main/resources/compile-*.xml frameworks/projects/Effects/src/main/config/
+mkdir -p frameworks/projects/Flat/src/main/config
+git mv frameworks/projects/Flat/src/main/resources/compile-*.xml frameworks/projects/Flat/src/main/config/
+mkdir -p frameworks/projects/Formatters/src/main/config
+git mv frameworks/projects/Formatters/src/main/resources/compile-*.xml frameworks/projects/Formatters/src/main/config/
+mkdir -p frameworks/projects/GoogleMaps/src/main/config
+git mv frameworks/projects/GoogleMaps/src/main/resources/compile-*.xml frameworks/projects/GoogleMaps/src/main/config/
+mkdir -p frameworks/projects/Graphics/src/main/config
+git mv frameworks/projects/Graphics/src/main/resources/compile-*.xml frameworks/projects/Graphics/src/main/config/
+mkdir -p frameworks/projects/HTML/src/main/config
+git mv frameworks/projects/HTML/src/main/resources/compile-*.xml frameworks/projects/HTML/src/main/config/
+mkdir -p frameworks/projects/HTML5/src/main/config
+git mv frameworks/projects/HTML5/src/main/resources/compile-*.xml frameworks/projects/HTML5/src/main/config/
+mkdir -p frameworks/projects/JQuery/src/main/config
+git mv frameworks/projects/JQuery/src/main/resources/compile-*.xml frameworks/projects/JQuery/src/main/config/
+mkdir -p frameworks/projects/Mobile/src/main/config
+git mv frameworks/projects/Mobile/src/main/resources/compile-*.xml frameworks/projects/Mobile/src/main/config/
+mkdir -p frameworks/projects/Network/src/main/config
+git mv frameworks/projects/Network/src/main/resources/compile-*.xml frameworks/projects/Network/src/main/config/
+mkdir -p frameworks/projects/Reflection/src/main/config
+git mv frameworks/projects/Reflection/src/main/resources/compile-*.xml frameworks/projects/Reflection/src/main/config/
+mkdir -p frameworks/projects/Storage/src/main/config
+git mv frameworks/projects/Storage/src/main/resources/compile-*.xml frameworks/projects/Storage/src/main/config/
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20378259/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..6b1c97d
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,95 @@
+<?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.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache</groupId>
+ <artifactId>apache</artifactId>
+ <version>17</version>
+ </parent>
+
+ <groupId>org.apache.flex.flexjs</groupId>
+ <artifactId>asjs-parent</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <packaging>pom</packaging>
+
+ <name>Apache Flex - FlexJS</name>
+ <description>The Apache Flex FlexJS Project</description>
+
+ <!-- Only configure the site distribution as the rest is handled by the apache parent -->
+ <distributionManagement>
+ <site>
+ <id>website</id>
+ <url>scp://www.mycompany.com/www/docs/project/</url>
+ </site>
+ </distributionManagement>
+
+ <mailingLists>
+ <mailingList>
+ <name>Apache Flex User List</name>
+ <subscribe>users-subscribe@flex.apache.org</subscribe>
+ <unsubscribe>users-unsubscribe@flex.apache.org</unsubscribe>
+ <post>users@flex.apache.org</post>
+ <archive>http://mail-archives.apache.org/mod_mbox/flex-users/</archive>
+ </mailingList>
+ <mailingList>
+ <name>Apache Flex Developer List</name>
+ <subscribe>dev-subscribe@flex.apache.org</subscribe>
+ <unsubscribe>dev-unsubscribe@flex.apache.org</unsubscribe>
+ <post>dev@flex.apache.org</post>
+ <archive>http://mail-archives.apache.org/mod_mbox/flex-dev/</archive>
+ </mailingList>
+ </mailingLists>
+
+ <issueManagement>
+ <system>Jira</system>
+ <url>https://issues.apache.org/jira/browse/FLEX</url>
+ </issueManagement>
+
+ <scm>
+ <connection>scm:git://git.apache.org/flex-asjs.git</connection>
+ <developerConnection>scm:git://git.apache.org/flex-asjs.git</developerConnection>
+ <url>https://github.com/apache/flex-asjs</url>
+ </scm>
+
+ <properties>
+ <java.version>1.6</java.version>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <project.reporting.outputencoding>UTF-8</project.reporting.outputencoding>
+ <maven.version>3.3.1</maven.version>
+
+ <!-- URL of the ASF SonarQube server -->
+ <sonar.host.url>https://analysis.apache.org/</sonar.host.url>
+
+ <flex.version>4.15.0</flex.version>
+ <flash.version>20.0</flash.version>
+ <air.version>20.0</air.version>
+
+ <!-- Tell sonar where the coverage reports are located -->
+ <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco-ut.exec</sonar.jacoco.reportPath>
+ <sonar.jacoco.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath>
+ </properties>
+
+ <modules>
+ <module>frameworks/projects</module>
+ </modules>
+
+</project>
\ No newline at end of file
[12/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - fix
subsetter
Posted by ah...@apache.org.
fix subsetter
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/f3c785a0
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f3c785a0
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f3c785a0
Branch: refs/heads/spark
Commit: f3c785a00e8187c1b2eae8f8f40adb1f587a4c5b
Parents: 66669cf
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 13 12:24:16 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 13 12:24:16 2016 -0700
----------------------------------------------------------------------
frameworks/downloads.xml | 9 +++++++++
1 file changed, 9 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f3c785a0/frameworks/downloads.xml
----------------------------------------------------------------------
diff --git a/frameworks/downloads.xml b/frameworks/downloads.xml
index 089fa16..e4f2cf7 100644
--- a/frameworks/downloads.xml
+++ b/frameworks/downloads.xml
@@ -22,6 +22,9 @@
<property name="FLEXJS_HOME" location="../.."/>
<!-- properties -->
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/local.properties"/>
<property file="${FLEXJS_HOME}/build.properties"/>
<property name="FLEX_HOME" value="${env.FLEX_HOME}" />
@@ -166,7 +169,13 @@
</target>
<target name="subset-goog" >
+ <condition property="GOOG_HOME" value="${env.GOOG_HOME}">
+ <not>
+ <isset property="GOOG_HOME"/>
+ </not>
+ </condition>
<property name="GOOG_DIR" value="${GOOG_HOME}" />
+ <echo>Subsetting ${GOOG_DIR}</echo>
<delete failonerror="false">
<!-- we only need base.js, eventtarget.js and their dependencies -->
<fileset dir="${GOOG_DIR}">
[04/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Fixed
XML setAttribute()
Posted by ah...@apache.org.
Fixed XML setAttribute()
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/70a4892d
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/70a4892d
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/70a4892d
Branch: refs/heads/spark
Commit: 70a4892d60204ffe15d89056ad01333f6ff62497
Parents: 495d016
Author: Harbs <ha...@in-tools.com>
Authored: Tue Apr 12 08:47:25 2016 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Tue Apr 12 08:47:25 2016 +0300
----------------------------------------------------------------------
frameworks/projects/XML/src/main/flex/XML.as | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/70a4892d/frameworks/projects/XML/src/main/flex/XML.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/flex/XML.as b/frameworks/projects/XML/src/main/flex/XML.as
index 7d47fca..d3ab421 100644
--- a/frameworks/projects/XML/src/main/flex/XML.as
+++ b/frameworks/projects/XML/src/main/flex/XML.as
@@ -1762,7 +1762,21 @@ package
{
//it's a regular attribute string
//TODO use toXMLName or toAttributeName to convert attr and assing it
-
+ var qname:QName = toAttributeName(attr);
+ var attrXML:XML = new XML();
+ attrXML.setNodeKind("attribute");
+ attrXML.setName(toAttributeName(attr));
+ attrXML.setValue(value);
+ for(i=0;i<_attributes.length;i++)
+ {
+ if(_attributes[i].name().equals(attrXML.name()))
+ {
+ _attributes[i].setValue(value);
+ return;
+ }
+ //addChild(_att)
+ }
+ addChild(attrXML);
}
}
[31/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - -
Renamed the config files to compile-as-config.xml (ActionScript Part) and
compile-js-config.xml (JavaScript Part) - Added TODO comments to places I
found strange.
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Mobile/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/config/compile-js-config.xml b/frameworks/projects/Mobile/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..aa3da52
--- /dev/null
+++ b/frameworks/projects/Mobile/src/main/config/compile-js-config.xml
@@ -0,0 +1,89 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../../../externs/Graphics.swc</path-element>
+ <path-element>../../../../../externs/HTML.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/cordova</uri>
+ <manifest>../src/main/resources/cordova-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>MobileClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <uri>library://ns.apache.org/flexjs/cordova</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Network/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/src/main/config/compile-as-config.xml b/frameworks/projects/Network/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..cd3c1cc
--- /dev/null
+++ b/frameworks/projects/Network/src/main/config/compile-as-config.xml
@@ -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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>NetworkClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Network/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/src/main/config/compile-asjs-config.xml b/frameworks/projects/Network/src/main/config/compile-asjs-config.xml
deleted file mode 100644
index 6c727b1..0000000
--- a/frameworks/projects/Network/src/main/config/compile-asjs-config.xml
+++ /dev/null
@@ -1,82 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>NetworkClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Network/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/src/main/config/compile-config.xml b/frameworks/projects/Network/src/main/config/compile-config.xml
deleted file mode 100644
index f61f1e5..0000000
--- a/frameworks/projects/Network/src/main/config/compile-config.xml
+++ /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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>NetworkClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Network/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/src/main/config/compile-js-config.xml b/frameworks/projects/Network/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..2d2d2ff
--- /dev/null
+++ b/frameworks/projects/Network/src/main/config/compile-js-config.xml
@@ -0,0 +1,82 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>NetworkClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Reflection/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/src/main/config/compile-as-config.xml b/frameworks/projects/Reflection/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..220f69e
--- /dev/null
+++ b/frameworks/projects/Reflection/src/main/config/compile-as-config.xml
@@ -0,0 +1,74 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <!-- TODO: Why this? -->
+ <include-sources>
+ <path-element>../src/main/flex</path-element>
+ </include-sources>
+
+ <include-namespaces>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Reflection/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/src/main/config/compile-asjs-config.xml b/frameworks/projects/Reflection/src/main/config/compile-asjs-config.xml
deleted file mode 100644
index fa4300e..0000000
--- a/frameworks/projects/Reflection/src/main/config/compile-asjs-config.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <namespaces>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- <path-element>../flex</path-element>
- </include-sources>
-
- <include-classes>
- </include-classes>
-
- <include-namespaces>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Reflection/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/src/main/config/compile-config.xml b/frameworks/projects/Reflection/src/main/config/compile-config.xml
deleted file mode 100644
index 89b7765..0000000
--- a/frameworks/projects/Reflection/src/main/config/compile-config.xml
+++ /dev/null
@@ -1,73 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-sources>
- <path-element>../flex</path-element>
- </include-sources>
-
- <include-namespaces>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Reflection/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/src/main/config/compile-js-config.xml b/frameworks/projects/Reflection/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..d08153b
--- /dev/null
+++ b/frameworks/projects/Reflection/src/main/config/compile-js-config.xml
@@ -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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <!-- TODO: Why this? -->
+ <include-sources>
+ <path-element>../src/main/flex</path-element>
+ </include-sources>
+
+ <include-classes>
+ </include-classes>
+
+ <include-namespaces>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Storage/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/config/compile-as-config.xml b/frameworks/projects/Storage/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..d04d981
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/config/compile-as-config.xml
@@ -0,0 +1,82 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>StorageClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Storage/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/config/compile-asjs-config.xml b/frameworks/projects/Storage/src/main/config/compile-asjs-config.xml
deleted file mode 100644
index 6b3c6d5..0000000
--- a/frameworks/projects/Storage/src/main/config/compile-asjs-config.xml
+++ /dev/null
@@ -1,82 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>StorageClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Storage/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/config/compile-config.xml b/frameworks/projects/Storage/src/main/config/compile-config.xml
deleted file mode 100644
index 8ca6f9c..0000000
--- a/frameworks/projects/Storage/src/main/config/compile-config.xml
+++ /dev/null
@@ -1,82 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>StorageClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Storage/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/src/main/config/compile-js-config.xml b/frameworks/projects/Storage/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..7d6b613
--- /dev/null
+++ b/frameworks/projects/Storage/src/main/config/compile-js-config.xml
@@ -0,0 +1,82 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>StorageClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/XML/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/pom.xml b/frameworks/projects/XML/pom.xml
index 8a3b625..46e3c8c 100644
--- a/frameworks/projects/XML/pom.xml
+++ b/frameworks/projects/XML/pom.xml
@@ -51,6 +51,21 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/XML/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/config/compile-as-config.xml b/frameworks/projects/XML/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..36dd27f
--- /dev/null
+++ b/frameworks/projects/XML/src/main/config/compile-as-config.xml
@@ -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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>XMLClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/XML/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/config/compile-js-config.xml b/frameworks/projects/XML/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..0f11c83
--- /dev/null
+++ b/frameworks/projects/XML/src/main/config/compile-js-config.xml
@@ -0,0 +1,80 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <!-- TODO: Why this? -->
+ <include-sources>
+ <path-element>../src/main/flex</path-element>
+ </include-sources>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/XML/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/resources/compile-asjs-config.xml b/frameworks/projects/XML/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index 2c5abf4..0000000
--- a/frameworks/projects/XML/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,79 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- <path-element>../flex</path-element>
- </include-sources>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/XML/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/resources/compile-config.xml b/frameworks/projects/XML/src/main/resources/compile-config.xml
deleted file mode 100644
index 9dde123..0000000
--- a/frameworks/projects/XML/src/main/resources/compile-config.xml
+++ /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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>XMLClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
[10/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] -
eliminate duplicate download
Posted by ah...@apache.org.
eliminate duplicate download
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/667dd46a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/667dd46a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/667dd46a
Branch: refs/heads/spark
Commit: 667dd46ae564a3f4ba2fe53e56d2524c07a6ee1f
Parents: 7e660ea
Author: Alex Harui <ah...@apache.org>
Authored: Tue Apr 12 22:20:47 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Tue Apr 12 23:47:06 2016 -0700
----------------------------------------------------------------------
build.xml | 2 ++
frameworks/build.xml | 4 +++-
frameworks/downloads.xml | 7 +++----
3 files changed, 8 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/667dd46a/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 43e0a6a..941b75d 100644
--- a/build.xml
+++ b/build.xml
@@ -179,6 +179,8 @@
<!-- <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" />
+ <!-- this flag is used by frameworks/build.xml to prevent a second download -->
+ <property name="no.thirdparty-downloads" value="set" />
</target>
<target name="prebuild" depends="check-compile-env,thirdparty-downloads,create-description,create-config"
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/667dd46a/frameworks/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/build.xml b/frameworks/build.xml
index 8d7b174..c6c8a5e 100644
--- a/frameworks/build.xml
+++ b/frameworks/build.xml
@@ -157,7 +157,9 @@
<!-- Delete only if it exists and it is empty. air and swfobject put dirs here. -->
<delete dir="${FLEXJS_HOME}/templates" includeemptydirs="true" failonerror="false">
<exclude name="swfobject/index.template.html" />
- </delete>
+ <exclude name="swfobject/expressInstall.swf" />
+ <exclude name="swfobject/swfobject.js" />
+ </delete>
</target>
<target name="Binding" description="Clean build of Binding.swc">
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/667dd46a/frameworks/downloads.xml
----------------------------------------------------------------------
diff --git a/frameworks/downloads.xml b/frameworks/downloads.xml
index ac9e0fb..7fc12b1 100644
--- a/frameworks/downloads.xml
+++ b/frameworks/downloads.xml
@@ -79,9 +79,9 @@
</delete>
</target>
- <!-- swfobject.js (Version 2.2) -->
- <!-- Because this requires a network connection it downloads SWFObject only if it doesn't already exist. -->
- <target name="flat-ui-check" description="Checks if SWFObject has been downloaded.">
+ <!-- flat ui fonts -->
+ <!-- Because this requires a network connection it downloads Flat UI fonts only if it doesn't already exist. -->
+ <target name="flat-ui-check" description="Checks if Flat UI fonts have been downloaded.">
<available file="${FLEXJS_HOME}/frameworks/fonts/flat-ui-icons-regular.ttf" property="flat.donot.ask"/>
<condition property="flat.donot.ask">
<isset property="build.noprompt"/>
@@ -118,7 +118,6 @@
description="Copies FlatUI from github" />
<target name="get-flat-fonts" depends="ask-flat" if="do.flat.install" >
-
<mkdir dir="${download.dir}"/>
<get src="https://github.com/designmodo/Flat-UI/archive/2.2.2.zip"
dest="${download.dir}/flat-ui_2_2.zip"
[17/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Merge
branches 'develop' and 'feature/maven-migration' of
https://git-wip-us.apache.org/repos/asf/flex-asjs into
feature/maven-migration
Posted by ah...@apache.org.
Merge branches 'develop' and 'feature/maven-migration' of https://git-wip-us.apache.org/repos/asf/flex-asjs into feature/maven-migration
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/db775a05
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/db775a05
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/db775a05
Branch: refs/heads/spark
Commit: db775a05ac5199ad851ffe5bc48957d7b4fa13a9
Parents: 2037825 cf8933e
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Sun Apr 17 18:16:31 2016 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Sun Apr 17 18:16:31 2016 +0200
----------------------------------------------------------------------
ApproveFlexJS.xml | 127 +-
LICENSE | 4 +-
LICENSE.base | 203 ++
LICENSE.bin | 4 -
apache-flex-flexjs-installer-config.xml | 29 +
build.properties | 2 +-
build.xml | 50 +-
examples/build_example.xml | 6 +-
.../AngularExample/AngularExample-debug.html | 28 +
.../AngularExample/AngularExample-release.html | 29 +
.../native/AngularExample/src/AngularExample.as | 66 +
.../native/AngularExample/src/MyController.as | 52 +
.../src/components/IWebComponent.as | 9 +
.../src/components/WebComponent.as | 20 +
.../src/components/mdbutton/MDButton.as | 43 +
.../src/components/mdbutton/MDButtonFactory.as | 38 +
frameworks/build.xml | 10 +-
frameworks/downloads.xml | 94 +-
.../projects/Core/src/main/flex/Namespace.as | 129 +-
frameworks/projects/Core/src/main/flex/QName.as | 167 +-
.../flex/org/apache/flex/core/Application.as | 7 +-
frameworks/projects/XML/build.xml | 216 ++
frameworks/projects/XML/src/main/flex/XML.as | 2392 ++++++++++++++++++
.../projects/XML/src/main/flex/XMLClasses.as | 37 +
.../projects/XML/src/main/flex/XMLList.as | 764 ++++++
.../XML/src/main/resources/basic-manifest.xml | 24 +
.../src/main/resources/compile-asjs-config.xml | 79 +
.../XML/src/main/resources/compile-config.xml | 78 +
.../FlexJS (FalconJX Debug Build).launch | 28 +
...JS (FalconJX Debug and Release Build).launch | 2 +-
installer.properties/en_US.properties | 14 +
installer.xml | 84 +-
manualtests/XMLTest/build.xml | 72 +
manualtests/XMLTest/src/MyInitialView.mxml | 252 ++
manualtests/XMLTest/src/README.txt | 45 +
manualtests/XMLTest/src/XMLTest.mxml | 40 +
.../XMLTest/src/controllers/MyController.as | 52 +
manualtests/XMLTest/src/models/MyModel.as | 125 +
manualtests/build_example.xml | 2 +-
marmotinni/java/downloads.xml | 6 +-
mustella/js/AssertPropertyValue.js | 37 +
mustella/js/DispatchMouseClickEvent.js | 37 +
mustella/js/DispatchMouseEvent.js | 37 +
mustella/js/ExitWhenDone.js | 37 +
mustella/js/SendFormattedResultsToLog.js | 37 +
mustella/js/SetProperty.js | 37 +
mustella/js/SetShowRTE.js | 37 +
mustella/js/TestCase.js | 37 +
mustella/js/UnitTester.js | 37 +
nightly.properties | 2 +-
releasecandidate.xml | 9 +-
51 files changed, 5658 insertions(+), 115 deletions(-)
----------------------------------------------------------------------
[38/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Merge
branch 'feature/maven-migration' into develop
Posted by ah...@apache.org.
Merge branch 'feature/maven-migration' into develop
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/5e9e152a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/5e9e152a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/5e9e152a
Branch: refs/heads/spark
Commit: 5e9e152a85225d53c7401a9fcc0f896011eb8543
Parents: 4e580e3 c1c49ec
Author: Alex Harui <ah...@apache.org>
Authored: Fri Apr 29 22:22:29 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Apr 29 22:22:29 2016 -0700
----------------------------------------------------------------------
.mvn/extensions.xml | 11 +++
frameworks/projects/Binding/build.xml | 15 ++--
frameworks/projects/Binding/pom.xml | 71 +++++++++++++++
.../src/main/config/compile-as-config.xml | 78 ++++++++++++++++
.../src/main/config/compile-js-config.xml | 79 ++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 79 ----------------
.../src/main/resources/compile-config.xml | 78 ----------------
frameworks/projects/Charts/build.xml | 15 ++--
frameworks/projects/Charts/pom.xml | 85 ++++++++++++++++++
.../src/main/config/compile-as-config.xml | 84 +++++++++++++++++
.../src/main/config/compile-js-config.xml | 81 +++++++++++++++++
.../main/resources/compile-as-to-js-config.xml | 76 ----------------
.../src/main/resources/compile-asjs-config.xml | 71 ---------------
.../src/main/resources/compile-config.xml | 84 -----------------
.../src/main/resources/compile-js-config.xml | 87 ------------------
frameworks/projects/Collections/build.xml | 17 ++--
frameworks/projects/Collections/pom.xml | 71 +++++++++++++++
.../src/main/config/compile-as-config.xml | 78 ++++++++++++++++
.../src/main/config/compile-js-config.xml | 69 ++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 69 --------------
.../src/main/resources/compile-config.xml | 78 ----------------
frameworks/projects/Core/build.xml | 16 ++--
frameworks/projects/Core/pom.xml | 63 +++++++++++++
.../Core/src/main/config/compile-as-config.xml | 78 ++++++++++++++++
.../Core/src/main/config/compile-js-config.xml | 78 ++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 78 ----------------
.../Core/src/main/resources/compile-config.xml | 77 ----------------
frameworks/projects/CreateJS/build.xml | 19 ++--
frameworks/projects/CreateJS/pom.xml | 85 ++++++++++++++++++
.../src/main/config/compile-as-config.xml | 84 +++++++++++++++++
.../src/main/config/compile-js-config.xml | 84 +++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 84 -----------------
.../src/main/resources/compile-config.xml | 84 -----------------
frameworks/projects/DragDrop/build.xml | 17 ++--
frameworks/projects/DragDrop/pom.xml | 71 +++++++++++++++
.../src/main/config/compile-as-config.xml | 78 ++++++++++++++++
.../src/main/config/compile-js-config.xml | 79 ++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 79 ----------------
.../src/main/resources/compile-config.xml | 78 ----------------
frameworks/projects/Effects/build.xml | 15 ++--
frameworks/projects/Effects/pom.xml | 71 +++++++++++++++
.../src/main/config/compile-as-config.xml | 78 ++++++++++++++++
.../src/main/config/compile-js-config.xml | 79 ++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 79 ----------------
.../src/main/resources/compile-config.xml | 78 ----------------
frameworks/projects/Flat/build.xml | 17 ++--
frameworks/projects/Flat/pom.xml | 92 +++++++++++++++++++
.../Flat/src/main/config/compile-as-config.xml | 92 +++++++++++++++++++
.../Flat/src/main/config/compile-js-config.xml | 80 +++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 80 -----------------
.../Flat/src/main/resources/compile-config.xml | 91 -------------------
frameworks/projects/Formatters/build.xml | 17 ++--
frameworks/projects/Formatters/pom.xml | 78 ++++++++++++++++
.../src/main/config/compile-as-config.xml | 79 ++++++++++++++++
.../src/main/config/compile-js-config.xml | 80 +++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 80 -----------------
.../src/main/resources/compile-config.xml | 79 ----------------
frameworks/projects/GoogleMaps/build.xml | 19 ++--
frameworks/projects/GoogleMaps/pom.xml | 71 +++++++++++++++
.../src/main/config/compile-as-config.xml | 83 +++++++++++++++++
.../src/main/config/compile-js-config.xml | 75 ++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 75 ----------------
.../src/main/resources/compile-config.xml | 83 -----------------
frameworks/projects/Graphics/build.xml | 15 ++--
frameworks/projects/Graphics/pom.xml | 71 +++++++++++++++
.../src/main/config/compile-as-config.xml | 78 ++++++++++++++++
.../src/main/config/compile-js-config.xml | 82 +++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 82 -----------------
.../src/main/resources/compile-config.xml | 78 ----------------
frameworks/projects/HTML/build.xml | 15 ++--
frameworks/projects/HTML/pom.xml | 92 +++++++++++++++++++
.../HTML/src/main/config/compile-as-config.xml | 95 ++++++++++++++++++++
.../HTML/src/main/config/compile-js-config.xml | 90 +++++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 90 -------------------
.../HTML/src/main/resources/compile-config.xml | 94 -------------------
frameworks/projects/HTML5/build.xml | 15 ++--
frameworks/projects/HTML5/pom.xml | 78 ++++++++++++++++
.../HTML5/src/main/config/compile-as-config.xml | 83 +++++++++++++++++
.../HTML5/src/main/config/compile-js-config.xml | 71 +++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 70 ---------------
.../HTML5/src/main/resources/compile-config.xml | 83 -----------------
frameworks/projects/JQuery/build.xml | 19 ++--
frameworks/projects/JQuery/pom.xml | 78 ++++++++++++++++
.../src/main/config/compile-as-config.xml | 83 +++++++++++++++++
.../src/main/config/compile-js-config.xml | 87 ++++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 86 ------------------
.../src/main/resources/compile-config.xml | 83 -----------------
frameworks/projects/Mobile/build.xml | 15 ++--
frameworks/projects/Mobile/pom.xml | 85 ++++++++++++++++++
.../src/main/config/compile-as-config.xml | 89 ++++++++++++++++++
.../src/main/config/compile-js-config.xml | 89 ++++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 89 ------------------
.../src/main/resources/compile-config.xml | 89 ------------------
frameworks/projects/Network/build.xml | 15 ++--
frameworks/projects/Network/pom.xml | 71 +++++++++++++++
.../src/main/config/compile-as-config.xml | 78 ++++++++++++++++
.../src/main/config/compile-js-config.xml | 82 +++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 82 -----------------
.../src/main/resources/compile-config.xml | 78 ----------------
frameworks/projects/Reflection/build.xml | 15 ++--
frameworks/projects/Reflection/pom.xml | 71 +++++++++++++++
.../src/main/config/compile-as-config.xml | 74 +++++++++++++++
.../src/main/config/compile-js-config.xml | 78 ++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 77 ----------------
.../src/main/resources/compile-config.xml | 73 ---------------
frameworks/projects/Storage/build.xml | 17 ++--
frameworks/projects/Storage/pom.xml | 71 +++++++++++++++
.../src/main/config/compile-as-config.xml | 82 +++++++++++++++++
.../src/main/config/compile-js-config.xml | 82 +++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 82 -----------------
.../src/main/resources/compile-config.xml | 82 -----------------
frameworks/projects/XML/build.xml | 15 ++--
frameworks/projects/XML/pom.xml | 71 +++++++++++++++
.../XML/src/main/config/compile-as-config.xml | 78 ++++++++++++++++
.../XML/src/main/config/compile-js-config.xml | 80 +++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 79 ----------------
.../XML/src/main/resources/compile-config.xml | 78 ----------------
frameworks/projects/pom.xml | 60 +++++++++++++
migrate-to-maven.sh | 38 ++++++++
pom.xml | 95 ++++++++++++++++++++
120 files changed, 4929 insertions(+), 3328 deletions(-)
----------------------------------------------------------------------
[34/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Added
TweenJS features for simple animation. Updated CreateJS example to mimic
CreateJS and TweenJS initial demos.
Posted by ah...@apache.org.
Added TweenJS features for simple animation. Updated CreateJS example to mimic CreateJS and TweenJS initial demos.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/4e580e3e
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/4e580e3e
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/4e580e3e
Branch: refs/heads/spark
Commit: 4e580e3e81f94d12180ef5fab43c32d706ab2631
Parents: 8cb2031
Author: Peter Ent <pe...@apache.org>
Authored: Wed Apr 27 11:20:35 2016 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Wed Apr 27 11:20:35 2016 -0400
----------------------------------------------------------------------
.../CreateJSExample/src/CreateJSExample.mxml | 40 ++++-
.../CreateJS/src/main/flex/CreateJSClasses.as | 3 +-
.../org/apache/flex/createjs/tween/Effect.as | 148 ++++++++++++++++
.../flex/org/apache/flex/createjs/tween/Move.as | 149 ----------------
.../org/apache/flex/createjs/tween/Sequence.as | 95 ++++++++++
.../org/apache/flex/createjs/tween/Tween.as | 177 +++++++++++++++++++
.../src/main/resources/createjs-manifest.xml | 3 +-
7 files changed, 458 insertions(+), 157 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4e580e3e/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml b/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml
index a2a678c..bce0e15 100644
--- a/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml
+++ b/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml
@@ -30,20 +30,48 @@ limitations under the License.
<fx:Script>
<![CDATA[
- import org.apache.flex.createjs.tween.Move;
+ import org.apache.flex.createjs.tween.Tween;
+ import org.apache.flex.createjs.tween.Sequence;
private function runEffect():void {
- var mover:Move = new Move(circle);
- mover.xTo = 400;
- mover.yTo = 400;
- mover.play();
+ var move1:Tween = new Tween(circle);
+ move1.xTo = 400;
+ move1.duration = 1000;
+
+ var move2:Tween = new Tween(circle);
+ move2.alphaTo = 0;
+ move2.yTo = 175;
+ move2.duration = 500;
+
+ var move3:Tween = new Tween(circle);
+ move3.alphaTo = 0;
+ move3.yTo = 225;
+ move3.duration = 100;
+
+ var move4:Tween = new Tween(circle);
+ move4.alphaTo = 1;
+ move4.yTo = 200;
+ move4.duration = 500;
+
+ var move5:Tween = new Tween(circle);
+ move5.xTo = 100;
+ move5.duration = 800;
+
+ var seq:Sequence = new Sequence(circle);
+ seq.loop = true;
+ seq.addEffect(move1);
+ seq.addEffect(move2);
+ seq.addEffect(move3);
+ seq.addEffect(move4);
+ seq.addEffect(move5);
+ seq.play();
}
]]>
</fx:Script>
<js:initialView>
<cjs:View>
-
+
<cjs:Circle id="circle" x="100" y="100" width="100" height="100">
<js:fill>
<js:SolidColor color="#26C9FF" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4e580e3e/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as b/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as
index a39aaee..74a4df6 100644
--- a/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as
+++ b/frameworks/projects/CreateJS/src/main/flex/CreateJSClasses.as
@@ -30,7 +30,8 @@ internal class CreateJSClasses
import org.apache.flex.createjs.core.UIBase; UIBase;
import org.apache.flex.createjs.core.View; View;
import org.apache.flex.createjs.graphics.GraphicShape; GraphicShape;
- import org.apache.flex.createjs.tween.Move; Move;
+ import org.apache.flex.createjs.tween.Tween; Tween;
+ import org.apache.flex.createjs.tween.Sequence; Sequence;
}
}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4e580e3e/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Effect.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Effect.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Effect.as
new file mode 100644
index 0000000..21686fb
--- /dev/null
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Effect.as
@@ -0,0 +1,148 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 org.apache.flex.createjs.tween
+{
+ import org.apache.flex.events.EventDispatcher;
+ import org.apache.flex.events.Event;
+
+ import org.apache.flex.createjs.core.CreateJSBase;
+
+ COMPILE::JS {
+ import createjs.Tween;
+ import createjs.Stage;
+ import createjs.Ease;
+ import createjs.Ticker;
+ }
+
+ /**
+ * This is the base class for the CreateJS/TweenJS effects.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public class Effect extends EventDispatcher
+ {
+ /**
+ * Constructor
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function Effect(target:Object=null)
+ {
+ super();
+
+ _actualTarget = target;
+ }
+
+ private var _target:Object;
+
+ [Bindable("targetChanged")]
+ /**
+ * The object upon which the effect is being made. This can be either an
+ * actual object or the ID (String) of an object.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function get target():Object
+ {
+ return _target;
+ }
+ public function set target(value:Object):void
+ {
+ _target = value;
+ if (value != null) {
+ if (value is String) {
+ // if this is an id, then look it up somehow - don't know how yet
+ }
+ else {
+ _actualTarget = value;
+ }
+
+ dispatchEvent(new Event("targetChanged"));
+ }
+ }
+
+
+ /**
+ * @private
+ */
+ protected var _actualTarget:Object;
+
+ /**
+ * The duration of the effect, defaults to 1000 (1 second).
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var duration:Number = 1000;
+
+ /**
+ * Determines if the effect should loop continuously or not. The default
+ * is false (do not loop).
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var loop:Boolean = false;
+
+ /**
+ * @private
+ * Returns the options necessary for an effect to take place. This is an
+ * internally used function.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function createTweenOptions():Object
+ {
+ // implement in subclass
+ return null;
+ }
+
+
+ /**
+ * Plays the effect on the target object
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ * @flexignorecoercion createjs.Shape
+ * @flexignorecoercion org.apache.flex.createjs.core.CreateJSBase
+ */
+ public function play():void
+ {
+ // supply in subclass
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4e580e3e/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Move.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Move.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Move.as
deleted file mode 100644
index 4644ab1..0000000
--- a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Move.as
+++ /dev/null
@@ -1,149 +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 org.apache.flex.createjs.tween
-{
- import org.apache.flex.events.EventDispatcher;
-
- import org.apache.flex.createjs.core.CreateJSBase;
-
- COMPILE::JS {
- import createjs.Tween;
- import createjs.Stage;
- import createjs.Ease;
- import createjs.Ticker;
- }
-
- /**
- * The Move effect animates an object from one place to another. Once the
- * target object is set, its starting position may be given (or its current
- * location will be used) and an ending position given, the play() function
- * is used to make the animation have effect.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public class Move extends EventDispatcher
- {
- /**
- * Constructor
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public function Move(target:Object=null)
- {
- super();
-
- actualTarget = target;
- }
-
-
- private var _actualTarget:Object;
-
- /**
- * @private
- * The actual target.
- */
- public function get actualTarget():Object
- {
- return _actualTarget;
- }
- public function set actualTarget(value:Object):void
- {
- _actualTarget = value;
- }
-
-
- /**
- * Starting x value. If NaN, the current x value is used
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public var xFrom:Number;
-
- /**
- * Ending x value. If NaN, the current x value is not changed
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public var xTo:Number;
-
- /**
- * Starting y value. If NaN, the current y value is used
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public var yFrom:Number;
-
- /**
- * Ending y value. If NaN, the current y value is not changed
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- */
- public var yTo:Number;
-
- COMPILE::JS
- private var tween:createjs.Tween;
-
- /**
- * Causes the target object to move between its starting and ending positions.
- *
- * @langversion 3.0
- * @playerversion Flash 9
- * @playerversion AIR 1.1
- * @productversion Flex 3
- * @flexignorecoercion createjs.Shape
- * @flexignorecoercion org.apache.flex.createjs.core.CreateJSBase
- */
- public function play():void
- {
- COMPILE::JS {
- var target:CreateJSBase = actualTarget as CreateJSBase;
- var element:createjs.Shape = target.element as createjs.Shape;
- tween = createjs.Tween.get(element, {loop: false});
-
- var options:Object = {x:xTo, y:yTo};
-
- if (!isNaN(xFrom)) target.x = xFrom;
- if (!isNaN(yFrom)) target.y = yFrom;
-
- tween.to( options, 1000, createjs.Ease.getPowInOut(2));
-
- var stage:createjs.Stage = element.getStage();
- createjs.Ticker.addEventListener("tick", stage);
- }
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4e580e3e/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Sequence.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Sequence.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Sequence.as
new file mode 100644
index 0000000..3e5cd6f
--- /dev/null
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Sequence.as
@@ -0,0 +1,95 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 org.apache.flex.createjs.tween
+{
+ import org.apache.flex.createjs.core.CreateJSBase;
+
+ COMPILE::JS {
+ import createjs.Tween;
+ import createjs.Stage;
+ import createjs.Ease;
+ import createjs.Ticker;
+ }
+
+ /**
+ * The Sequence effect plays a set of effects, one after the other.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public class Sequence extends Effect
+ {
+ /**
+ * Constructor
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function Sequence(target:Object=null)
+ {
+ super(target);
+
+ _tweens = [];
+ }
+
+ private var _tweens:Array;
+
+ public function addEffect(effect:Effect):void
+ {
+ _tweens.push(effect);
+ }
+
+ COMPILE::JS
+ private var _tween:createjs.Tween;
+
+ /**
+ * Causes the effects in the tween list to be played, one after the other.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ * @flexignorecoercion createjs.Shape
+ * @flexignorecoercion org.apache.flex.createjs.core.CreateJSBase
+ */
+ override public function play():void
+ {
+ COMPILE::JS {
+ var target:CreateJSBase = _actualTarget as CreateJSBase;
+ var element:createjs.Shape = target.element as createjs.Shape;
+ _tween = createjs.Tween.get(element, {loop: loop});
+ _tween.setPaused(true);
+
+ for (var i:int=0; i < _tweens.length; i++) {
+ var e:Effect = _tweens[i] as Effect;
+ var options:Object = e.createTweenOptions();
+ _tween.to( options, e.duration, createjs.Ease.getPowInOut(2));
+ }
+
+ _tween.setPaused(false);
+ var stage:createjs.Stage = element.getStage();
+ createjs.Ticker.addEventListener("tick", stage);
+ }
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4e580e3e/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Tween.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Tween.as b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Tween.as
new file mode 100644
index 0000000..ade06f5
--- /dev/null
+++ b/frameworks/projects/CreateJS/src/main/flex/org/apache/flex/createjs/tween/Tween.as
@@ -0,0 +1,177 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 org.apache.flex.createjs.tween
+{
+ import org.apache.flex.createjs.core.CreateJSBase;
+
+ COMPILE::JS {
+ import createjs.Tween;
+ import createjs.Stage;
+ import createjs.Ease;
+ import createjs.Ticker;
+ }
+
+ /**
+ * The Tween effect animates an object from one place to another; it can also
+ * fade and object in and out by adjusting the object's alpha value. Once the
+ * target object is set, its starting position may be given (or its current
+ * location will be used) and an ending position given, the play() function
+ * is used to make the animation have effect.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public class Tween extends Effect
+ {
+ /**
+ * Constructor
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function Tween(target:Object=null)
+ {
+ super(target);
+ }
+
+ /**
+ * Starting x value. If NaN, the current x value is used
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var xFrom:Number;
+
+ /**
+ * Ending x value. If NaN, the current x value is not changed
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var xTo:Number;
+
+ /**
+ * Starting y value. If NaN, the current y value is used
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var yFrom:Number;
+
+ /**
+ * Ending y value. If NaN, the current y value is not changed
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var yTo:Number;
+
+ /**
+ * Starting alpha value. If NaN, the current alpha value is used
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var alphaFrom:Number;
+
+ /**
+ * Ending alpha value. If NaN, the current alpha value is not changed
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public var alphaTo:Number;
+
+ COMPILE::JS
+ private var _tween:createjs.Tween;
+
+ /**
+ * @private
+ * @flexignorecoercion createjs.Shape
+ * @flexignorecoercion createjs.Tween
+ * @flexignorecoercion org.apache.flex.createjs.core.CreateJSBase
+ */
+ override public function createTweenOptions():Object
+ {
+ COMPILE::AS3 {
+ return null;
+ }
+ COMPILE::JS {
+ var target:CreateJSBase = _actualTarget as CreateJSBase;
+ var element:createjs.Shape = target.element as createjs.Shape;
+
+ // initialize options with the original values. if target values
+ // are supplied, replace the original values with the targets.
+ var options:Object = {};
+ if (!isNaN(xTo)) options["x"] = xTo;
+ if (!isNaN(yTo)) options["y"] = yTo;
+ if (!isNaN(alphaTo)) options["alpha"] = alphaTo;
+
+ // if precondition values are set, move or set the target accordingly.
+ if (!isNaN(xFrom)) target.x = xFrom;
+ if (!isNaN(yFrom)) target.y = yFrom;
+ if (!isNaN(alphaFrom)) target.alpha = alphaFrom;
+
+ return options;
+ }
+ }
+
+ /**
+ * Causes the target object to move between its starting and ending positions.
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ * @flexignorecoercion createjs.Shape
+ * @flexignorecoercion createjs.Tween
+ * @flexignorecoercion org.apache.flex.createjs.core.CreateJSBase
+ */
+ override public function play():void
+ {
+ COMPILE::JS {
+ var target:CreateJSBase = _actualTarget as CreateJSBase;
+ var element:createjs.Shape = target.element as createjs.Shape;
+ _tween = createjs.Tween.get(element, {loop: loop});
+
+ var options:Object = createTweenOptions();
+ _tween.to(options, duration, createjs.Ease.getPowInOut(2));
+
+ var stage:createjs.Stage = element.getStage();
+ createjs.Ticker.addEventListener("tick", stage);
+ }
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/4e580e3e/frameworks/projects/CreateJS/src/main/resources/createjs-manifest.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/resources/createjs-manifest.xml b/frameworks/projects/CreateJS/src/main/resources/createjs-manifest.xml
index ec1414f..1440064 100644
--- a/frameworks/projects/CreateJS/src/main/resources/createjs-manifest.xml
+++ b/frameworks/projects/CreateJS/src/main/resources/createjs-manifest.xml
@@ -29,6 +29,7 @@
<component id="Label" class="org.apache.flex.createjs.Label"/>
<component id="Circle" class="org.apache.flex.createjs.graphics.Circle" />
<component id="Rect" class="org.apache.flex.createjs.graphics.Rect" />
- <component id="Move" class="org.apache.flex.createjs.tween.Move" />
+ <component id="Tween" class="org.apache.flex.createjs.tween.Tween" />
+ <component id="Sequence" class="org.apache.flex.createjs.tween.Sequence" />
</componentPackage>
[14/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - updated
XMLTest
Posted by ah...@apache.org.
updated XMLTest
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7c5a215a
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7c5a215a
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7c5a215a
Branch: refs/heads/spark
Commit: 7c5a215a7586291b0df2b4297806c44151402b23
Parents: 0981892
Author: Harbs <ha...@in-tools.com>
Authored: Thu Apr 14 00:13:14 2016 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Thu Apr 14 00:13:14 2016 +0300
----------------------------------------------------------------------
manualtests/XMLTest/src/MyInitialView.mxml | 54 ++++++++++++++++++++++++-
1 file changed, 52 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7c5a215a/manualtests/XMLTest/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/manualtests/XMLTest/src/MyInitialView.mxml b/manualtests/XMLTest/src/MyInitialView.mxml
index 83de865..a60578c 100644
--- a/manualtests/XMLTest/src/MyInitialView.mxml
+++ b/manualtests/XMLTest/src/MyInitialView.mxml
@@ -35,6 +35,7 @@ limitations under the License.
<![CDATA[
import XML;
+ import mx.collections.XMLListCollection;
private var xmlStr:String = '<?xml version="1.0" encoding="UTF-8" ?>'+
'<catalog xmlns:fx="http://ns.adobe.com/mxml/2009"'+
@@ -135,8 +136,8 @@ trace(prod.childIndex());
list4[1] = <a id="2"/>;
list4[2] = <a id="3"/>;
//JIRA https://issues.apache.org/jira/browse/FLEX-35072
-// list1 += list4
-list1.concat(list4);
+ list1 += list4
+//list1.concat(list4);
xml2.insertChildAfter(xml2.a,<a id="123"/>);
xml2.a = list4;
xml2.a = <a id="123"/>;
@@ -185,7 +186,56 @@ list1.concat(list4);
trace(list1.toXMLString());
trace(list1.toString());
trace("done");
+ trace("test 3");
+var xmlSource:XML =
+<xmlParentNode>
+ <Set1>
+ <child><year>2015</year></child>
+ <child><year>2016</year></child>
+ <child><year>2017</year></child>
+ </Set1>
+ <Set2>
+ <child><year>2015</year></child>
+ <child><year>2016</year></child>
+ <child><year>2017</year></child>
+ </Set2>
+</xmlParentNode>;
+
+//var xmllcSet1:XMLListCollection = new XMLListCollection();
+//var xmllcSet2:XMLListCollection = new XMLListCollection();
+
+//xmllcSet1.source = xmlSource.Set1.child;
+//xmllcSet2.source = xmlSource.Set2.child;
+
+var xmllcSet1:XMLList = xmlSource.Set1.child;
+var xmllcSet2:XMLList = xmlSource.Set2.child;
+
+trace(xmllcSet1.toXMLString());
+trace(xmllcSet2.toXMLString());
+
+
+//var xmllcFiltered: XMLListCollection = new XMLListCollection();
+
+//xmllcFiltered.source = xmlSource.Set1.child.(year == "2015");
+var xmllcFiltered:XMLList = xmlSource.Set1.child.(year == "2015");
+trace(xmllcFiltered.toXMLString());
+trace("test 4");
+var svg:XML = <svg>
+ <group>
+ <rect id="1" />
+ <rect id="2" />
+ </group>
+ <group>
+ <rect id="3" />
+ <rect id="4" />
+ </group>
+</svg>;
+
+var rects:XMLList = svg..rect;
+rects[1].@width = "100px";
+rects.(@id==3).@height = "100px";
+trace(rects.toXMLString());
}
]]>
</fx:Script>
[28/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - - Merged
upstream changes
Posted by ah...@apache.org.
- Merged upstream changes
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/087dd824
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/087dd824
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/087dd824
Branch: refs/heads/spark
Commit: 087dd82487253e4792de023dd54e57912236dd1a
Parents: b9e1b5e
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Fri Apr 22 16:22:36 2016 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Fri Apr 22 16:22:36 2016 +0200
----------------------------------------------------------------------
frameworks/projects/Core/pom.xml | 7 -------
1 file changed, 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/087dd824/frameworks/projects/Core/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/pom.xml b/frameworks/projects/Core/pom.xml
index 16694c4..6def4fd 100644
--- a/frameworks/projects/Core/pom.xml
+++ b/frameworks/projects/Core/pom.xml
@@ -58,13 +58,6 @@
<type>swc</type>
<scope>external</scope>
</dependency>
- <dependency>
- <groupId>com.adobe.flash.framework</groupId>
- <artifactId>playerglobal</artifactId>
- <version>20.0</version>
- <type>swc</type>
- <scope>external</scope>
- </dependency>
</dependencies>
</project>
[07/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - removed
unnecessary variable
Posted by ah...@apache.org.
removed unnecessary variable
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/7e660ea7
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/7e660ea7
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/7e660ea7
Branch: refs/heads/spark
Commit: 7e660ea7fb7c5cefdecd794ff8797de675981481
Parents: 923fc78
Author: Harbs <ha...@in-tools.com>
Authored: Wed Apr 13 00:29:11 2016 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Wed Apr 13 00:29:11 2016 +0300
----------------------------------------------------------------------
frameworks/projects/XML/src/main/flex/XMLList.as | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/7e660ea7/frameworks/projects/XML/src/main/flex/XMLList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/flex/XMLList.as b/frameworks/projects/XML/src/main/flex/XMLList.as
index 6b3e3d2..0dac7af 100644
--- a/frameworks/projects/XML/src/main/flex/XMLList.as
+++ b/frameworks/projects/XML/src/main/flex/XMLList.as
@@ -664,8 +664,7 @@ package
COMPILE::JS
public function setChild(elementName:*, elements:Object):void
{
- var len:int = _xmlArray.length;
- if(len == 1)
+ if(_xmlArray.length == 1)
_xmlArray[0].setChild(elementName,elements);
}
[13/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - fix up
after changing FalconJX to no longer automatically generate release build
through GCC
Posted by ah...@apache.org.
fix up after changing FalconJX to no longer automatically generate release build through GCC
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/0981892f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0981892f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0981892f
Branch: refs/heads/spark
Commit: 0981892f2957d30e741159be2623df20f42979a1
Parents: f3c785a
Author: Alex Harui <ah...@apache.org>
Authored: Wed Apr 13 12:24:47 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Apr 13 12:24:47 2016 -0700
----------------------------------------------------------------------
examples/build_example.xml | 6 ++---
.../FlexJS (FalconJX Debug Build).launch | 28 ++++++++++++++++++++
...JS (FalconJX Debug and Release Build).launch | 2 +-
3 files changed, 32 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0981892f/examples/build_example.xml
----------------------------------------------------------------------
diff --git a/examples/build_example.xml b/examples/build_example.xml
index 44c88a7..15f3596 100644
--- a/examples/build_example.xml
+++ b/examples/build_example.xml
@@ -234,7 +234,7 @@
<jvmarg line="${mxmlc.jvm.args}"/>
<jvmarg line="-Dflexlib=${FLEXJS_HOME}/frameworks}"/>
<arg value="+flexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="-debug" />
+ <arg value="-debug=false" />
<arg value="${theme_arg}" />
<arg value="-compiler.mxml.children-as-data" />
<arg value="-compiler.binding-value-change-event=org.apache.flex.events.ValueChangeEvent" />
@@ -278,7 +278,7 @@
<jvmarg line="-Dflexlib=${FLEXJS_HOME}/frameworks}"/>
<arg value="+flexlib=${FLEXJS_HOME}/frameworks" />
<arg value="+configname=air" />
- <arg value="-debug" />
+ <arg value="-debug=false" />
<arg value="${theme_arg}" />
<arg value="-compiler.mxml.children-as-data" />
<arg value="-compiler.binding-value-change-event=org.apache.flex.events.ValueChangeEvent" />
@@ -321,7 +321,7 @@
<jvmarg line="${mxmlc.jvm.args}"/>
<jvmarg line="-Dflexlib=${FLEXJS_HOME}/frameworks}"/>
<arg value="+flexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="-debug" />
+ <arg value="-debug=false" />
<arg value="${theme_arg}" />
<arg value="-define=CONFIG::as_only,false" />
<arg value="-define=CONFIG::js_only,true" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0981892f/ide/flashbuilder/FlexJS (FalconJX Debug Build).launch
----------------------------------------------------------------------
diff --git a/ide/flashbuilder/FlexJS (FalconJX Debug Build).launch b/ide/flashbuilder/FlexJS (FalconJX Debug Build).launch
new file mode 100644
index 0000000..96f8cfc
--- /dev/null
+++ b/ide/flashbuilder/FlexJS (FalconJX Debug Build).launch
@@ -0,0 +1,28 @@
+<?xml version='1.0' encoding='UTF-8' standalone='no'?>
+<!--
+
+ 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.
+
+-->
+<launchConfiguration type='org.eclipse.ui.externaltools.ProgramLaunchConfigurationType'>
+<booleanAttribute key='org.eclipse.debug.core.appendEnvironmentVariables' value='false'/>
+<listAttribute key='org.eclipse.debug.ui.favoriteGroups'>
+<listEntry value='org.eclipse.ui.externaltools.launchGroup'/>
+</listAttribute>
+<stringAttribute key='org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE' value='${project}'/>
+<stringAttribute key='org.eclipse.ui.externaltools.ATTR_LOCATION' value='$FLEXJS_HOME/js/bin/$MXMLC'/>
+<stringAttribute key='org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS' value='-debug=true -fb "${project_loc}"'/>
+</launchConfiguration>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0981892f/ide/flashbuilder/FlexJS (FalconJX Debug and Release Build).launch
----------------------------------------------------------------------
diff --git a/ide/flashbuilder/FlexJS (FalconJX Debug and Release Build).launch b/ide/flashbuilder/FlexJS (FalconJX Debug and Release Build).launch
index a3cab05..2da874d 100644
--- a/ide/flashbuilder/FlexJS (FalconJX Debug and Release Build).launch
+++ b/ide/flashbuilder/FlexJS (FalconJX Debug and Release Build).launch
@@ -24,5 +24,5 @@
</listAttribute>
<stringAttribute key='org.eclipse.ui.externaltools.ATTR_LAUNCH_CONFIGURATION_BUILD_SCOPE' value='${project}'/>
<stringAttribute key='org.eclipse.ui.externaltools.ATTR_LOCATION' value='$FLEXJS_HOME/js/bin/$MXMLC'/>
-<stringAttribute key='org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS' value='-fb "${project_loc}"'/>
+<stringAttribute key='org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS' value='-debug=false -fb "${project_loc}"'/>
</launchConfiguration>
[39/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - fix paths
Posted by ah...@apache.org.
fix paths
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/1ef10bbe
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/1ef10bbe
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/1ef10bbe
Branch: refs/heads/spark
Commit: 1ef10bbe074f65b400ab15d525f548d1b7735201
Parents: 5e9e152
Author: Alex Harui <ah...@apache.org>
Authored: Fri Apr 29 22:41:33 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Apr 29 22:41:33 2016 -0700
----------------------------------------------------------------------
build.xml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/1ef10bbe/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 941b75d..6bb5fa0 100644
--- a/build.xml
+++ b/build.xml
@@ -289,12 +289,12 @@
property="FALCON_HOME"
value="${basedir}"/>
- <available file="${basedir}/../flex-falcon/compiler/generated/dist/sdk/lib/falcon-mxmlc.jar"
+ <available file="${basedir}/../flex-falcon/compiler/lib/falcon-mxmlc.jar"
type="file"
property="FALCON_HOME"
- value="${basedir}/../flex-falcon/compiler/generated/dist/sdk"/>
+ value="${basedir}/../flex-falcon/compiler"/>
- <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"
+ <fail message="FALCON_HOME must be set to a folder with a lib sub-folder containing falcon-mxmlc.jar such as the compiler folder in flex-falcon repo or this folder if it has been converted into an FB-compatible SDK"
unless="FALCON_HOME"/>
</target>
@@ -308,17 +308,17 @@
property="FALCONJX_HOME"
value="${env.FALCONJX_HOME}"/>
- <available file="${basedir}/../flex-falcon/compiler.jx/lib/jsc.jar"
+ <available file="${basedir}/../flex-falcon/compiler-jx/lib/jsc.jar"
type="file"
property="FALCONJX_HOME"
- value="${basedir}/../flex-falcon/compiler.jx"/>
+ value="${basedir}/../flex-falcon/compiler-jx"/>
<available file="${basedir}/js/lib/jsc.jar"
type="file"
property="FALCONJX_HOME"
value="${basedir}/js"/>
- <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"
+ <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>
[32/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - -
Renamed the config files to compile-as-config.xml (ActionScript Part) and
compile-js-config.xml (JavaScript Part) - Added TODO comments to places I
found strange.
Posted by ah...@apache.org.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Formatters/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/src/main/config/compile-asjs-config.xml b/frameworks/projects/Formatters/src/main/config/compile-asjs-config.xml
deleted file mode 100644
index caeadfd..0000000
--- a/frameworks/projects/Formatters/src/main/config/compile-asjs-config.xml
+++ /dev/null
@@ -1,80 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-classes>
- <class>FormattersClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Formatters/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/src/main/config/compile-config.xml b/frameworks/projects/Formatters/src/main/config/compile-config.xml
deleted file mode 100644
index b5445c9..0000000
--- a/frameworks/projects/Formatters/src/main/config/compile-config.xml
+++ /dev/null
@@ -1,79 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>FormattersClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Formatters/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/src/main/config/compile-js-config.xml b/frameworks/projects/Formatters/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..d18303a
--- /dev/null
+++ b/frameworks/projects/Formatters/src/main/config/compile-js-config.xml
@@ -0,0 +1,80 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../../../externs/HTML.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-classes>
+ <class>FormattersClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/GoogleMaps/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/config/compile-as-config.xml b/frameworks/projects/GoogleMaps/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..ce7e95a
--- /dev/null
+++ b/frameworks/projects/GoogleMaps/src/main/config/compile-as-config.xml
@@ -0,0 +1,83 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/google</uri>
+ <manifest>../src/main/resources/google-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>GoogleStubClasses</class>
+ <class>GoogleMapsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/google</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/GoogleMaps/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/config/compile-asjs-config.xml b/frameworks/projects/GoogleMaps/src/main/config/compile-asjs-config.xml
deleted file mode 100644
index 22fc5d9..0000000
--- a/frameworks/projects/GoogleMaps/src/main/config/compile-asjs-config.xml
+++ /dev/null
@@ -1,75 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/google</uri>
- <manifest>google-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-classes>
- <class>GoogleStubClasses</class>
- <class>GoogleMapsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/google</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/GoogleMaps/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/config/compile-config.xml b/frameworks/projects/GoogleMaps/src/main/config/compile-config.xml
deleted file mode 100644
index 9e2abd6..0000000
--- a/frameworks/projects/GoogleMaps/src/main/config/compile-config.xml
+++ /dev/null
@@ -1,83 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/google</uri>
- <manifest>google-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>GoogleStubClasses</class>
- <class>GoogleMapsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/google</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/GoogleMaps/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/src/main/config/compile-js-config.xml b/frameworks/projects/GoogleMaps/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..440e4ae
--- /dev/null
+++ b/frameworks/projects/GoogleMaps/src/main/config/compile-js-config.xml
@@ -0,0 +1,75 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/google</uri>
+ <manifest>../src/main/resources/google-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-classes>
+ <class>GoogleStubClasses</class>
+ <class>GoogleMapsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/google</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Graphics/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/config/compile-as-config.xml b/frameworks/projects/Graphics/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..12db487
--- /dev/null
+++ b/frameworks/projects/Graphics/src/main/config/compile-as-config.xml
@@ -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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>GraphicsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Graphics/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/config/compile-asjs-config.xml b/frameworks/projects/Graphics/src/main/config/compile-asjs-config.xml
deleted file mode 100644
index aa9ab36..0000000
--- a/frameworks/projects/Graphics/src/main/config/compile-asjs-config.xml
+++ /dev/null
@@ -1,82 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>GraphicsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Graphics/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/config/compile-config.xml b/frameworks/projects/Graphics/src/main/config/compile-config.xml
deleted file mode 100644
index 9fc8b25..0000000
--- a/frameworks/projects/Graphics/src/main/config/compile-config.xml
+++ /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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>GraphicsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Graphics/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/config/compile-js-config.xml b/frameworks/projects/Graphics/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..7a280a6
--- /dev/null
+++ b/frameworks/projects/Graphics/src/main/config/compile-js-config.xml
@@ -0,0 +1,82 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>GraphicsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/HTML/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/config/compile-as-config.xml b/frameworks/projects/HTML/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..dd172cd
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/config/compile-as-config.xml
@@ -0,0 +1,95 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Binding.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/Graphics.swc</path-element>
+ <path-element>../../../../../libs/Collections.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ <!-- TODO: Why is this needed? -->
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-as-manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/svg</uri>
+ <manifest>../src/main/resources/svg-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>HTMLClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <uri>library://ns.apache.org/flexjs/svg</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/HTML/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/config/compile-asjs-config.xml b/frameworks/projects/HTML/src/main/config/compile-asjs-config.xml
deleted file mode 100644
index b578f84..0000000
--- a/frameworks/projects/HTML/src/main/config/compile-asjs-config.xml
+++ /dev/null
@@ -1,90 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Binding.swc</path-element>
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/Graphics.swc</path-element>
- <path-element>../../../../../externs/Collections.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/flexjs/svg</uri>
- <manifest>svg-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>HTMLClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <uri>library://ns.apache.org/flexjs/svg</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/HTML/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/config/compile-config.xml b/frameworks/projects/HTML/src/main/config/compile-config.xml
deleted file mode 100644
index 7f2b812..0000000
--- a/frameworks/projects/HTML/src/main/config/compile-config.xml
+++ /dev/null
@@ -1,94 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Binding.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/Graphics.swc</path-element>
- <path-element>../../../../../libs/Collections.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-as-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/flexjs/svg</uri>
- <manifest>svg-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>HTMLClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <uri>library://ns.apache.org/flexjs/svg</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/HTML/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/src/main/config/compile-js-config.xml b/frameworks/projects/HTML/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..56b3739
--- /dev/null
+++ b/frameworks/projects/HTML/src/main/config/compile-js-config.xml
@@ -0,0 +1,90 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Binding.swc</path-element>
+ <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../../../externs/Graphics.swc</path-element>
+ <path-element>../../../../../externs/Collections.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/svg</uri>
+ <manifest>../src/main/resources/svg-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>HTMLClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <uri>library://ns.apache.org/flexjs/svg</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/HTML5/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/src/main/config/compile-as-config.xml b/frameworks/projects/HTML5/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..8cd01a7
--- /dev/null
+++ b/frameworks/projects/HTML5/src/main/config/compile-as-config.xml
@@ -0,0 +1,83 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/HTML.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/html5</uri>
+ <manifest>../src/main/resources/html5-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>HTML5Classes</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/html5</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/HTML5/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/src/main/config/compile-asjs-config.xml b/frameworks/projects/HTML5/src/main/config/compile-asjs-config.xml
deleted file mode 100644
index c3db508..0000000
--- a/frameworks/projects/HTML5/src/main/config/compile-asjs-config.xml
+++ /dev/null
@@ -1,70 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
- </library-path>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-sources>
- <path-element>../flex</path-element>
- </include-sources>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/html5</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/HTML5/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/src/main/config/compile-config.xml b/frameworks/projects/HTML5/src/main/config/compile-config.xml
deleted file mode 100644
index 75d4ef8..0000000
--- a/frameworks/projects/HTML5/src/main/config/compile-config.xml
+++ /dev/null
@@ -1,83 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/html5</uri>
- <manifest>html5-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>HTML5Classes</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/html5</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/HTML5/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/src/main/config/compile-js-config.xml b/frameworks/projects/HTML5/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..9fcaea5
--- /dev/null
+++ b/frameworks/projects/HTML5/src/main/config/compile-js-config.xml
@@ -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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../../../externs/HTML.swc</path-element>
+ </library-path>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <!-- TODO: Why are these included? -->
+ <include-sources>
+ <path-element>../src/main/flex</path-element>
+ </include-sources>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/html5</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/JQuery/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/src/main/config/compile-as-config.xml b/frameworks/projects/JQuery/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..02dd1b8
--- /dev/null
+++ b/frameworks/projects/JQuery/src/main/config/compile-as-config.xml
@@ -0,0 +1,83 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/HTML.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/jquery</uri>
+ <manifest>../src/main/resources/jquery-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>JQueryClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/jquery</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/JQuery/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/src/main/config/compile-asjs-config.xml b/frameworks/projects/JQuery/src/main/config/compile-asjs-config.xml
deleted file mode 100644
index cedda1b..0000000
--- a/frameworks/projects/JQuery/src/main/config/compile-asjs-config.xml
+++ /dev/null
@@ -1,86 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Binding.swc</path-element>
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/Graphics.swc</path-element>
- <path-element>../../../../../externs/Collections.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/jquery</uri>
- <manifest>jquery-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>HTMLClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/jquery</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/JQuery/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/src/main/config/compile-config.xml b/frameworks/projects/JQuery/src/main/config/compile-config.xml
deleted file mode 100644
index 414b151..0000000
--- a/frameworks/projects/JQuery/src/main/config/compile-config.xml
+++ /dev/null
@@ -1,83 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/jquery</uri>
- <manifest>jquery-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>JQueryClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/jquery</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/JQuery/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/src/main/config/compile-js-config.xml b/frameworks/projects/JQuery/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..b2a1367
--- /dev/null
+++ b/frameworks/projects/JQuery/src/main/config/compile-js-config.xml
@@ -0,0 +1,87 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Binding.swc</path-element>
+ <path-element>../../../../../externs/Core.swc</path-element>
+ <!-- TODO: Why do we need these libs for JS, but not for AS? -->
+ <path-element>../../../../../externs/Graphics.swc</path-element>
+ <path-element>../../../../../externs/Collections.swc</path-element>
+ <path-element>../../../../../externs/HTML.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/jquery</uri>
+ <manifest>../src/main/resources/jquery-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>HTMLClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/jquery</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Mobile/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/config/compile-as-config.xml b/frameworks/projects/Mobile/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..0f5ebc4
--- /dev/null
+++ b/frameworks/projects/Mobile/src/main/config/compile-as-config.xml
@@ -0,0 +1,89 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/Graphics.swc</path-element>
+ <path-element>../../../../../libs/HTML.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/cordova</uri>
+ <manifest>../src/main/resources/cordova-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>MobileClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <uri>library://ns.apache.org/flexjs/cordova</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Mobile/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/config/compile-asjs-config.xml b/frameworks/projects/Mobile/src/main/config/compile-asjs-config.xml
deleted file mode 100644
index f23d6d3..0000000
--- a/frameworks/projects/Mobile/src/main/config/compile-asjs-config.xml
+++ /dev/null
@@ -1,89 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/Graphics.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/flexjs/cordova</uri>
- <manifest>cordova-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>MobileClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <uri>library://ns.apache.org/flexjs/cordova</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9dbcb5d1/frameworks/projects/Mobile/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/src/main/config/compile-config.xml b/frameworks/projects/Mobile/src/main/config/compile-config.xml
deleted file mode 100644
index 3ce0c19..0000000
--- a/frameworks/projects/Mobile/src/main/config/compile-config.xml
+++ /dev/null
@@ -1,89 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/Graphics.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- <namespace>
- <uri>library://ns.apache.org/flexjs/cordova</uri>
- <manifest>cordova-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>MobileClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <uri>library://ns.apache.org/flexjs/cordova</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
[27/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Merge
branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-asjs into
feature/maven-migration
Posted by ah...@apache.org.
Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-asjs into feature/maven-migration
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b9e1b5e2
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b9e1b5e2
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b9e1b5e2
Branch: refs/heads/spark
Commit: b9e1b5e29b26b076323229d62948e2849e72f062
Parents: b2f5d12 9a52f49
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Thu Apr 21 09:30:56 2016 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Thu Apr 21 09:30:56 2016 +0200
----------------------------------------------------------------------
examples/flexjs/CreateJSExample/build.xml | 45 ++
examples/flexjs/CreateJSExample/pom.xml | 50 ++
.../CreateJSExample/src/CreateJSExample.mxml | 42 ++
examples/flexjs/CreateJSExample/src/README.txt | 26 +
.../CreateJSExample/src/models/MyModel.as | 34 +
.../flexjs/FlexWebsiteStatsViewer/build.xml | 4 +-
.../FlexWebsiteStatsViewer/src/StatsView.mxml | 26 +-
.../flex/org/apache/flex/core/UIButtonBase.as | 2 +
.../src/main/config/compile-asjs-config.xml | 1 +
.../CreateJS/src/main/config/compile-config.xml | 1 +
.../CreateJS/src/main/flex/CreateJSClasses.as | 3 +
.../org/apache/flex/createjs/Application.as | 331 ++++++++-
.../flex/org/apache/flex/createjs/CheckBox.as | 156 ++++-
.../flex/org/apache/flex/createjs/Container.as | 301 +++++++++
.../main/flex/org/apache/flex/createjs/Label.as | 150 ++++-
.../flex/org/apache/flex/createjs/TextButton.as | 195 ++++--
.../apache/flex/createjs/core/CreateJSBase.as | 164 +++++
.../org/apache/flex/createjs/core/UIBase.as | 675 +++++++++++++------
.../flex/org/apache/flex/createjs/core/View.as | 325 +++++++++
.../org/apache/flex/createjs/core/ViewBase.as | 206 ------
.../org/apache/flex/createjs/graphics/Circle.as | 94 +++
.../flex/createjs/graphics/GraphicShape.as | 76 +++
.../org/apache/flex/createjs/graphics/Rect.as | 93 +++
.../src/main/resources/createjs-manifest.xml | 8 +-
.../CreateJS/src/main/resources/defaults.css | 21 +-
25 files changed, 2470 insertions(+), 559 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b9e1b5e2/frameworks/projects/CreateJS/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --cc frameworks/projects/CreateJS/src/main/config/compile-asjs-config.xml
index cd48012,0000000..3e82454
mode 100644,000000..100644
--- a/frameworks/projects/CreateJS/src/main/config/compile-asjs-config.xml
+++ b/frameworks/projects/CreateJS/src/main/config/compile-asjs-config.xml
@@@ -1,83 -1,0 +1,84 @@@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/createjs</uri>
+ <manifest>createjs-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <library-path>
+ <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../../../externs/HTML.swc</path-element>
++ <path-element>../../../../../externs/Graphics.swc</path-element>
+ </library-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>CreateJSClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/createjs</uri>
+ </include-namespaces>
+
+ <!--<target-player>${playerglobal.version}</target-player>-->
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b9e1b5e2/frameworks/projects/CreateJS/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --cc frameworks/projects/CreateJS/src/main/config/compile-config.xml
index 46f455d,0000000..1ce2f99
mode 100644,000000..100644
--- a/frameworks/projects/CreateJS/src/main/config/compile-config.xml
+++ b/frameworks/projects/CreateJS/src/main/config/compile-config.xml
@@@ -1,83 -1,0 +1,84 @@@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/HTML.swc</path-element>
++ <path-element>../../../../../libs/Graphics.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/createjs</uri>
+ <manifest>createjs-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>CreateJSClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/createjs</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
[22/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Adding
CreateJS example.
Posted by ah...@apache.org.
Adding CreateJS example.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/9a52f49f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9a52f49f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9a52f49f
Branch: refs/heads/spark
Commit: 9a52f49f696330dd566c3e96f11f8d9e354370a9
Parents: 1f399ec
Author: Peter Ent <pe...@apache.org>
Authored: Tue Apr 19 11:19:07 2016 -0400
Committer: Peter Ent <pe...@apache.org>
Committed: Tue Apr 19 11:19:07 2016 -0400
----------------------------------------------------------------------
examples/flexjs/CreateJSExample/build.xml | 45 ++++++++++++++++++
examples/flexjs/CreateJSExample/pom.xml | 50 ++++++++++++++++++++
.../CreateJSExample/src/CreateJSExample.mxml | 42 ++++++++++++++++
examples/flexjs/CreateJSExample/src/README.txt | 26 ++++++++++
.../CreateJSExample/src/models/MyModel.as | 34 +++++++++++++
5 files changed, 197 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a52f49f/examples/flexjs/CreateJSExample/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CreateJSExample/build.xml b/examples/flexjs/CreateJSExample/build.xml
new file mode 100644
index 0000000..6b8d2f2
--- /dev/null
+++ b/examples/flexjs/CreateJSExample/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="createjsexample" default="main" basedir=".">
+ <property name="FLEXJS_HOME" location="../../.."/>
+ <property name="example" value="CreateJSExample" />
+
+ <property file="${FLEXJS_HOME}/env.properties"/>
+ <property environment="env"/>
+ <property file="${FLEXJS_HOME}/build.properties"/>
+ <property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
+ <property name="opt1_arg" value="-js-output-optimization=skipAsCoercions" />
+
+ <include file="${basedir}/../../build_example.xml" />
+
+ <target name="main" depends="clean,build_example.compile,build_example.compilejs" description="Clean build of ${example}">
+ </target>
+
+ <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/9a52f49f/examples/flexjs/CreateJSExample/pom.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CreateJSExample/pom.xml b/examples/flexjs/CreateJSExample/pom.xml
new file mode 100644
index 0000000..286e2ae
--- /dev/null
+++ b/examples/flexjs/CreateJSExample/pom.xml
@@ -0,0 +1,50 @@
+<?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.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.apache.flex.examples.flexjs</groupId>
+ <artifactId>examples</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <artifactId>DataBindingExample</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <packaging>swf</packaging>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>net.flexmojos.oss</groupId>
+ <artifactId>flexmojos-maven-plugin</artifactId>
+ <version>7.1.0-SNAPSHOT</version>
+ <extensions>true</extensions>
+ <configuration>
+ <sourceFile>DataBindingExample.mxml</sourceFile>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a52f49f/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml b/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml
new file mode 100644
index 0000000..f7c8768
--- /dev/null
+++ b/examples/flexjs/CreateJSExample/src/CreateJSExample.mxml
@@ -0,0 +1,42 @@
+<?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.
+
+-->
+<cjs:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:local="*"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
+ xmlns:cjs="library://ns.apache.org/flexjs/createjs"
+ >
+
+ <js:valuesImpl>
+ <js:SimpleCSSValuesImpl />
+ </js:valuesImpl>
+
+ <js:initialView>
+ <cjs:View>
+
+ <cjs:Circle x="100" y="120" width="100" height="100">
+ <js:fill>
+ <js:SolidColor color="#26C9FF" />
+ </js:fill>
+ </cjs:Circle>
+
+ </cjs:View>
+ </js:initialView>
+
+</cjs:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a52f49f/examples/flexjs/CreateJSExample/src/README.txt
----------------------------------------------------------------------
diff --git a/examples/flexjs/CreateJSExample/src/README.txt b/examples/flexjs/CreateJSExample/src/README.txt
new file mode 100644
index 0000000..4e51a64
--- /dev/null
+++ b/examples/flexjs/CreateJSExample/src/README.txt
@@ -0,0 +1,26 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+DESCRIPTION
+
+This is an example of using the CreateJS framework in FlexJS. The example follows the first
+demo on the CreateJS/EaselJS site, drawing a simple circle.
+
+This example shows how CreateJS can be used with MXML, supplying the object and some of its
+properties directly in MXML.
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/9a52f49f/examples/flexjs/CreateJSExample/src/models/MyModel.as
----------------------------------------------------------------------
diff --git a/examples/flexjs/CreateJSExample/src/models/MyModel.as b/examples/flexjs/CreateJSExample/src/models/MyModel.as
new file mode 100644
index 0000000..9092424
--- /dev/null
+++ b/examples/flexjs/CreateJSExample/src/models/MyModel.as
@@ -0,0 +1,34 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// 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 org.apache.flex.events.Event;
+ import org.apache.flex.events.EventDispatcher;
+
+ /**
+ * This model exists to satisfy the requirement that FlexJS apps have
+ * models.
+ */
+ public class MyModel extends EventDispatcher
+ {
+ public function MyModel()
+ {
+ }
+ }
+}
[02/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - try to
fix checkintests with temporary JS stubs
Posted by ah...@apache.org.
try to fix checkintests with temporary JS stubs
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/6f339dcb
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6f339dcb
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6f339dcb
Branch: refs/heads/spark
Commit: 6f339dcbe066083ac4fbcc9eadf085dbe7db4e70
Parents: fdbc359
Author: Alex Harui <ah...@apache.org>
Authored: Mon Apr 11 22:00:15 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Apr 11 22:00:25 2016 -0700
----------------------------------------------------------------------
build.xml | 2 ++
mustella/js/AssertPropertyValue.js | 37 +++++++++++++++++++++++++++
mustella/js/DispatchMouseClickEvent.js | 37 +++++++++++++++++++++++++++
mustella/js/DispatchMouseEvent.js | 37 +++++++++++++++++++++++++++
mustella/js/ExitWhenDone.js | 37 +++++++++++++++++++++++++++
mustella/js/SendFormattedResultsToLog.js | 37 +++++++++++++++++++++++++++
mustella/js/SetProperty.js | 37 +++++++++++++++++++++++++++
mustella/js/SetShowRTE.js | 37 +++++++++++++++++++++++++++
mustella/js/TestCase.js | 37 +++++++++++++++++++++++++++
mustella/js/UnitTester.js | 37 +++++++++++++++++++++++++++
10 files changed, 335 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f339dcb/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 89d5e5c..43e0a6a 100644
--- a/build.xml
+++ b/build.xml
@@ -1147,8 +1147,10 @@
<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="-library-path+=${FLEX_SDK_HOME}/mustella/mustella.swc" />
<arg value="-js-output-type=FLEXJS" />
<arg value="-closure-lib=${GOOG_HOME}" />
+ <arg value="-sdk-js-lib=${FLEXJS_HOME}/mustella/js" />
<arg value="-sdk-js-lib=${FLEXJS_HOME}/frameworks/js/FlexJS/libs" />
<arg value="${basedir}/mustella/tests/basicTests/BasicTestsApp.mxml" />
</java>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f339dcb/mustella/js/AssertPropertyValue.js
----------------------------------------------------------------------
diff --git a/mustella/js/AssertPropertyValue.js b/mustella/js/AssertPropertyValue.js
new file mode 100644
index 0000000..b7c4e5b
--- /dev/null
+++ b/mustella/js/AssertPropertyValue.js
@@ -0,0 +1,37 @@
+/**
+ * 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.
+ */
+
+/**
+ * AssertPropertyValue (stub, not used)
+ *
+ * @fileoverview
+ *
+ * @suppress {checkTypes}
+ */
+
+goog.provide('AssertPropertyValue');
+
+
+
+/**
+ * @class
+ */
+AssertPropertyValue = function() {
+};
+
+
+/**
+ * @param {Object} c
+ */
+AssertPropertyValue.init = function(c) {};
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f339dcb/mustella/js/DispatchMouseClickEvent.js
----------------------------------------------------------------------
diff --git a/mustella/js/DispatchMouseClickEvent.js b/mustella/js/DispatchMouseClickEvent.js
new file mode 100644
index 0000000..69c9851
--- /dev/null
+++ b/mustella/js/DispatchMouseClickEvent.js
@@ -0,0 +1,37 @@
+/**
+ * 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.
+ */
+
+/**
+ * DispatchMouseClickEvent (stub, not used)
+ *
+ * @fileoverview
+ *
+ * @suppress {checkTypes}
+ */
+
+goog.provide('DispatchMouseClickEvent');
+
+
+
+/**
+ * @class
+ */
+DispatchMouseClickEvent = function() {
+};
+
+
+/**
+ * @param {Object} c
+ */
+DispatchMouseClickEvent.init = function(c) {};
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f339dcb/mustella/js/DispatchMouseEvent.js
----------------------------------------------------------------------
diff --git a/mustella/js/DispatchMouseEvent.js b/mustella/js/DispatchMouseEvent.js
new file mode 100644
index 0000000..3cb3ec5
--- /dev/null
+++ b/mustella/js/DispatchMouseEvent.js
@@ -0,0 +1,37 @@
+/**
+ * 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.
+ */
+
+/**
+ * DispatchMouseEvent (stub, not used)
+ *
+ * @fileoverview
+ *
+ * @suppress {checkTypes}
+ */
+
+goog.provide('DispatchMouseEvent');
+
+
+
+/**
+ * @class
+ */
+DispatchMouseEvent = function() {
+};
+
+
+/**
+ * @param {Object} c
+ */
+DispatchMouseEvent.init = function(c) {};
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f339dcb/mustella/js/ExitWhenDone.js
----------------------------------------------------------------------
diff --git a/mustella/js/ExitWhenDone.js b/mustella/js/ExitWhenDone.js
new file mode 100644
index 0000000..df13031
--- /dev/null
+++ b/mustella/js/ExitWhenDone.js
@@ -0,0 +1,37 @@
+/**
+ * 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.
+ */
+
+/**
+ * ExitWhenDone (stub, not used)
+ *
+ * @fileoverview
+ *
+ * @suppress {checkTypes}
+ */
+
+goog.provide('ExitWhenDone');
+
+
+
+/**
+ * @class
+ */
+ExitWhenDone = function() {
+};
+
+
+/**
+ * @param {Object} c
+ */
+ExitWhenDone.init = function(c) {};
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f339dcb/mustella/js/SendFormattedResultsToLog.js
----------------------------------------------------------------------
diff --git a/mustella/js/SendFormattedResultsToLog.js b/mustella/js/SendFormattedResultsToLog.js
new file mode 100644
index 0000000..09c0603
--- /dev/null
+++ b/mustella/js/SendFormattedResultsToLog.js
@@ -0,0 +1,37 @@
+/**
+ * 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.
+ */
+
+/**
+ * SendFormattedResultsToLog (stub, not used)
+ *
+ * @fileoverview
+ *
+ * @suppress {checkTypes}
+ */
+
+goog.provide('SendFormattedResultsToLog');
+
+
+
+/**
+ * @class
+ */
+SendFormattedResultsToLog = function() {
+};
+
+
+/**
+ * @param {Object} c
+ */
+SendFormattedResultsToLog.init = function(c) {};
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f339dcb/mustella/js/SetProperty.js
----------------------------------------------------------------------
diff --git a/mustella/js/SetProperty.js b/mustella/js/SetProperty.js
new file mode 100644
index 0000000..d93f990
--- /dev/null
+++ b/mustella/js/SetProperty.js
@@ -0,0 +1,37 @@
+/**
+ * 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.
+ */
+
+/**
+ * SetProperty (stub, not used)
+ *
+ * @fileoverview
+ *
+ * @suppress {checkTypes}
+ */
+
+goog.provide('SetProperty');
+
+
+
+/**
+ * @class
+ */
+SetProperty = function() {
+};
+
+
+/**
+ * @param {Object} c
+ */
+SetProperty.init = function(c) {};
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f339dcb/mustella/js/SetShowRTE.js
----------------------------------------------------------------------
diff --git a/mustella/js/SetShowRTE.js b/mustella/js/SetShowRTE.js
new file mode 100644
index 0000000..307d45c
--- /dev/null
+++ b/mustella/js/SetShowRTE.js
@@ -0,0 +1,37 @@
+/**
+ * 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.
+ */
+
+/**
+ * SetShowRTE (stub, not used)
+ *
+ * @fileoverview
+ *
+ * @suppress {checkTypes}
+ */
+
+goog.provide('SetShowRTE');
+
+
+
+/**
+ * @class
+ */
+SetShowRTE = function() {
+};
+
+
+/**
+ * @param {Object} c
+ */
+SetShowRTE.init = function(c) {};
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f339dcb/mustella/js/TestCase.js
----------------------------------------------------------------------
diff --git a/mustella/js/TestCase.js b/mustella/js/TestCase.js
new file mode 100644
index 0000000..6f42929
--- /dev/null
+++ b/mustella/js/TestCase.js
@@ -0,0 +1,37 @@
+/**
+ * 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.
+ */
+
+/**
+ * TestCase (stub, not used)
+ *
+ * @fileoverview
+ *
+ * @suppress {checkTypes}
+ */
+
+goog.provide('TestCase');
+
+
+
+/**
+ * @class
+ */
+TestCase = function() {
+};
+
+
+/**
+ * @param {Object} c
+ */
+TestCase.init = function(c) {};
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6f339dcb/mustella/js/UnitTester.js
----------------------------------------------------------------------
diff --git a/mustella/js/UnitTester.js b/mustella/js/UnitTester.js
new file mode 100644
index 0000000..61b7e29
--- /dev/null
+++ b/mustella/js/UnitTester.js
@@ -0,0 +1,37 @@
+/**
+ * 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.
+ */
+
+/**
+ * UnitTester (stub, not used)
+ *
+ * @fileoverview
+ *
+ * @suppress {checkTypes}
+ */
+
+goog.provide('UnitTester');
+
+
+
+/**
+ * @class
+ */
+UnitTester = function() {
+};
+
+
+/**
+ * @param {Object} c
+ */
+UnitTester.init = function(c) {};
[42/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - update
release info and packaging
Posted by ah...@apache.org.
update release info and packaging
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/6a1a1554
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/6a1a1554
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/6a1a1554
Branch: refs/heads/spark
Commit: 6a1a1554d8caac99b9832e72a032ec6417555aa0
Parents: cab3a32
Author: Alex Harui <ah...@apache.org>
Authored: Sun May 1 21:37:21 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Sun May 1 21:37:21 2016 -0700
----------------------------------------------------------------------
ApproveFlexJS.xml | 44 +++++++++-----------------------------
LICENSE.bin | 15 +++----------
READme | 57 +++++++++++++-------------------------------------
RELEASE_NOTES | 11 ++++++++++
4 files changed, 38 insertions(+), 89 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a1a1554/ApproveFlexJS.xml
----------------------------------------------------------------------
diff --git a/ApproveFlexJS.xml b/ApproveFlexJS.xml
index 12341ad..a2d1c17 100644
--- a/ApproveFlexJS.xml
+++ b/ApproveFlexJS.xml
@@ -671,7 +671,7 @@
</target>
<target name="get.falcon.if.needed" depends="get.falcon.nightly,get.falcon.rc" unless="FALCON_HOME" />
<target name="get.falcon.nightly" if="falcon.nightly">
- <property name="kit.jx.prefix" value="apache-flex-falconjx-0.6.0"/>
+ <property name="kit.jx.prefix" value="apache-flex-falconjx-${release.version}"/>
<property name="binary.jx.kit" value="${kit.jx.prefix}-bin"/>
<get src="http://apacheflexbuild.cloudapp.net:8080/job/flex-falcon/lastSuccessfulBuild/artifact/out/${binary.jx.kit}.zip"
dest="${basedir}/${binary.jx.kit}.zip" verbose="true" skipexisting="true"/>
@@ -685,29 +685,17 @@
</condition>
<fail message="MD5 checksum did not match" if="FalconMD5Invalid" />
<unzip src="${basedir}/${binary.jx.kit}.zip" dest="${basedir}/falconjx" />
- <ant dir="${basedir}/falconjx/compiler" antfile="downloads.xml" />
- <ant dir="${basedir}/falconjx/compiler.jx" antfile="downloads.xml" />
- <!-- Copy compiler external dependencies -->
- <copy todir="${basedir}/falconjx/compiler/generated/dist/sdk/lib/external" overwrite="true" includeEmptyDirs="false">
- <fileset dir="${basedir}/falconjx/compiler/lib">
- <include name="**"/>
- </fileset>
- </copy>
- <!-- Copy compiler.jx external dependencies -->
- <copy todir="${basedir}/falconjx/js/lib" overwrite="true" includeEmptyDirs="false">
- <fileset dir="${basedir}/falconjx/compiler.jx/lib">
- <include name="**"/>
- </fileset>
- </copy>
- <property name="FALCON_HOME" value="${basedir}/falconjx/compiler/generated/dist/sdk" />
+ <ant dir="${basedir}/falconjx/compiler/src/main/resources" antfile="downloads.xml" />
+ <property name="FALCON_HOME" value="${basedir}/falconjx/compiler" />
<property name="FALCONJX_HOME" value="${basedir}/falconjx/js" />
+ <ant dir="${basedir}/falconjx/compiler-jx" antfile="${basedir}/falconjx/compiler-jx/src/main/resources/downloads.xml"/>
</target>
<target name="get.falcon.rc" if="falcon.rc">
- <property name="kit.jx.prefix" value="apache-flex-falconjx-0.6.0"/>
+ <property name="kit.jx.prefix" value="apache-flex-falconjx-${release.version}"/>
<property name="binary.jx.kit" value="${kit.jx.prefix}-bin"/>
- <get src="https://dist.apache.org/repos/dist/dev/flex/falcon/0.6.0/rc1/binaries/${binary.jx.kit}.zip"
+ <get src="https://dist.apache.org/repos/dist/dev/flex/falcon/${release.version}/rc1/binaries/${binary.jx.kit}.zip"
dest="${basedir}/${binary.jx.kit}.zip" verbose="true" skipexisting="true"/>
- <get src="https://dist.apache.org/repos/dist/dev/flex/falcon/0.6.0/rc1/binaries/${binary.jx.kit}.zip.md5"
+ <get src="https://dist.apache.org/repos/dist/dev/flex/falcon/${release.version}/rc1/binaries/${binary.jx.kit}.zip.md5"
dest="${basedir}/${binary.jx.kit}.zip.md5" verbose="true" skipexisting="true"/>
<checksum file="${basedir}/${binary.jx.kit}.zip" algorithm="md5" verifyproperty="falcon.md5.ok" />
<condition property="FalconMD5Invalid">
@@ -717,22 +705,10 @@
</condition>
<fail message="MD5 checksum did not match" if="FalconMD5Invalid" />
<unzip src="${basedir}/${binary.jx.kit}.zip" dest="${basedir}/falconjx" />
- <ant dir="${basedir}/falconjx/compiler" antfile="downloads.xml" />
- <ant dir="${basedir}/falconjx/compiler.jx" antfile="downloads.xml" />
- <!-- Copy compiler external dependencies -->
- <copy todir="${basedir}/falconjx/compiler/generated/dist/sdk/lib/external" overwrite="true" includeEmptyDirs="false">
- <fileset dir="${basedir}/falconjx/compiler/lib">
- <include name="**"/>
- </fileset>
- </copy>
- <!-- Copy compiler.jx external dependencies -->
- <copy todir="${basedir}/falconjx/js/lib" overwrite="true" includeEmptyDirs="false">
- <fileset dir="${basedir}/falconjx/compiler.jx/lib">
- <include name="**"/>
- </fileset>
- </copy>
- <property name="FALCON_HOME" value="${basedir}/falconjx/compiler/generated/dist/sdk" />
+ <ant dir="${basedir}/falconjx/compiler/src/main/resources" antfile="downloads.xml" />
+ <property name="FALCON_HOME" value="${basedir}/falconjx/compiler" />
<property name="FALCONJX_HOME" value="${basedir}/falconjx/js" />
+ <ant dir="${basedir}/falconjx/compiler-jx" antfile="${basedir}/falconjx/compiler-jx/src/main/resources/downloads.xml"/>
</target>
<target name="get.flexunit.if.needed" unless="FLEXUNIT_HOME" >
<property name="binary.flexunit.kit" value="apache-flex-flexunit-4.2.0-4.12.0-bin"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a1a1554/LICENSE.bin
----------------------------------------------------------------------
diff --git a/LICENSE.bin b/LICENSE.bin
index 6ffda73..0c43a39 100644
--- a/LICENSE.bin
+++ b/LICENSE.bin
@@ -2,15 +2,6 @@ Below are the licenses for components included in the binary distribution.
------------------------------------------------------------------------------------------
-This product bundles Google Closure Library available under Apache License 2.0.
-For details see https://developers.google.com/closure/library/
-
-Google Closure Library appears to bundle:
-- Mochikit, available under MIT License. See:
- js/lib/google/closure-library/third_party/closure/goog/mochikit
-- SVGPan, available under a \u201c2-clause\u201d BSD License. See:
- js/lib/google/closure-library/third_party/closure/goog/svgpan/svgpan.js
-- Dojo, available under a \u201c3-clause\u201d BSD License. See:
- js/lib/google/closure-library/third_party/closure/goog/dojo/dom/query.js
-- JPEG Encoder, available under a \u201c3-clause\u201d BSD License. See:
- js/lib/google/closure-library/third_party/closure/goog/jpeg_encoder/jpeg_encoder_basic.js
+This product bundles a subset of Google Closure Library available
+under Apache License 2.0. For details see
+https://developers.google.com/closure/library/
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a1a1554/READme
----------------------------------------------------------------------
diff --git a/READme b/READme
index e8a799e..4ea695a 100644
--- a/READme
+++ b/READme
@@ -67,23 +67,17 @@ Install Prerequisites
Ant 1.7.1 or greater (*1) ANT_HOME
(for Java 1.7 see note at (*2))
- Google Closure Library (*3) GOOG_HOME
+ Adobe Flash Player playerglobal swcs (*3) PLAYERGLOBAL_HOME
- Google Closure Linter (*4) see note
+ Adobe AIR Integration Kit (*4) AIR_HOME
- Adobe Flash Player playerglobal swcs (*5) PLAYERGLOBAL_HOME
+ Adobe Flash Player Content Debugger (*5) FLASHPLAYER_DEBUGGER
- Adobe AIR Integration Kit (* 6) AIR_HOME
+ Apache Flex 'Falcon' Compiler (*6) FALCON_HOME
- Adobe Flash Player Content Debugger (* 7) FLASHPLAYER_DEBUGGER
+ Apache Flex 'FalconJX' Compiler (*7) FALCONJX_HOME
- JSHint (*8) see note
-
- Apache Flex 'Falcon' Compiler (*9) FALCON_HOME
-
- Apache Flex 'FalconJX' Compiler (*10) FALCONJX_HOME
-
- Apache Flex FlexUnit (*11) FLEXUNIT_HOME
+ Apache Flex FlexUnit (*8) FLEXUNIT_HOME
Apache Flex SDK or repository FLEX_HOME
@@ -107,20 +101,7 @@ Install Prerequisites
version as 1.6 so the JVM args for the data model (-d32/-d64) will not
be set correctly and you will get compile errors.
- *3) The Google Closure Library can be downloaded or cloned from GitHub:
- https://github.com/google/closure-library
-
- Set GOOG_HOME to the absolute path of the folder that contains the
- third_party and closure sub-folders.
-
- *4) The Google Closure Linter can be installed by following the directions here:
- https://developers.google.com/closure/utilities/docs/linter_howto
-
- It should automatically make the linter available. No need to change paths
- or environment variables. Some folks on OSX had permission issues after the
- install. See their support channels for assistance.
-
- *5) The Adobe Flash Player playerglobal.swc for 11.1 can be downloaded from:
+ *3) The Adobe Flash Player playerglobal.swc for 11.1 can be downloaded from:
http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_1.swc
Use URL above to download playerglobal11_1.swc. Create the directory,
@@ -145,7 +126,7 @@ Install Prerequisites
frameworks/libs/player/<version.major>.<version.minor>/playerglobal.swc
- *6) The Adobe AIR integration kit for Windows can be downloaded from:
+ *4) The Adobe AIR integration kit for Windows can be downloaded from:
http://airdownload.adobe.com/air/win/download/16.0/AdobeAIRSDK.zip
@@ -163,7 +144,7 @@ Install Prerequisites
This version of Apache FlexJS was certified for use with Adobe AIR 16
and is compatible with version 3.1 and up.
- *7) The Adobe Flash Player content debuggers can be found here:
+ *5) The Adobe Flash Player content debuggers can be found here:
http://www.adobe.com/support/flashplayer/downloads.html
@@ -182,31 +163,21 @@ Install Prerequisites
On Linux, set FLASHPLAYER_DEBUGGER to the absolute path of flashplayerdebugger.
- *8) You will need npm (Node Package Manager) to install JSHint. You can get npm from here:
- https://nodejs.org/
-
- The JSHint utility can be installed by following the instructions here:
- http://www.jshint.com/install/
-
- JSHint will also be automatically available. No need to change paths or
- environment variables. On OSX some folks had permission issues after
- the install. See their documentation on using -g and sudo.
-
- *9) Set FALCON_HOME to the root of its SDK. If you have cloned the flex-falcon
+ *6) Set FALCON_HOME to the root of its SDK. If you have cloned the flex-falcon
repository as a sibling of the flex-asjs repository, you don\u2019t need to
set this variable, otherwise, set it as:
- FALCON_HOME=<repo-path>/compiler/generated/dist/sdk
+ FALCON_HOME=<repo-path>/compiler
Look at flex-falcon/README for instructions on how to build Falcon
- *10) Set FALCONJX_HOME to the root of its SDK. If you have cloned the flex-falcon
- repositoryas a sibling of the flex-asjs repository, you don\u2019t need to
+ *7) Set FALCONJX_HOME to the root of its SDK. If you have cloned the flex-falcon
+ repository as a sibling of the flex-asjs repository, you don\u2019t need to
set this variable, otherwise, set it as
FALCONJX_HOME=<repo-path>/compiler.jx
Look at flex-falcon/README_JX for instructions on how to build FalconJX
- *11) Set FLEXUNIT_HOME to the root of a FlexUnit release or repo. If you
+ *8) Set FLEXUNIT_HOME to the root of a FlexUnit release or repo. If you
have cloned the flex-flexunit repository as a sibling of the flex-asjs
repository, you don\u2019t need to set this variable.
Look at flex-flexunit/README for instructions on how to build FlexUnit
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a1a1554/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 94858bb..4d8b871 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -1,3 +1,14 @@
+Apache FlexJS 0.7.0
+=================
+
+Apache FlexJS is a next-generation 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 fifth release of Apache FlexJS. This release supports Maven.
+It is an \u2018beta\u2019 type of release. Expect to find lots of bugs and missing
+features.
+
Apache FlexJS 0.6.0
=================
[18/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - - Use
org.apache.flex.events.MouseEvent instead of flash.events.Event - Fix ant
build of FlexWebsiteStatsViewer
Posted by ah...@apache.org.
- Use org.apache.flex.events.MouseEvent instead of flash.events.Event
- Fix ant build of FlexWebsiteStatsViewer
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/18a1487f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/18a1487f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/18a1487f
Branch: refs/heads/spark
Commit: 18a1487fb87005678da3380b41336588b195967b
Parents: cf8933e
Author: Piotr Zarzycki <Piotr Zarzycki>
Authored: Mon Apr 18 23:20:07 2016 +0200
Committer: Piotr Zarzycki <Piotr Zarzycki>
Committed: Mon Apr 18 23:20:07 2016 +0200
----------------------------------------------------------------------
.../flexjs/FlexWebsiteStatsViewer/build.xml | 4 +--
.../FlexWebsiteStatsViewer/src/StatsView.mxml | 26 +++++++++-----------
2 files changed, 13 insertions(+), 17 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/18a1487f/examples/flexjs/FlexWebsiteStatsViewer/build.xml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexWebsiteStatsViewer/build.xml b/examples/flexjs/FlexWebsiteStatsViewer/build.xml
index c8479ae..99f07fd 100644
--- a/examples/flexjs/FlexWebsiteStatsViewer/build.xml
+++ b/examples/flexjs/FlexWebsiteStatsViewer/build.xml
@@ -19,9 +19,9 @@
-->
-<project name="chartexample" default="main" basedir=".">
+<project name="FlexWebsiteStatsViewer" default="main" basedir=".">
<property name="FLEXJS_HOME" location="../../.."/>
- <property name="example" value="ChartExample" />
+ <property name="example" value="FlexWebsiteStatsViewer" />
<property file="${FLEXJS_HOME}/env.properties"/>
<property environment="env"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/18a1487f/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml b/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml
index 3d67cbf..d3b090d 100644
--- a/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml
+++ b/examples/flexjs/FlexWebsiteStatsViewer/src/StatsView.mxml
@@ -19,24 +19,20 @@ limitations under the License.
-->
<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:js="library://ns.apache.org/flexjs/basic"
- xmlns:local="*"
- xmlns:models="models.*"
initComplete="testit()"
>
<fx:Script>
<![CDATA[
-
- private function testit():void
- {
- trace();
- }
-
- private function refreshBtnClick(event:Event):void
- {
- var e:Event = new Event("refresh",true);
- dispatchEvent(e);
- }
-
+ import org.apache.flex.events.MouseEvent;
+
+ private function testit():void {
+ trace();
+ }
+
+ private function onRefreshBtnClick(event:MouseEvent):void {
+ var e:Event = new Event("refresh", true);
+ dispatchEvent(e);
+ }
]]>
</fx:Script>
@@ -53,7 +49,7 @@ limitations under the License.
<js:Label text="Number of users on flex.apache.org for last 30 days" x="10" y="10" />
- <js:TextButton id="refreshButton" text="Refresh" x="300" y="10" click="refreshBtnClick(event)"/>
+ <js:TextButton id="refreshButton" text="Refresh" x="300" y="10" click="onRefreshBtnClick(event)"/>
<js:ColumnChart id="columnChart" x="40" y="40" width="2000" height="768" className="AllCharts">
<js:beads>
[26/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - - Moved
the compiler config files - Fine tuned the pom.xml to updates in the
flexjs-maven-plugin - Added the maven extensions via .mvn/extensions.xml
Posted by ah...@apache.org.
- Moved the compiler config files
- Fine tuned the pom.xml to updates in the flexjs-maven-plugin
- Added the maven extensions via .mvn/extensions.xml
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/b2f5d123
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/b2f5d123
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/b2f5d123
Branch: refs/heads/spark
Commit: b2f5d123162814b6c9620e39b8fe54fab4f1f7ea
Parents: db775a0
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Thu Apr 21 09:27:43 2016 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Thu Apr 21 09:27:43 2016 +0200
----------------------------------------------------------------------
.mvn/extensions.xml | 11 +++
frameworks/projects/Binding/pom.xml | 35 ++++----
.../src/main/config/compile-asjs-config.xml | 79 ++++++++++++++++
.../Binding/src/main/config/compile-config.xml | 78 ++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 79 ----------------
.../src/main/resources/compile-config.xml | 78 ----------------
frameworks/projects/Charts/pom.xml | 49 ++++++----
.../src/main/config/compile-as-to-js-config.xml | 76 ++++++++++++++++
.../src/main/config/compile-asjs-config.xml | 71 +++++++++++++++
.../Charts/src/main/config/compile-config.xml | 84 +++++++++++++++++
.../src/main/config/compile-js-config.xml | 87 ++++++++++++++++++
.../main/resources/compile-as-to-js-config.xml | 76 ----------------
.../src/main/resources/compile-asjs-config.xml | 71 ---------------
.../src/main/resources/compile-config.xml | 84 -----------------
.../src/main/resources/compile-js-config.xml | 87 ------------------
frameworks/projects/Collections/pom.xml | 35 ++++----
.../src/main/config/compile-asjs-config.xml | 69 ++++++++++++++
.../src/main/config/compile-config.xml | 78 ++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 69 --------------
.../src/main/resources/compile-config.xml | 78 ----------------
frameworks/projects/Core/pom.xml | 34 +++----
.../Core/src/main/config/compile-as-config.xml | 78 ++++++++++++++++
.../Core/src/main/config/compile-js-config.xml | 77 ++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 78 ----------------
.../Core/src/main/resources/compile-config.xml | 77 ----------------
frameworks/projects/CreateJS/pom.xml | 42 +++++----
.../src/main/config/compile-asjs-config.xml | 83 +++++++++++++++++
.../CreateJS/src/main/config/compile-config.xml | 83 +++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 83 -----------------
.../src/main/resources/compile-config.xml | 83 -----------------
frameworks/projects/DragDrop/pom.xml | 35 ++++----
.../src/main/config/compile-asjs-config.xml | 79 ++++++++++++++++
.../DragDrop/src/main/config/compile-config.xml | 78 ++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 79 ----------------
.../src/main/resources/compile-config.xml | 78 ----------------
frameworks/projects/Effects/pom.xml | 35 ++++----
.../src/main/config/compile-asjs-config.xml | 79 ++++++++++++++++
.../Effects/src/main/config/compile-config.xml | 78 ++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 79 ----------------
.../src/main/resources/compile-config.xml | 78 ----------------
frameworks/projects/Flat/pom.xml | 56 ++++++++----
.../src/main/config/compile-asjs-config.xml | 80 +++++++++++++++++
.../Flat/src/main/config/compile-config.xml | 91 +++++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 80 -----------------
.../Flat/src/main/resources/compile-config.xml | 91 -------------------
frameworks/projects/Formatters/pom.xml | 42 +++++----
.../src/main/config/compile-asjs-config.xml | 80 +++++++++++++++++
.../src/main/config/compile-config.xml | 79 ++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 80 -----------------
.../src/main/resources/compile-config.xml | 79 ----------------
frameworks/projects/GoogleMaps/pom.xml | 35 ++++----
.../src/main/config/compile-asjs-config.xml | 75 ++++++++++++++++
.../src/main/config/compile-config.xml | 83 +++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 75 ----------------
.../src/main/resources/compile-config.xml | 83 -----------------
frameworks/projects/Graphics/pom.xml | 35 ++++----
.../src/main/config/compile-asjs-config.xml | 82 +++++++++++++++++
.../Graphics/src/main/config/compile-config.xml | 78 ++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 82 -----------------
.../src/main/resources/compile-config.xml | 78 ----------------
frameworks/projects/HTML/pom.xml | 56 ++++++++----
.../src/main/config/compile-asjs-config.xml | 90 +++++++++++++++++++
.../HTML/src/main/config/compile-config.xml | 94 ++++++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 90 -------------------
.../HTML/src/main/resources/compile-config.xml | 94 --------------------
frameworks/projects/HTML5/pom.xml | 42 +++++----
.../src/main/config/compile-asjs-config.xml | 70 +++++++++++++++
.../HTML5/src/main/config/compile-config.xml | 83 +++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 70 ---------------
.../HTML5/src/main/resources/compile-config.xml | 83 -----------------
frameworks/projects/JQuery/pom.xml | 42 +++++----
.../src/main/config/compile-asjs-config.xml | 86 ++++++++++++++++++
.../JQuery/src/main/config/compile-config.xml | 83 +++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 86 ------------------
.../src/main/resources/compile-config.xml | 83 -----------------
frameworks/projects/Mobile/pom.xml | 49 ++++++----
.../src/main/config/compile-asjs-config.xml | 89 ++++++++++++++++++
.../Mobile/src/main/config/compile-config.xml | 89 ++++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 89 ------------------
.../src/main/resources/compile-config.xml | 89 ------------------
frameworks/projects/Network/pom.xml | 35 ++++----
.../src/main/config/compile-asjs-config.xml | 82 +++++++++++++++++
.../Network/src/main/config/compile-config.xml | 78 ++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 82 -----------------
.../src/main/resources/compile-config.xml | 78 ----------------
frameworks/projects/Reflection/pom.xml | 35 ++++----
.../src/main/config/compile-asjs-config.xml | 77 ++++++++++++++++
.../src/main/config/compile-config.xml | 73 +++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 77 ----------------
.../src/main/resources/compile-config.xml | 73 ---------------
frameworks/projects/Storage/pom.xml | 35 ++++----
.../src/main/config/compile-asjs-config.xml | 82 +++++++++++++++++
.../Storage/src/main/config/compile-config.xml | 82 +++++++++++++++++
.../src/main/resources/compile-asjs-config.xml | 82 -----------------
.../src/main/resources/compile-config.xml | 82 -----------------
frameworks/projects/XML/pom.xml | 56 ++++++++++++
frameworks/projects/pom.xml | 5 ++
pom.xml | 4 +-
98 files changed, 3558 insertions(+), 3371 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/.mvn/extensions.xml
----------------------------------------------------------------------
diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml
new file mode 100644
index 0000000..1a1890b
--- /dev/null
+++ b/.mvn/extensions.xml
@@ -0,0 +1,11 @@
+<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
+
+ <extension>
+ <groupId>org.apache.flex.utilities.converter</groupId>
+ <artifactId>flex-sdk-converter-maven-extension</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </extension>
+
+</extensions>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Binding/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/pom.xml b/frameworks/projects/Binding/pom.xml
index 568a47f..351d6c2 100644
--- a/frameworks/projects/Binding/pom.xml
+++ b/frameworks/projects/Binding/pom.xml
@@ -29,30 +29,16 @@
<artifactId>Binding</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,21 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Binding/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/src/main/config/compile-asjs-config.xml b/frameworks/projects/Binding/src/main/config/compile-asjs-config.xml
new file mode 100644
index 0000000..2c5abf4
--- /dev/null
+++ b/frameworks/projects/Binding/src/main/config/compile-asjs-config.xml
@@ -0,0 +1,79 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ <path-element>../flex</path-element>
+ </include-sources>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Binding/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/src/main/config/compile-config.xml b/frameworks/projects/Binding/src/main/config/compile-config.xml
new file mode 100644
index 0000000..fcebd9e
--- /dev/null
+++ b/frameworks/projects/Binding/src/main/config/compile-config.xml
@@ -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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>BindingClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Binding/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/src/main/resources/compile-asjs-config.xml b/frameworks/projects/Binding/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index 2c5abf4..0000000
--- a/frameworks/projects/Binding/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,79 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- <path-element>../flex</path-element>
- </include-sources>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Binding/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/src/main/resources/compile-config.xml b/frameworks/projects/Binding/src/main/resources/compile-config.xml
deleted file mode 100644
index fcebd9e..0000000
--- a/frameworks/projects/Binding/src/main/resources/compile-config.xml
+++ /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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>BindingClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Charts/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/pom.xml b/frameworks/projects/Charts/pom.xml
index bb1d22d..2e6ea76 100644
--- a/frameworks/projects/Charts/pom.xml
+++ b/frameworks/projects/Charts/pom.xml
@@ -29,30 +29,16 @@
<artifactId>Charts</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,35 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Graphics</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>HTML</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Charts/src/main/config/compile-as-to-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/src/main/config/compile-as-to-js-config.xml b/frameworks/projects/Charts/src/main/config/compile-as-to-js-config.xml
new file mode 100644
index 0000000..ee3cac0
--- /dev/null
+++ b/frameworks/projects/Charts/src/main/config/compile-as-to-js-config.xml
@@ -0,0 +1,76 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>D:/SDKs/FlexJS/nightly_PF18_AIR18.0_en_US/js/libs/js.swc</path-element>
+ <path-element>D:/SDKs/FlexJS/nightly_PF18_AIR18.0_en_US/js/libs/gcl.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <locale/>
+
+ <source-path>
+ <!--<path-element>as/src</path-element>-->
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-sources>
+ <path-element>as/src</path-element>
+ </include-sources>
+
+ <include-classes>
+ <class>ChartsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>11.1</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Charts/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/src/main/config/compile-asjs-config.xml b/frameworks/projects/Charts/src/main/config/compile-asjs-config.xml
new file mode 100644
index 0000000..4934459
--- /dev/null
+++ b/frameworks/projects/Charts/src/main/config/compile-asjs-config.xml
@@ -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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../../../externs/Graphics.swc</path-element>
+ <path-element>../../../../../externs/HTML.swc</path-element>
+ </library-path>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-sources>
+ <path-element>../flex</path-element>
+ </include-sources>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Charts/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/src/main/config/compile-config.xml b/frameworks/projects/Charts/src/main/config/compile-config.xml
new file mode 100644
index 0000000..bbdbe54
--- /dev/null
+++ b/frameworks/projects/Charts/src/main/config/compile-config.xml
@@ -0,0 +1,84 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ <path-element>../../../../../libs/Graphics.swc</path-element>
+ <path-element>../../../../../libs/HTML.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>defaults.css</name>
+ <path>defaults.css</path>
+ </include-file>
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>ChartsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Charts/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/src/main/config/compile-js-config.xml b/frameworks/projects/Charts/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..3c3784b
--- /dev/null
+++ b/frameworks/projects/Charts/src/main/config/compile-js-config.xml
@@ -0,0 +1,87 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>as/src</path-element>
+ <path-element>asjs/src</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>js/out/*</path>
+ </include-file>
+ <!--
+ <include-file>
+ <name>js/src/*</name>
+ <path>js/src/*</path>
+ </include-file>
+ -->
+
+ <include-classes>
+ <class>CoreJSClasses</class>
+ <!-- leave out for now until we get Application to compile
+ <class>CoreASJSClasses</class>-->
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <uri>library://ns.apache.org/flexjs/svg</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Charts/src/main/resources/compile-as-to-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/src/main/resources/compile-as-to-js-config.xml b/frameworks/projects/Charts/src/main/resources/compile-as-to-js-config.xml
deleted file mode 100644
index ee3cac0..0000000
--- a/frameworks/projects/Charts/src/main/resources/compile-as-to-js-config.xml
+++ /dev/null
@@ -1,76 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>D:/SDKs/FlexJS/nightly_PF18_AIR18.0_en_US/js/libs/js.swc</path-element>
- <path-element>D:/SDKs/FlexJS/nightly_PF18_AIR18.0_en_US/js/libs/gcl.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <locale/>
-
- <source-path>
- <!--<path-element>as/src</path-element>-->
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-sources>
- <path-element>as/src</path-element>
- </include-sources>
-
- <include-classes>
- <class>ChartsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>11.1</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Charts/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/src/main/resources/compile-asjs-config.xml b/frameworks/projects/Charts/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index 4934459..0000000
--- a/frameworks/projects/Charts/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,71 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- <path-element>../../../../../externs/Graphics.swc</path-element>
- <path-element>../../../../../externs/HTML.swc</path-element>
- </library-path>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-sources>
- <path-element>../flex</path-element>
- </include-sources>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Charts/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/src/main/resources/compile-config.xml b/frameworks/projects/Charts/src/main/resources/compile-config.xml
deleted file mode 100644
index bbdbe54..0000000
--- a/frameworks/projects/Charts/src/main/resources/compile-config.xml
+++ /dev/null
@@ -1,84 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- <path-element>../../../../../libs/Graphics.swc</path-element>
- <path-element>../../../../../libs/HTML.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>defaults.css</name>
- <path>defaults.css</path>
- </include-file>
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>ChartsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Charts/src/main/resources/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/src/main/resources/compile-js-config.xml b/frameworks/projects/Charts/src/main/resources/compile-js-config.xml
deleted file mode 100644
index 3c3784b..0000000
--- a/frameworks/projects/Charts/src/main/resources/compile-js-config.xml
+++ /dev/null
@@ -1,87 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>as/src</path-element>
- <path-element>asjs/src</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>js/out/*</path>
- </include-file>
- <!--
- <include-file>
- <name>js/src/*</name>
- <path>js/src/*</path>
- </include-file>
- -->
-
- <include-classes>
- <class>CoreJSClasses</class>
- <!-- leave out for now until we get Application to compile
- <class>CoreASJSClasses</class>-->
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <uri>library://ns.apache.org/flexjs/svg</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Collections/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/pom.xml b/frameworks/projects/Collections/pom.xml
index e0d32b7..10e954f 100644
--- a/frameworks/projects/Collections/pom.xml
+++ b/frameworks/projects/Collections/pom.xml
@@ -29,30 +29,16 @@
<artifactId>Collections</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,21 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Collections/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/config/compile-asjs-config.xml b/frameworks/projects/Collections/src/main/config/compile-asjs-config.xml
new file mode 100644
index 0000000..a69e491
--- /dev/null
+++ b/frameworks/projects/Collections/src/main/config/compile-asjs-config.xml
@@ -0,0 +1,69 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ <!-- asjscompc won't 'link' these classes in, but will list their requires
+ if these swcs are on the external-library-path then their requires
+ will not be listed -->
+ <path-element>../../../../../externs/Core.swc</path-element>
+ </library-path>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-sources>
+ <path-element>../flex</path-element>
+ </include-sources>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Collections/src/main/config/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/config/compile-config.xml b/frameworks/projects/Collections/src/main/config/compile-config.xml
new file mode 100644
index 0000000..1a1fc84
--- /dev/null
+++ b/frameworks/projects/Collections/src/main/config/compile-config.xml
@@ -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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ <path-element>../../../../../libs/Core.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>../../../target/generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>CollectionsClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>${playerglobal.version}</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Collections/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/resources/compile-asjs-config.xml b/frameworks/projects/Collections/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index a69e491..0000000
--- a/frameworks/projects/Collections/src/main/resources/compile-asjs-config.xml
+++ /dev/null
@@ -1,69 +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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- <!-- asjscompc won't 'link' these classes in, but will list their requires
- if these swcs are on the external-library-path then their requires
- will not be listed -->
- <path-element>../../../../../externs/Core.swc</path-element>
- </library-path>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-sources>
- <path-element>../flex</path-element>
- </include-sources>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Collections/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/src/main/resources/compile-config.xml b/frameworks/projects/Collections/src/main/resources/compile-config.xml
deleted file mode 100644
index 1a1fc84..0000000
--- a/frameworks/projects/Collections/src/main/resources/compile-config.xml
+++ /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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- <path-element>../../../../../libs/Core.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>CollectionsClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Core/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/pom.xml b/frameworks/projects/Core/pom.xml
index b9a5eb6..16694c4 100644
--- a/frameworks/projects/Core/pom.xml
+++ b/frameworks/projects/Core/pom.xml
@@ -29,30 +29,16 @@
<artifactId>Core</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,20 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+ <dependency>
+ <groupId>com.adobe.flash.framework</groupId>
+ <artifactId>playerglobal</artifactId>
+ <version>20.0</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Core/src/main/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/config/compile-as-config.xml b/frameworks/projects/Core/src/main/config/compile-as-config.xml
new file mode 100644
index 0000000..b912d6f
--- /dev/null
+++ b/frameworks/projects/Core/src/main/config/compile-as-config.xml
@@ -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.
+
+-->
+<flex-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path/>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../src/main/resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../src/main/flex</path-element>
+ <!--path-element>generated-sources/asjs</path-element-->
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ <name>js/out/*</name>
+ <path>generated-sources/flexjs/*</path>
+ </include-file>
+
+ <include-classes>
+ <class>CoreClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <target-player>20.0</target-player>
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Core/src/main/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/config/compile-js-config.xml b/frameworks/projects/Core/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..accde75
--- /dev/null
+++ b/frameworks/projects/Core/src/main/config/compile-js-config.xml
@@ -0,0 +1,77 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path><path-element>/Users/christoferdutz/Maven-Repository/com/adobe/air/framework/airglobal/20.0/airglobal-20.0.swc</path-element></external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ <manifest>../resources/basic-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>CoreClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/basic</uri>
+ </include-namespaces>
+
+ <!--<target-player>${playerglobal.version}</target-player>-->
+
+
+</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Core/src/main/resources/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/resources/compile-asjs-config.xml b/frameworks/projects/Core/src/main/resources/compile-asjs-config.xml
deleted file mode 100644
index 2cb04d8..0000000
--- a/frameworks/projects/Core/src/main/resources/compile-asjs-config.xml
+++ /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.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path>
- </library-path>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- </include-file>
-
- <include-sources>
- </include-sources>
-
- <include-classes>
- <class>CoreClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <!--<target-player>${playerglobal.version}</target-player>-->
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/Core/src/main/resources/compile-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/src/main/resources/compile-config.xml b/frameworks/projects/Core/src/main/resources/compile-config.xml
deleted file mode 100644
index 7fdfa2b..0000000
--- a/frameworks/projects/Core/src/main/resources/compile-config.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-<!--
-
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<flex-config>
-
- <compiler>
- <accessible>false</accessible>
-
- <external-library-path>
- <path-element>${env.AIR_HOME}/frameworks/libs/air/airglobal.swc</path-element>
- </external-library-path>
-
- <mxml>
- <children-as-data>true</children-as-data>
- </mxml>
- <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
- <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
- <binding-value-change-event-type>valueChange</binding-value-change-event-type>
-
- <keep-as3-metadata>
- <name>Bindable</name>
- <name>Managed</name>
- <name>ChangeEvent</name>
- <name>NonCommittingChangeEvent</name>
- <name>Transient</name>
- </keep-as3-metadata>
-
- <locale/>
-
- <library-path/>
-
- <namespaces>
- <namespace>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- <manifest>basic-manifest.xml</manifest>
- </namespace>
- </namespaces>
-
- <source-path>
- <path-element>../flex</path-element>
- </source-path>
-
- <warn-no-constructor>false</warn-no-constructor>
- </compiler>
-
- <include-file>
- <name>js/out/*</name>
- <path>../../../target/generated-sources/flexjs/*</path>
- </include-file>
-
- <include-classes>
- <class>CoreClasses</class>
- </include-classes>
-
- <include-namespaces>
- <uri>library://ns.apache.org/flexjs/basic</uri>
- </include-namespaces>
-
- <target-player>${playerglobal.version}</target-player>
-
-
-</flex-config>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/CreateJS/pom.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/pom.xml b/frameworks/projects/CreateJS/pom.xml
index 9ad8bab..e41c5f9 100644
--- a/frameworks/projects/CreateJS/pom.xml
+++ b/frameworks/projects/CreateJS/pom.xml
@@ -29,30 +29,16 @@
<artifactId>CreateJS</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <packaging>jar</packaging>
+ <packaging>swc</packaging>
<build>
+ <sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.apache.flex.flexjs.compiler</groupId>
<artifactId>flexjs-maven-plugin</artifactId>
<version>0.6.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- <execution>
- <id>compile</id>
- <phase>compile</phase>
- <goals>
- <goal>compile</goal>
- </goals>
- </execution>
- </executions>
+ <extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.apache.flex.flexjs.compiler</groupId>
@@ -65,6 +51,28 @@
</build>
<dependencies>
+ <dependency>
+ <groupId>com.adobe.air.framework</groupId>
+ <artifactId>airglobal</artifactId>
+ <version>${air.version}</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>Core</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.flex.flexjs.framework</groupId>
+ <artifactId>HTML</artifactId>
+ <version>0.6.0-SNAPSHOT</version>
+ <type>swc</type>
+ <scope>external</scope>
+ </dependency>
</dependencies>
</project>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/b2f5d123/frameworks/projects/CreateJS/src/main/config/compile-asjs-config.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/src/main/config/compile-asjs-config.xml b/frameworks/projects/CreateJS/src/main/config/compile-asjs-config.xml
new file mode 100644
index 0000000..cd48012
--- /dev/null
+++ b/frameworks/projects/CreateJS/src/main/config/compile-asjs-config.xml
@@ -0,0 +1,83 @@
+<!--
+
+ 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-config>
+
+ <compiler>
+ <accessible>false</accessible>
+
+ <external-library-path>
+ </external-library-path>
+
+ <mxml>
+ <children-as-data>true</children-as-data>
+ </mxml>
+ <binding-value-change-event>org.apache.flex.events.ValueChangeEvent</binding-value-change-event>
+ <binding-value-change-event-kind>org.apache.flex.events.ValueChangeEvent</binding-value-change-event-kind>
+ <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+ <keep-as3-metadata>
+ <name>Bindable</name>
+ <name>Managed</name>
+ <name>ChangeEvent</name>
+ <name>NonCommittingChangeEvent</name>
+ <name>Transient</name>
+ </keep-as3-metadata>
+
+ <locale/>
+
+ <library-path>
+ </library-path>
+
+ <namespaces>
+ <namespace>
+ <uri>library://ns.apache.org/flexjs/createjs</uri>
+ <manifest>createjs-manifest.xml</manifest>
+ </namespace>
+ </namespaces>
+
+ <source-path>
+ <path-element>../flex</path-element>
+ </source-path>
+
+ <library-path>
+ <path-element>../../../../../externs/Core.swc</path-element>
+ <path-element>../../../../../externs/HTML.swc</path-element>
+ </library-path>
+
+ <warn-no-constructor>false</warn-no-constructor>
+ </compiler>
+
+ <include-file>
+ </include-file>
+
+ <include-sources>
+ </include-sources>
+
+ <include-classes>
+ <class>CreateJSClasses</class>
+ </include-classes>
+
+ <include-namespaces>
+ <uri>library://ns.apache.org/flexjs/createjs</uri>
+ </include-namespaces>
+
+ <!--<target-player>${playerglobal.version}</target-player>-->
+
+
+</flex-config>
[44/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - still
need GCL
Posted by ah...@apache.org.
still need GCL
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/0207b873
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0207b873
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0207b873
Branch: refs/heads/spark
Commit: 0207b87382abdfce360be992f6cbac7efd7d6638
Parents: 0b7de86
Author: Alex Harui <ah...@apache.org>
Authored: Mon May 2 09:03:36 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon May 2 09:03:36 2016 -0700
----------------------------------------------------------------------
READme | 34 +++++++++++++++++++++-------------
1 file changed, 21 insertions(+), 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0207b873/READme
----------------------------------------------------------------------
diff --git a/READme b/READme
index 4ea695a..1262829 100644
--- a/READme
+++ b/READme
@@ -67,17 +67,19 @@ Install Prerequisites
Ant 1.7.1 or greater (*1) ANT_HOME
(for Java 1.7 see note at (*2))
- Adobe Flash Player playerglobal swcs (*3) PLAYERGLOBAL_HOME
+ Google Closure Library (*3) GOOG_HOME
- Adobe AIR Integration Kit (*4) AIR_HOME
+ Adobe Flash Player playerglobal swcs (*4) PLAYERGLOBAL_HOME
- Adobe Flash Player Content Debugger (*5) FLASHPLAYER_DEBUGGER
+ Adobe AIR Integration Kit (*5) AIR_HOME
- Apache Flex 'Falcon' Compiler (*6) FALCON_HOME
+ Adobe Flash Player Content Debugger (*6) FLASHPLAYER_DEBUGGER
- Apache Flex 'FalconJX' Compiler (*7) FALCONJX_HOME
+ Apache Flex 'Falcon' Compiler (*7) FALCON_HOME
- Apache Flex FlexUnit (*8) FLEXUNIT_HOME
+ Apache Flex 'FalconJX' Compiler (*8) FALCONJX_HOME
+
+ Apache Flex FlexUnit (*9) FLEXUNIT_HOME
Apache Flex SDK or repository FLEX_HOME
@@ -101,7 +103,13 @@ Install Prerequisites
version as 1.6 so the JVM args for the data model (-d32/-d64) will not
be set correctly and you will get compile errors.
- *3) The Adobe Flash Player playerglobal.swc for 11.1 can be downloaded from:
+ *3) The Google Closure Library can be downloaded or cloned from GitHub:
+ https://github.com/google/closure-library
+
+ Set GOOG_HOME to the absolute path of the folder that contains the
+ third_party and closure sub-folders.
+
+ *4) The Adobe Flash Player playerglobal.swc for 11.1 can be downloaded from:
http://download.macromedia.com/get/flashplayer/updaters/11/playerglobal11_1.swc
Use URL above to download playerglobal11_1.swc. Create the directory,
@@ -126,7 +134,7 @@ Install Prerequisites
frameworks/libs/player/<version.major>.<version.minor>/playerglobal.swc
- *4) The Adobe AIR integration kit for Windows can be downloaded from:
+ *5) The Adobe AIR integration kit for Windows can be downloaded from:
http://airdownload.adobe.com/air/win/download/16.0/AdobeAIRSDK.zip
@@ -144,7 +152,7 @@ Install Prerequisites
This version of Apache FlexJS was certified for use with Adobe AIR 16
and is compatible with version 3.1 and up.
- *5) The Adobe Flash Player content debuggers can be found here:
+ *6) The Adobe Flash Player content debuggers can be found here:
http://www.adobe.com/support/flashplayer/downloads.html
@@ -163,21 +171,21 @@ Install Prerequisites
On Linux, set FLASHPLAYER_DEBUGGER to the absolute path of flashplayerdebugger.
- *6) Set FALCON_HOME to the root of its SDK. If you have cloned the flex-falcon
+ *7) Set FALCON_HOME to the root of its SDK. If you have cloned the flex-falcon
repository as a sibling of the flex-asjs repository, you don\u2019t need to
set this variable, otherwise, set it as:
FALCON_HOME=<repo-path>/compiler
Look at flex-falcon/README for instructions on how to build Falcon
- *7) Set FALCONJX_HOME to the root of its SDK. If you have cloned the flex-falcon
+ *8) Set FALCONJX_HOME to the root of its SDK. If you have cloned the flex-falcon
repository as a sibling of the flex-asjs repository, you don\u2019t need to
set this variable, otherwise, set it as
- FALCONJX_HOME=<repo-path>/compiler.jx
+ FALCONJX_HOME=<repo-path>/compiler-jx
Look at flex-falcon/README_JX for instructions on how to build FalconJX
- *8) Set FLEXUNIT_HOME to the root of a FlexUnit release or repo. If you
+ *9) Set FLEXUNIT_HOME to the root of a FlexUnit release or repo. If you
have cloned the flex-flexunit repository as a sibling of the flex-asjs
repository, you don\u2019t need to set this variable.
Look at flex-flexunit/README for instructions on how to build FlexUnit
[15/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Added
isNaN check because minified version seems to sometimes be NaN Added
debug=false to output minified code as well in test
Posted by ah...@apache.org.
Added isNaN check because minified version seems to sometimes be NaN
Added debug=false to output minified code as well in test
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/cf8933e1
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/cf8933e1
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/cf8933e1
Branch: refs/heads/spark
Commit: cf8933e1df60313738c956cdab4d092a3cc102a1
Parents: 7c5a215
Author: Harbs <ha...@in-tools.com>
Authored: Fri Apr 15 10:19:46 2016 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Fri Apr 15 10:19:46 2016 +0300
----------------------------------------------------------------------
frameworks/projects/XML/src/main/flex/XML.as | 2 +-
manualtests/build_example.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cf8933e1/frameworks/projects/XML/src/main/flex/XML.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/flex/XML.as b/frameworks/projects/XML/src/main/flex/XML.as
index d3ab421..0577abb 100644
--- a/frameworks/projects/XML/src/main/flex/XML.as
+++ b/frameworks/projects/XML/src/main/flex/XML.as
@@ -2243,7 +2243,7 @@ package
var i:int;
var ns:Namespace;
var strArr:Array = [];
-
+ indentLevel = isNaN(indentLevel) ? 0 : indentLevel;
var indentArr:Array = [];
for(i=0;i<indentLevel;i++)
indentArr.push(_indentStr);
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cf8933e1/manualtests/build_example.xml
----------------------------------------------------------------------
diff --git a/manualtests/build_example.xml b/manualtests/build_example.xml
index 8debcd6..45714d1 100644
--- a/manualtests/build_example.xml
+++ b/manualtests/build_example.xml
@@ -160,7 +160,7 @@
<jvmarg line="${mxmlc.jvm.args}"/>
<jvmarg line="-Dflexlib=${FLEXJS_HOME}/frameworks}"/>
<arg value="+flexlib=${FLEXJS_HOME}/frameworks" />
- <arg value="-debug" />
+ <arg value="-debug=false" />
<arg value="${theme_arg}" />
<arg value="-compiler.mxml.children-as-data" />
<arg value="-compiler.binding-value-change-event=org.apache.flex.events.ValueChangeEvent" />
[35/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - try to
update ant scripts for new folder structures
Posted by ah...@apache.org.
try to update ant scripts for new folder structures
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/22f2dd9f
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/22f2dd9f
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/22f2dd9f
Branch: refs/heads/spark
Commit: 22f2dd9ffbd21354f79b3b3bb58dcfd46bbd5175
Parents: 9dbcb5d
Author: Alex Harui <ah...@apache.org>
Authored: Fri Apr 29 10:19:04 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Apr 29 10:19:04 2016 -0700
----------------------------------------------------------------------
frameworks/projects/Binding/build.xml | 10 +++++-----
frameworks/projects/Charts/build.xml | 10 +++++-----
frameworks/projects/Collections/build.xml | 10 +++++-----
frameworks/projects/Core/build.xml | 10 +++++-----
frameworks/projects/CreateJS/build.xml | 12 ++++++------
frameworks/projects/DragDrop/build.xml | 10 +++++-----
frameworks/projects/Effects/build.xml | 10 +++++-----
frameworks/projects/Flat/build.xml | 10 +++++-----
frameworks/projects/Formatters/build.xml | 10 +++++-----
frameworks/projects/GoogleMaps/build.xml | 12 ++++++------
frameworks/projects/Graphics/build.xml | 10 +++++-----
frameworks/projects/HTML/build.xml | 10 +++++-----
frameworks/projects/HTML5/build.xml | 10 +++++-----
frameworks/projects/JQuery/build.xml | 12 ++++++------
frameworks/projects/Mobile/build.xml | 10 +++++-----
frameworks/projects/Network/build.xml | 10 +++++-----
frameworks/projects/Reflection/build.xml | 10 +++++-----
frameworks/projects/Storage/build.xml | 12 ++++++------
frameworks/projects/XML/build.xml | 10 +++++-----
19 files changed, 99 insertions(+), 99 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/Binding/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/build.xml b/frameworks/projects/Binding/build.xml
index 29ffbe4..ad9a0ff 100644
--- a/frameworks/projects/Binding/build.xml
+++ b/frameworks/projects/Binding/build.xml
@@ -31,11 +31,11 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<property name="target.name" value="Binding-${release.version}.swc" />
<property name="target.name.no.version" value="Binding.swc" />
@@ -97,7 +97,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -118,7 +118,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -156,7 +156,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/Charts/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Charts/build.xml b/frameworks/projects/Charts/build.xml
index 268eaab..e4c8e2f 100644
--- a/frameworks/projects/Charts/build.xml
+++ b/frameworks/projects/Charts/build.xml
@@ -31,11 +31,11 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<property name="target.name" value="Charts-${release.version}.swc" />
<property name="target.name.no.version" value="Charts.swc" />
@@ -91,7 +91,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -112,7 +112,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -150,7 +150,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/Collections/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Collections/build.xml b/frameworks/projects/Collections/build.xml
index 90e8757..7446999 100644
--- a/frameworks/projects/Collections/build.xml
+++ b/frameworks/projects/Collections/build.xml
@@ -31,11 +31,11 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<property name="target.name" value="Collections-${release.version}.swc" />
<property name="target.name.no.version" value="Collections.swc" />
@@ -91,7 +91,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -112,7 +112,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -150,7 +150,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/Core/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/build.xml b/frameworks/projects/Core/build.xml
index 2d1b251..f9ad384 100644
--- a/frameworks/projects/Core/build.xml
+++ b/frameworks/projects/Core/build.xml
@@ -31,11 +31,11 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<property name="target.name" value="Core-${release.version}.swc" />
<property name="target.name.no.version" value="Core.swc" />
@@ -95,7 +95,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -116,7 +116,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -158,7 +158,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/CreateJS/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/CreateJS/build.xml b/frameworks/projects/CreateJS/build.xml
index caed5c7..230e39f 100644
--- a/frameworks/projects/CreateJS/build.xml
+++ b/frameworks/projects/CreateJS/build.xml
@@ -31,15 +31,15 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<condition property="CREATEJS.SWC" value="${FALCONJX_HOME}/../js/libs/createjs.swc" >
<available file="${FALCONJX_HOME}/../js/libs/createjs.swc" />
</condition>
- <property name="CREATEJS.SWC" value="${FALCONJX_HOME}/../externs/createjs/out/bin/createjs.swc" />
+ <property name="CREATEJS.SWC" value="${FALCONJX_HOME}/../externs/createjs/target/createjs.swc" />
<condition property="no.lint" value="true">
<os family="windows"/>
</condition>
@@ -103,7 +103,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -124,7 +124,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -163,7 +163,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/DragDrop/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/DragDrop/build.xml b/frameworks/projects/DragDrop/build.xml
index ef605af..e7f7b44 100644
--- a/frameworks/projects/DragDrop/build.xml
+++ b/frameworks/projects/DragDrop/build.xml
@@ -31,11 +31,11 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<property name="target.name" value="DragDrop-${release.version}.swc" />
<property name="target.name.no.version" value="DragDrop.swc" />
@@ -98,7 +98,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -119,7 +119,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -157,7 +157,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/Effects/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Effects/build.xml b/frameworks/projects/Effects/build.xml
index a469f5e..1b4bb13 100644
--- a/frameworks/projects/Effects/build.xml
+++ b/frameworks/projects/Effects/build.xml
@@ -31,11 +31,11 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<property name="target.name" value="Effects-${release.version}.swc" />
<property name="target.name.no.version" value="Effects.swc" />
@@ -99,7 +99,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -120,7 +120,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -158,7 +158,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/Flat/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Flat/build.xml b/frameworks/projects/Flat/build.xml
index 9bc139f..121ba8a 100644
--- a/frameworks/projects/Flat/build.xml
+++ b/frameworks/projects/Flat/build.xml
@@ -31,11 +31,11 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<property name="target.name" value="Flat-${release.version}.swc" />
<property name="target.name.no.version" value="Flat.swc" />
@@ -98,7 +98,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -119,7 +119,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -157,7 +157,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/Formatters/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Formatters/build.xml b/frameworks/projects/Formatters/build.xml
index 9f57088..2de4469 100644
--- a/frameworks/projects/Formatters/build.xml
+++ b/frameworks/projects/Formatters/build.xml
@@ -31,11 +31,11 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<property name="target.name" value="Formatters-${release.version}.swc" />
<property name="target.name.no.version" value="Formatters.swc" />
@@ -90,7 +90,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -111,7 +111,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -149,7 +149,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/GoogleMaps/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/GoogleMaps/build.xml b/frameworks/projects/GoogleMaps/build.xml
index 2bdd19d..e2656dd 100644
--- a/frameworks/projects/GoogleMaps/build.xml
+++ b/frameworks/projects/GoogleMaps/build.xml
@@ -31,15 +31,15 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<condition property="GOOGLEMAPS.SWC" value="${FALCONJX_HOME}/../js/libs/google_maps.swc" >
<available file="${FALCONJX_HOME}/../js/libs/google_maps.swc" />
</condition>
- <property name="GOOGLEMAPS.SWC" value="${FALCONJX_HOME}/../externs/google_maps/out/bin/google_maps.swc" />
+ <property name="GOOGLEMAPS.SWC" value="${FALCONJX_HOME}/../externs/google_maps/target/google_maps.swc" />
<property name="target.name" value="GoogleMaps-${release.version}.swc" />
<property name="target.name.no.version" value="GoogleMaps.swc" />
@@ -94,7 +94,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -115,7 +115,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -154,7 +154,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/Graphics/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/build.xml b/frameworks/projects/Graphics/build.xml
index c05b49a..e040adf 100644
--- a/frameworks/projects/Graphics/build.xml
+++ b/frameworks/projects/Graphics/build.xml
@@ -31,11 +31,11 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<property name="target.name" value="Graphics-${release.version}.swc" />
<property name="target.name.no.version" value="Graphics.swc" />
@@ -98,7 +98,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -119,7 +119,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -157,7 +157,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/HTML/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/build.xml b/frameworks/projects/HTML/build.xml
index a70c56f..3a1743a 100644
--- a/frameworks/projects/HTML/build.xml
+++ b/frameworks/projects/HTML/build.xml
@@ -31,11 +31,11 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<property name="target.name" value="HTML-${release.version}.swc" />
<property name="target.name.no.version" value="HTML.swc" />
@@ -94,7 +94,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -115,7 +115,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -153,7 +153,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/HTML5/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML5/build.xml b/frameworks/projects/HTML5/build.xml
index a316de6..fb10d86 100644
--- a/frameworks/projects/HTML5/build.xml
+++ b/frameworks/projects/HTML5/build.xml
@@ -31,11 +31,11 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<property name="target.name" value="HTML5-${release.version}.swc" />
<property name="target.name.no.version" value="HTML5.swc" />
@@ -90,7 +90,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -111,7 +111,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -149,7 +149,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/JQuery/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/JQuery/build.xml b/frameworks/projects/JQuery/build.xml
index 754b23a..30da306 100644
--- a/frameworks/projects/JQuery/build.xml
+++ b/frameworks/projects/JQuery/build.xml
@@ -31,15 +31,15 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<condition property="JQUERY.SWC" value="${FALCONJX_HOME}/../js/libs/jquery.swc" >
<available file="${FALCONJX_HOME}/../js/libs/jquery.swc" />
</condition>
- <property name="JQUERY.SWC" value="${FALCONJX_HOME}/../externs/jquery/out/bin/jquery-1.9.swc" />
+ <property name="JQUERY.SWC" value="${FALCONJX_HOME}/../externs/jquery/target/jquery-1.9.swc" />
<property name="target.name" value="JQuery-${release.version}.swc" />
<property name="target.name.no.version" value="JQuery.swc" />
@@ -94,7 +94,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -115,7 +115,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -154,7 +154,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/Mobile/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Mobile/build.xml b/frameworks/projects/Mobile/build.xml
index 3def2bf..4ad36d3 100644
--- a/frameworks/projects/Mobile/build.xml
+++ b/frameworks/projects/Mobile/build.xml
@@ -31,11 +31,11 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<property name="target.name" value="Mobile-${release.version}.swc" />
<property name="target.name.no.version" value="Mobile.swc" />
@@ -90,7 +90,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -111,7 +111,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -149,7 +149,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/Network/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Network/build.xml b/frameworks/projects/Network/build.xml
index 8a2e7fd..1236b41 100644
--- a/frameworks/projects/Network/build.xml
+++ b/frameworks/projects/Network/build.xml
@@ -31,11 +31,11 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<property name="target.name" value="Network-${release.version}.swc" />
<property name="target.name.no.version" value="Network.swc" />
@@ -96,7 +96,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -117,7 +117,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -155,7 +155,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/Reflection/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Reflection/build.xml b/frameworks/projects/Reflection/build.xml
index 3b5038c..408853b 100644
--- a/frameworks/projects/Reflection/build.xml
+++ b/frameworks/projects/Reflection/build.xml
@@ -31,11 +31,11 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<property name="target.name" value="Reflection-${release.version}.swc" />
<property name="target.name.no.version" value="Reflection.swc" />
@@ -96,7 +96,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -117,7 +117,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -155,7 +155,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/Storage/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Storage/build.xml b/frameworks/projects/Storage/build.xml
index 66508c1..dfc42b8 100644
--- a/frameworks/projects/Storage/build.xml
+++ b/frameworks/projects/Storage/build.xml
@@ -31,15 +31,15 @@
<condition property="JS.SWC" value="${FALCONJX_HOME}/../js/libs/js.swc" >
<available file="${FALCONJX_HOME}/../js/libs/js.swc" />
</condition>
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
<condition property="GCL.SWC" value="${FALCONJX_HOME}/../js/libs/GCL.swc" >
<available file="${FALCONJX_HOME}/../js/libs/GCL.swc" />
</condition>
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<condition property="CORDOVA.SWC" value="${FALCONJX_HOME}/../js/libs/cordova.swc" >
<available file="${FALCONJX_HOME}/../js/libs/cordova.swc" />
</condition>
- <property name="CORDOVA.SWC" value="${FALCONJX_HOME}/../externs/cordova/out/bin/cordova.swc" />
+ <property name="CORDOVA.SWC" value="${FALCONJX_HOME}/../externs/cordova/target/cordova.swc" />
<property name="target.name" value="Storage-${release.version}.swc" />
<property name="target.name.no.version" value="Storage.swc" />
@@ -100,7 +100,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -121,7 +121,7 @@
<arg value="-js-output-type=FLEXJS" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -160,7 +160,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path+=${JS.SWC}" />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/22f2dd9f/frameworks/projects/XML/build.xml
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/build.xml b/frameworks/projects/XML/build.xml
index 7db690a..b404972 100644
--- a/frameworks/projects/XML/build.xml
+++ b/frameworks/projects/XML/build.xml
@@ -28,8 +28,8 @@
<property name="FLEX_HOME" value="${FLEXJS_HOME}"/>
<target name="more-props" >
- <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/out/bin/js.swc" />
- <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/out/bin/GCL.swc" />
+ <property name="JS.SWC" value="${FALCONJX_HOME}/../externs/js/target/js.swc" />
+ <property name="GCL.SWC" value="${FALCONJX_HOME}/../externs/GCL/target/GCL.swc" />
<property name="target.name" value="XML-${release.version}.swc" />
<property name="target.name.no.version" value="XML.swc" />
<path id="lib.path">
@@ -92,7 +92,7 @@
<compc fork="true"
output="${basedir}/target/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="${basedir}/src/main/resources/compile-config.xml" />
+ <load-config filename="${basedir}/src/main/config/compile-as-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-define=COMPILE::AS3,true" />
@@ -114,7 +114,7 @@
<arg value="-compiler.strict-xml=true" />
<arg value="-keep-asdoc" /><!-- allows compiler to see @flexjsignorecoercion annotations -->
<arg value="-output=${basedir}/target/generated-sources/flexjs" />
- <arg value="-load-config=${basedir}/src/main/resources/compile-asjs-config.xml" />
+ <arg value="-load-config=${basedir}/src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.PLAYERGLOBAL_HOME=${env.PLAYERGLOBAL_HOME}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
@@ -152,7 +152,7 @@
<compc fork="true"
output="${basedir}/target/externs/${target.name}">
<jvmarg line="${compc.jvm.args}"/>
- <load-config filename="src/main/resources/compile-asjs-config.xml" />
+ <load-config filename="src/main/config/compile-js-config.xml" />
<arg value="+playerglobal.version=${playerglobal.version}" />
<arg value="+env.AIR_HOME=${env.AIR_HOME}" />
<arg value="-external-library-path=${JS.SWC}" />
[43/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - try to
allow override of asdoc folder
Posted by ah...@apache.org.
try to allow override of asdoc folder
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/0b7de869
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/0b7de869
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/0b7de869
Branch: refs/heads/spark
Commit: 0b7de8699f4503864bd345a64d521099a7f97820
Parents: 6a1a155
Author: Alex Harui <ah...@apache.org>
Authored: Mon May 2 00:08:11 2016 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Mon May 2 00:08:11 2016 -0700
----------------------------------------------------------------------
build.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0b7de869/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 6bb5fa0..793701e 100644
--- a/build.xml
+++ b/build.xml
@@ -1011,9 +1011,9 @@
<target name="asdoc-package" description="Package the asdocs">
<antcall target="clean-temp"/>
<antcall target="asdoc"/>
-
+ <property name="doc_output" value="${basedir}/asdoc-output" />
<copy todir="${basedir}/temp/asdoc">
- <fileset dir="${basedir}/asdoc-output"/>
+ <fileset dir="${doc_output}"/>
</copy>
<copy todir="${basedir}/temp/asdoc" file="${basedir}/NOTICE" />
<copy tofile="${basedir}/temp/asdoc/LICENSE" file="${basedir}/LICENSE.base" />
[03/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Merge
branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-asjs into
develop
Posted by ah...@apache.org.
Merge branch 'develop' of https://git-wip-us.apache.org/repos/asf/flex-asjs into develop
# By Alex Harui
# Via Alex Harui
* 'develop' of https://git-wip-us.apache.org/repos/asf/flex-asjs:
try to fix checkintests with temporary JS stubs
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/495d0162
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/495d0162
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/495d0162
Branch: refs/heads/spark
Commit: 495d01626e4ea480c1409bd27836ccddeb531e59
Parents: 777436c 6f339dc
Author: Harbs <ha...@in-tools.com>
Authored: Tue Apr 12 08:45:29 2016 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Tue Apr 12 08:45:29 2016 +0300
----------------------------------------------------------------------
build.xml | 2 ++
mustella/js/AssertPropertyValue.js | 37 +++++++++++++++++++++++++++
mustella/js/DispatchMouseClickEvent.js | 37 +++++++++++++++++++++++++++
mustella/js/DispatchMouseEvent.js | 37 +++++++++++++++++++++++++++
mustella/js/ExitWhenDone.js | 37 +++++++++++++++++++++++++++
mustella/js/SendFormattedResultsToLog.js | 37 +++++++++++++++++++++++++++
mustella/js/SetProperty.js | 37 +++++++++++++++++++++++++++
mustella/js/SetShowRTE.js | 37 +++++++++++++++++++++++++++
mustella/js/TestCase.js | 37 +++++++++++++++++++++++++++
mustella/js/UnitTester.js | 37 +++++++++++++++++++++++++++
10 files changed, 335 insertions(+)
----------------------------------------------------------------------
[47/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] -
FLEX-35085 - Update release notes with bug fixes
Posted by ah...@apache.org.
FLEX-35085 - Update release notes with bug fixes
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/94380235
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/94380235
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/94380235
Branch: refs/heads/spark
Commit: 943802350acd2f6c610ca67d5c7c9e3478d5b99d
Parents: 1d424cb
Author: piotrz <pi...@apache.org>
Authored: Tue May 3 08:47:02 2016 +0200
Committer: piotrz <pi...@apache.org>
Committed: Tue May 3 08:47:02 2016 +0200
----------------------------------------------------------------------
RELEASE_NOTES | 12 ++++++++++++
1 file changed, 12 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/94380235/RELEASE_NOTES
----------------------------------------------------------------------
diff --git a/RELEASE_NOTES b/RELEASE_NOTES
index 4d8b871..819e797 100644
--- a/RELEASE_NOTES
+++ b/RELEASE_NOTES
@@ -19,6 +19,11 @@ in a browser without Flash.
This is the fourth release of Apache FlexJS. It is an \u2018beta\u2019 type of release.
Expect to find lots of bugs and missing features.
+Bug Fixes
+---------
+-FLEX-35048 [FlexJS] Binding not works expectedly
+-FLEX-35006 bug in mxmlc/compc/etc scripts when flexjs path contains spaces
+
Apache FlexJS 0.5.0
=================
@@ -29,6 +34,11 @@ in a browser without Flash.
This is the third release of Apache FlexJS. It is an \u2018beta\u2019 type of release.
Expect to find lots of bugs and missing features.
+Bug Fixes
+---------
+-FLEX-34928 [FlexJS] First view in TabbedViewManager not laid out properly
+
+
Apache FlexJS 0.0.2
=================
@@ -95,6 +105,8 @@ New Features
Bug Fixes
---------
-FLEX-34258 Error cross-compiling on Windows
+-FLEX-33887 "super" not converted to goog.base call when used in customer setter
+-FLEX-33901 Need getQualifiedClassName and getQualifiedSuperClassName in JS
Please report new issues to our bugbase at: