You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2018/04/02 17:52:27 UTC

[royale-asjs] branch ace-editor updated (7bd5b87 -> 7698774)

This is an automated email from the ASF dual-hosted git repository.

yishayw pushed a change to branch ace-editor
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git.


    from 7bd5b87  No need for a special application.
     new 5544056  Fix MaskBead for non-chrome browsers
     new 6c3771a  Starting to fix ACE package
     new 7698774  Added AceJS config files, still not building

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 examples/build.xml                                 |  2 +-
 .../ace-config-template.xml                        |  8 +++--
 frameworks/build.xml                               |  6 +++-
 frameworks/js/projects/{TextJS => AceJS}/build.xml |  6 ++--
 .../src/main/config/compile-js-config.xml          | 13 ++++---
 .../Ace/src/main/resources/ace-manifest.xml        |  1 -
 .../main/royale/org/apache/royale/ace/ACEEditor.as | 30 +++++++++++++---
 .../royale/org/apache/royale/ace/Application.as    | 40 ----------------------
 .../main/royale/org/apache/royale/svg/MaskBead.as  |  9 ++---
 9 files changed, 50 insertions(+), 65 deletions(-)
 copy distribution/src/main/resources/frameworks/js-config-template.xml => frameworks/ace-config-template.xml (98%)
 copy frameworks/js/projects/{TextJS => AceJS}/build.xml (97%)
 copy frameworks/js/projects/{JQueryJS => AceJS}/src/main/config/compile-js-config.xml (85%)
 delete mode 100644 frameworks/projects/Ace/src/main/royale/org/apache/royale/ace/Application.as

-- 
To stop receiving notification emails like this one, please contact
yishayw@apache.org.

[royale-asjs] 01/03: Fix MaskBead for non-chrome browsers

Posted by yi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

yishayw pushed a commit to branch ace-editor
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 55440561f937ac32f27f20ba29b9b448663cc110
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Sun Feb 25 15:37:43 2018 +0200

    Fix MaskBead for non-chrome browsers
---
 .../Graphics/src/main/royale/org/apache/royale/svg/MaskBead.as   | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/frameworks/projects/Graphics/src/main/royale/org/apache/royale/svg/MaskBead.as b/frameworks/projects/Graphics/src/main/royale/org/apache/royale/svg/MaskBead.as
index 7eb2ac5..7fc74c4 100644
--- a/frameworks/projects/Graphics/src/main/royale/org/apache/royale/svg/MaskBead.as
+++ b/frameworks/projects/Graphics/src/main/royale/org/apache/royale/svg/MaskBead.as
@@ -19,6 +19,7 @@
 package org.apache.royale.svg
 {
 	
+	import org.apache.royale.core.ITransformHost;
 	import org.apache.royale.core.IBead;
 	import org.apache.royale.core.IRenderedObject;
 	import org.apache.royale.core.IStrand;
@@ -119,15 +120,15 @@ package org.apache.royale.svg
 		}
 
 		COMPILE::JS 
-		public function unmaskElement(renderedObject:IRenderedObject):void
+		public function unmaskElement(transformHost:ITransformHost):void
 		{
-			renderedObject.element.style["mask"] = "";
+			transformHost.transformElement.setAttribute("mask", "");
 		}
 
 		COMPILE::JS 
-		public function maskElement(renderedObject:IRenderedObject):void
+		public function maskElement(transformHost:ITransformHost):void
 		{
-			renderedObject.element.style["mask"] = "url(#" + maskElementId + ")";
+			transformHost.transformElement.setAttribute("mask", "url(#" + maskElementId + ")");
 		}
 	}
 }

-- 
To stop receiving notification emails like this one, please contact
yishayw@apache.org.

[royale-asjs] 02/03: Starting to fix ACE package

Posted by yi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

yishayw pushed a commit to branch ace-editor
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 6c3771a35aa8747330aac235b8e2ca8845acda26
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Sun Feb 25 15:39:29 2018 +0200

    Starting to fix ACE package
---
 .../main/royale/org/apache/royale/ace/ACEEditor.as | 30 +++++++++++++---
 .../royale/org/apache/royale/ace/Application.as    | 40 ----------------------
 2 files changed, 25 insertions(+), 45 deletions(-)

diff --git a/frameworks/projects/Ace/src/main/royale/org/apache/royale/ace/ACEEditor.as b/frameworks/projects/Ace/src/main/royale/org/apache/royale/ace/ACEEditor.as
index 42a2600..a194f78 100644
--- a/frameworks/projects/Ace/src/main/royale/org/apache/royale/ace/ACEEditor.as
+++ b/frameworks/projects/Ace/src/main/royale/org/apache/royale/ace/ACEEditor.as
@@ -19,27 +19,47 @@
 package org.apache.royale.ace
 {
 	import org.apache.royale.core.UIBase;
+
+	COMPILE::JS {
+		import ace.Editor;
+		import ace.Document;
+	}
+
+	COMPILE::SWF
+	public class ACEEditor extends org.apache.royale.core.UIBase
+	{
+	}
 	
+	COMPILE::JS
 	public class ACEEditor extends org.apache.royale.core.UIBase
 	{
+		/**
+		 * <inject_html>
+		 * <script src="https://cdn.rawgit.com/ajaxorg/ace-builds/master/src-min-noconflict/ace.js"></script>
+		 * </inject_html>
+		 */
+		public function ACEEditor()
+		{
+			super();
+		}
 		private var editor:Editor; 			
 
 		override public function addedToParent():void 
 		{ 
-		   super.addedToParent(); 
-		   editor = ace.edit(id); 
+			super.addedToParent(); 
+			editor = ace["edit"](id); 
 		} 
 
 		private var _theme:String; 
 		public function get theme():String 
 		{ 
-		    return _theme; 
+			return _theme; 
 		} 
 
 		public function set theme(value:String):void 
 		{ 
-		   _theme = value; 
-		   editor.setTheme(value); 
+			_theme = value; 
+			editor.setTheme(value); 
 		} 
 	}
 }
diff --git a/frameworks/projects/Ace/src/main/royale/org/apache/royale/ace/Application.as b/frameworks/projects/Ace/src/main/royale/org/apache/royale/ace/Application.as
deleted file mode 100644
index 4a7c6d3..0000000
--- a/frameworks/projects/Ace/src/main/royale/org/apache/royale/ace/Application.as
+++ /dev/null
@@ -1,40 +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.royale.ace
-{
-    import org.apache.royale.core.Application;
-	import org.apache.royale.core.IFlexInfo;
-	
-	
-	public class Application extends org.apache.royale.core.Application implements IFlexInfo
-	{
-		/**
-		 * The Royale Compiler will inject html into the index.html file.  Surround with
-		 * "inject_html" tag as follows:
-		 *
-		 * <inject_html>
-		 * <script src="https://raw.githubusercontent.com/ajaxorg/ace-builds/master/src-min-noconflict/ace.js"></script>
-		 * </inject_html>
-		 */
-		public function Application()
-		{
-			super();
-		}
-    }
-}

-- 
To stop receiving notification emails like this one, please contact
yishayw@apache.org.

[royale-asjs] 03/03: Added AceJS config files, still not building

Posted by yi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

yishayw pushed a commit to branch ace-editor
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 7698774e3ddb57d26fb10869a4229e89646ee7e9
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Mon Apr 2 20:52:00 2018 +0300

    Added AceJS config files, still not building
---
 examples/build.xml                                 |   2 +-
 frameworks/ace-config-template.xml                 | 347 +++++++++++++++++++++
 frameworks/build.xml                               |   6 +-
 frameworks/js/projects/AceJS/build.xml             | 124 ++++++++
 .../AceJS/src/main/config/compile-js-config.xml    | 100 ++++++
 .../Ace/src/main/resources/ace-manifest.xml        |   1 -
 6 files changed, 577 insertions(+), 3 deletions(-)

diff --git a/examples/build.xml b/examples/build.xml
index 57a9f9b..def0d95 100644
--- a/examples/build.xml
+++ b/examples/build.xml
@@ -74,7 +74,7 @@
     </target>
     
     <target name="compile" description="Compile Examples" >
-	    <!--ant dir="${basedir}/royale/Ace"--/>
+	<ant dir="${basedir}/royale/Ace">
         <ant dir="${basedir}/express/DataBindingExample"/>
         <ant dir="${basedir}/express/DataGridExample"/>
         <ant dir="${basedir}/royale/AccordionExample"/>
diff --git a/frameworks/ace-config-template.xml b/frameworks/ace-config-template.xml
new file mode 100644
index 0000000..f34b131
--- /dev/null
+++ b/frameworks/ace-config-template.xml
@@ -0,0 +1,347 @@
+<?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.
+
+-->
+
+
+<royale-config>
+    <!-- Specifies the minimum player version that will run the compiled SWF. -->
+   <target-player>@playerversion@</target-player>
+
+    <!-- Specifies the version of the compiled SWF -->
+   <swf-version>@swfversion@</swf-version>
+
+   <compiler>
+      <!-- build both SWF and JS. -->
+      <targets>
+          <target>JS</target>
+      </targets>
+
+      <!-- List of path elements that form the roots of ActionScript class hierarchies. -->
+      <!-- not set -->
+      <!--
+      <source-path>
+         <path-element>string</path-element>
+      </source-path>
+      -->
+
+     <!-- Allow the source-path to have path-elements which contain other path-elements -->
+     <allow-source-path-overlap>false</allow-source-path-overlap>
+
+      <!-- Run the AS3 compiler in a mode that detects legal but potentially incorrect -->
+      <!-- code.                                                                       -->
+      <show-actionscript-warnings>true</show-actionscript-warnings>
+
+      <!-- Turn on generation of debuggable SWFs. False by default for mxmlc, -->
+      <!-- but true by default for compc. -->
+      <!--
+      <debug>true</debug>
+      -->
+
+      <!-- List of SWC files or directories to compile against but to omit from -->
+      <!-- linking.                                                             -->
+      <external-library-path>
+          <path-element>../js/libs/js.swc</path-element>
+          <path-element>../js/libs/ace.swc</path-element>
+      </external-library-path>
+
+      <!-- Turn on writing of generated/*.as files to disk. These files are generated by -->
+      <!-- the compiler during mxml translation and are helpful with understanding and   -->
+      <!-- debugging Royale applications.                                                  -->
+      <keep-generated-actionscript>false</keep-generated-actionscript>
+
+      <!-- not set -->
+      <!--
+      <include-libraries>
+         <library>string</library>
+      </include-libraries>
+      -->
+
+      <!-- List of SWC files or directories that contain SWC files. -->
+      <library-path>
+         <path-element>js/libs/LanguageJS.swc</path-element>
+         <path-element>../js/libs/GCL.swc</path-element>
+      </library-path>
+
+      <allow-subclass-overrides>true</allow-subclass-overrides>
+      <mxml>
+          <children-as-data>true</children-as-data>
+          <imports>
+            <implicit-import>org.apache.royale.events.*</implicit-import>
+            <implicit-import>org.apache.royale.geom.*</implicit-import>
+            <implicit-import>org.apache.royale.core.ClassFactory</implicit-import>
+            <implicit-import>org.apache.royale.core.IFactory</implicit-import>
+        </imports>
+      </mxml>
+      <binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
+      <binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
+      <binding-value-change-event-type>valueChange</binding-value-change-event-type>
+      <binding-event-handler-event>org.apache.royale.events.Event</binding-event-handler-event>
+      <binding-event-handler-class>org.apache.royale.events.EventDispatcher</binding-event-handler-class>
+      <binding-event-handler-interface>org.apache.royale.events.IEventDispatcher</binding-event-handler-interface>
+      <states-class>org.apache.royale.states.State</states-class>
+      <states-instance-override-class>org.apache.royale.states.AddItems</states-instance-override-class>
+      <states-property-override-class>org.apache.royale.states.SetProperty</states-property-override-class>
+      <states-event-override-class>org.apache.royale.states.SetEventHandler</states-event-override-class>
+      <component-factory-class>org.apache.royale.core.ClassFactory</component-factory-class>
+      <component-factory-interface>org.apache.royale.core.IFactory</component-factory-interface>
+        
+      <namespaces>
+      <!-- Specify a URI to associate with a manifest of components for use as MXML -->
+      <!-- elements.                                                                -->
+      </namespaces>
+
+      <!-- Enable post-link SWF optimization. -->
+      <optimize>true</optimize>
+
+      <!-- Enable trace statement omission. -->
+      <omit-trace-statements>true</omit-trace-statements>
+
+      <!-- Keep the following AS3 metadata in the bytecodes.                                             -->
+      <!-- Warning: For the data binding feature in the Royale framework to work properly,                 -->
+      <!--          the following metadata must be kept:                                                 -->
+      <!--          1. Bindable                                                                          -->
+      <!--          2. Managed                                                                           -->
+      <!--          3. ChangeEvent                                                                       -->
+      <!--          4. NonCommittingChangeEvent                                                          -->
+      <!--          5. Transient                                                                         -->
+      <!--
+      <keep-as3-metadata>
+          <name>Bindable</name>
+          <name>Managed</name>
+          <name>ChangeEvent</name>
+          <name>NonCommittingChangeEvent</name>
+          <name>Transient</name>
+      </keep-as3-metadata>
+      -->
+
+      <!-- Turn on reporting of data binding warnings. For example: Warning: Data binding -->
+      <!-- will not be able to detect assignments to "foo".                               -->
+      <show-binding-warnings>true</show-binding-warnings>
+
+      <!-- toggle whether warnings generated from unused type selectors are displayed -->
+      <show-unused-type-selector-warnings>true</show-unused-type-selector-warnings>
+
+      <!-- Run the AS3 compiler in strict error checking mode. -->
+      <strict>true</strict>
+
+      <!-- Use the ActionScript 3 class based object model for greater performance and better error reporting. -->
+      <!-- In the class based object model most built-in functions are implemented as fixed methods of classes -->
+      <!-- (-strict is recommended, but not required, for earlier errors) -->
+      <as3>true</as3>
+
+      <!-- Use the ECMAScript edition 3 prototype based object model to allow dynamic overriding of prototype -->
+      <!-- properties. In the prototype based object model built-in functions are implemented as dynamic      -->
+      <!-- properties of prototype objects (-strict is allowed, but may result in compiler errors for         -->
+      <!-- references to dynamic properties) -->
+      <es>false</es>
+
+      <!-- List of CSS or SWC files to apply as a theme. -->
+      <theme>
+      </theme>
+
+      <!-- Turns on the display of stack traces for uncaught runtime errors. -->
+      <verbose-stacktraces>false</verbose-stacktraces>
+
+      <!-- Defines the AS3 file encoding. -->
+      <!-- not set -->
+      <!--
+      <actionscript-file-encoding></actionscript-file-encoding>
+      -->
+
+      <fonts>
+
+          <!-- Enables advanced anti-aliasing for embedded fonts, which provides greater clarity for small -->
+          <!-- fonts. This setting can be overriden in CSS for specific fonts. -->
+          <!-- NOTE: flash-type has been deprecated. Please use advanced-anti-aliasing <flash-type>true</flash-type> -->
+          <advanced-anti-aliasing>true</advanced-anti-aliasing>
+
+          <!-- The number of embedded font faces that are cached. -->
+          <max-cached-fonts>20</max-cached-fonts>
+
+          <!-- The number of character glyph outlines to cache for each font face. -->
+          <max-glyphs-per-face>1000</max-glyphs-per-face>
+
+          <!-- Defines ranges that can be used across multiple font-face declarations. -->
+          <!-- See flash-unicode-table.xml for more examples. -->
+          <!-- not set -->
+          <!--
+          <languages>
+              <language-range>
+                  <lang>englishRange</lang>
+                  <range>U+0020-007E</range>
+              </language-range>
+          </languages>
+          -->
+
+          <!-- Compiler font manager classes, in policy resolution order -->
+          <!-- NOTE: For Apache Royale -->
+          <!-- AFEFontManager and CFFFontManager both use proprietary technology.  -->
+          <!-- You must install the optional font jars if you wish to use embedded fonts  -->
+          <!-- directly or you can use fontswf to precompile the font as a swf.  -->
+          <managers>
+              <manager-class>flash.fonts.JREFontManager</manager-class>
+              <manager-class>flash.fonts.BatikFontManager</manager-class>
+              <manager-class>flash.fonts.AFEFontManager</manager-class>
+              <manager-class>flash.fonts.CFFFontManager</manager-class>
+          </managers>
+
+          <!-- File containing cached system font licensing information produced via
+               java -cp mxmlc.jar flex2.tools.FontSnapshot (fontpath)
+               Will default to winFonts.ser on Windows XP and
+               macFonts.ser on Mac OS X, so is commented out by default.
+
+          <local-fonts-snapshot>localFonts.ser</local-fonts-snapshot>
+          -->
+
+      </fonts>
+      
+      <!-- Array.toString() format has changed. -->
+      <warn-array-tostring-changes>false</warn-array-tostring-changes>
+
+      <!-- Assignment within conditional. -->
+      <warn-assignment-within-conditional>true</warn-assignment-within-conditional>
+
+      <!-- Possibly invalid Array cast operation. -->
+      <warn-bad-array-cast>true</warn-bad-array-cast>
+
+      <!-- Non-Boolean value used where a Boolean value was expected. -->
+      <warn-bad-bool-assignment>true</warn-bad-bool-assignment>
+
+      <!-- Invalid Date cast operation. -->
+      <warn-bad-date-cast>true</warn-bad-date-cast>
+
+      <!-- Unknown method. -->
+      <warn-bad-es3-type-method>true</warn-bad-es3-type-method>
+
+      <!-- Unknown property. -->
+      <warn-bad-es3-type-prop>true</warn-bad-es3-type-prop>
+
+      <!-- Illogical comparison with NaN. Any comparison operation involving NaN will evaluate to false because NaN != NaN. -->
+      <warn-bad-nan-comparison>true</warn-bad-nan-comparison>
+
+      <!-- Impossible assignment to null. -->
+      <warn-bad-null-assignment>true</warn-bad-null-assignment>
+
+      <!-- Illogical comparison with null. -->
+      <warn-bad-null-comparison>true</warn-bad-null-comparison>
+
+      <!-- Illogical comparison with undefined. Only untyped variables (or variables of type *) can be undefined. -->
+      <warn-bad-undefined-comparison>true</warn-bad-undefined-comparison>
+
+      <!-- Boolean() with no arguments returns false in ActionScript 3.0. Boolean() returned undefined in ActionScript 2.0. -->
+      <warn-boolean-constructor-with-no-args>false</warn-boolean-constructor-with-no-args>
+
+      <!-- __resolve is no longer supported. -->
+      <warn-changes-in-resolve>false</warn-changes-in-resolve>
+
+      <!-- Class is sealed. It cannot have members added to it dynamically. -->
+      <warn-class-is-sealed>true</warn-class-is-sealed>
+
+      <!-- Constant not initialized. -->
+      <warn-const-not-initialized>true</warn-const-not-initialized>
+
+      <!-- Function used in new expression returns a value. Result will be what the -->
+      <!-- function returns, rather than a new instance of that function.           -->
+      <warn-constructor-returns-value>false</warn-constructor-returns-value>
+
+      <!-- EventHandler was not added as a listener. -->
+      <warn-deprecated-event-handler-error>false</warn-deprecated-event-handler-error>
+
+      <!-- Unsupported ActionScript 2.0 function. -->
+      <warn-deprecated-function-error>true</warn-deprecated-function-error>
+
+      <!-- Unsupported ActionScript 2.0 property. -->
+      <warn-deprecated-property-error>true</warn-deprecated-property-error>
+
+      <!-- More than one argument by the same name. -->
+      <warn-duplicate-argument-names>true</warn-duplicate-argument-names>
+
+      <!-- Duplicate variable definition -->
+      <warn-duplicate-variable-def>true</warn-duplicate-variable-def>
+
+      <!-- ActionScript 3.0 iterates over an object's properties within a "for x in target" statement in random order. -->
+      <warn-for-var-in-changes>false</warn-for-var-in-changes>
+
+      <!-- Importing a package by the same name as the current class will hide that class identifier in this scope. -->
+      <warn-import-hides-class>true</warn-import-hides-class>
+
+      <!-- Use of the instanceof operator. -->
+      <warn-instance-of-changes>true</warn-instance-of-changes>
+
+      <!-- Internal error in compiler. -->
+      <warn-internal-error>true</warn-internal-error>
+
+      <!-- _level is no longer supported. For more information, see the flash.display package. -->
+      <warn-level-not-supported>true</warn-level-not-supported>
+
+      <!-- Missing namespace declaration (e.g. variable is not defined to be public, private, etc.). -->
+      <warn-missing-namespace-decl>true</warn-missing-namespace-decl>
+
+      <!-- Negative value will become a large positive value when assigned to a uint data type. -->
+      <warn-negative-uint-literal>true</warn-negative-uint-literal>
+
+      <!-- Missing constructor. -->
+      <warn-no-constructor>false</warn-no-constructor>
+
+      <!-- The super() statement was not called within the constructor. -->
+      <warn-no-explicit-super-call-in-constructor>false</warn-no-explicit-super-call-in-constructor>
+
+      <!-- Missing type declaration. -->
+      <warn-no-type-decl>true</warn-no-type-decl>
+
+      <!-- In ActionScript 3.0, white space is ignored and '' returns 0. Number() returns -->
+      <!-- NaN in ActionScript 2.0 when the parameter is '' or contains white space.      -->
+      <warn-number-from-string-changes>false</warn-number-from-string-changes>
+
+      <!-- Change in scoping for the this keyword. Class methods extracted from an  -->
+      <!-- instance of a class will always resolve this back to that instance. In   -->
+      <!-- ActionScript 2.0 this is looked up dynamically based on where the method -->
+      <!-- is invoked from.                                                         -->
+      <warn-scoping-change-in-this>false</warn-scoping-change-in-this>
+
+      <!-- Inefficient use of += on a TextField.-->
+      <warn-slow-text-field-addition>true</warn-slow-text-field-addition>
+
+      <!-- Possible missing parentheses. -->
+      <warn-unlikely-function-value>true</warn-unlikely-function-value>
+
+      <!-- Possible usage of the ActionScript 2.0 XML class. -->
+      <warn-xml-class-has-changed>false</warn-xml-class-has-changed>
+
+   </compiler>
+
+
+   <!-- target-player: specifies the version of the player the application is targeting.
+                       Features requiring a later version will not be compiled into the application.
+                       The minimum value supported is "9.0.0".-->
+   <!-- target-player usage:
+   <target-player>version</target-player>
+   -->
+
+   <!-- Metadata added to SWFs via the SWF Metadata tag. -->
+   <metadata>
+      <title>Apache Royale Application</title>
+      <description>http://royale.apache.org/</description>
+      <publisher>Apache Software Foundation</publisher>
+      <creator>unknown</creator>
+      <language>EN</language>
+   </metadata>
+   
+</royale-config>
diff --git a/frameworks/build.xml b/frameworks/build.xml
index fb32221..68fd294 100644
--- a/frameworks/build.xml
+++ b/frameworks/build.xml
@@ -115,6 +115,7 @@
         <antcall target="Binding"/>
         <antcall target="Collections"/>
         <antcall target="Basic"/>
+	<antcall target="Ace"/>
         <antcall target="CoreTest"/>
         <antcall target="HTML"/>
         <antcall target="Effects"/>
@@ -126,7 +127,6 @@
         <antcall target="CreateJS"/>
         <antcall target="HTML5"/>
         <antcall target="JQuery"/>
-	<!--antcall target="Ace"/-->
         <antcall target="Mobile"/>
         <antcall target="Reflection"/>
         <antcall target="Network"/>
@@ -288,6 +288,10 @@
         <ant dir="${basedir}/projects/HTML5"/>
     </target>
 
+    <target name="Ace" description="Clean build of Ace.swc">
+	    <ant dir="${basedir}/projects/Ace"/>
+    </target>
+
     <target name="JQuery" description="Clean build of JQuery.swc">
         <ant dir="${basedir}/projects/JQuery"/>
     </target>
diff --git a/frameworks/js/projects/AceJS/build.xml b/frameworks/js/projects/AceJS/build.xml
new file mode 100644
index 0000000..5aabe59
--- /dev/null
+++ b/frameworks/js/projects/AceJS/build.xml
@@ -0,0 +1,124 @@
+<?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="AceJS" default="main" basedir=".">
+    <property name="ROYALE_HOME" location="../../../.."/>
+    
+    <property file="${ROYALE_HOME}/env.properties"/>
+    <property environment="env"/>
+    <property file="${ROYALE_HOME}/build.properties"/>
+    <property name="ROYALE_HOME" value="${ROYALE_HOME}"/>
+    
+    <property name="target.name" value="${ant.project.name}.swc" />
+    <echo file="${basedir}/${target.name}.properties">target.name.nojs=${ant.project.name}</echo>
+    <replaceregexp file="${basedir}/${target.name}.properties" match="(.*)JS$" replace="\1" flags="m" />
+    <property file="${basedir}/${target.name}.properties"/>
+    <delete file="${basedir}/${target.name}.properties"/>
+    
+    <target name="main" depends="clean,check-compiler,compile" description="Full build of ${ant.project.name}.swc">
+    </target>
+    
+    <target name="clean">
+        <delete failonerror="false">
+            <fileset dir="${ROYALE_HOME}/frameworks/js/libs">
+                <include name="${target.name}"/>
+            </fileset>
+        </delete>
+        <delete failonerror="false" includeemptydirs="true">
+            <fileset dir="${basedir}/target">
+                <include name="**/**"/>
+            </fileset>
+        </delete>
+    </target>
+    
+    <target name="compile" depends="check-compiler">
+        <echo message="Cross-compiling ${target.name}"/>
+        <echo message="ROYALE_COMPILER_HOME: ${ROYALE_COMPILER_HOME}"/>
+        <mkdir dir="${basedir}/target/generated-sources/royale"/>
+        <java jar="${ROYALE_COMPILER_HOME}/lib/compc.jar" fork="true" >
+            <jvmarg value="-Xmx384m" />
+            <jvmarg value="-Dsun.io.useCanonCaches=false" />
+            <jvmarg value="-Droyalelib=${ROYALE_HOME}/frameworks" />
+            <arg value="+royalelib=${ROYALE_HOME}/frameworks" />
+            <arg value="-compiler.strict-xml=true" />
+            <arg value="-compiler.targets=SWF,JSRoyale" />
+            <arg value="-output=${basedir}/target/${target.name}" />
+            <arg value="-load-config=${ROYALE_HOME}/frameworks/ace-config.xml" />
+            <arg value="-load-config+=${basedir}/src/main/config/compile-js-config.xml" />
+        </java>
+        <copy file="${basedir}/target/${target.name}" tofile="${ROYALE_HOME}/frameworks/js/libs/${target.name}" />
+    </target>
+    
+    <target name="copy-js" >
+        <mkdir dir="${ROYALE_HOME}/frameworks/js/generated-sources"/>
+        <copy todir="${ROYALE_HOME}/frameworks/js/generated-sources">
+            <fileset dir="${basedir}/target/generated-sources/royale">
+                <include name="**/**" />
+            </fileset>
+        </copy>
+    </target>
+    
+    <target name="check-compiler" depends="check-compiler-home, check-transpiler-home">
+        <path id="lib.path">
+            <fileset dir="${ROYALE_COMPILER_HOME}/lib" includes="compiler-royaleTasks.jar"/>
+        </path>
+        <taskdef resource="flexTasks.tasks" classpathref="lib.path"/>
+    </target>
+    
+    <target name="check-compiler-home" unless="ROYALE_SWF_COMPILER_HOME"
+        description="Check ROYALE_SWF_COMPILER_HOME is a directory.">
+        
+        <echo message="ROYALE_SWF_COMPILER_HOME is ${env.ROYALE_SWF_COMPILER_HOME}"/>
+        
+        <available file="${env.ROYALE_SWF_COMPILER_HOME}/lib/compiler-mxmlc.jar"
+        type="file"
+        property="ROYALE_SWF_COMPILER_HOME"
+        value="${env.ROYALE_SWF_COMPILER_HOME}"/>
+        
+        <available file="${ROYALE_HOME}/../royale-compiler/compiler/lib/compiler-mxmlc.jar"
+        type="file"
+        property="ROYALE_SWF_COMPILER_HOME"
+        value="${ROYALE_HOME}/../royale-compiler/compiler"/>
+        
+        <fail message="ROYALE_SWF_COMPILER_HOME must be set to a folder with a lib sub-folder containing compiler-mxmlc.jar such as the compiler folder in royale-compiler repo or a Royale SDK folder"
+        unless="ROYALE_SWF_COMPILER_HOME"/>
+    </target>
+    
+    <target name="check-transpiler-home" unless="ROYALE_COMPILER_HOME"
+        description="Check ROYALE_SWF_COMPILER_HOME is a directory.">
+        
+        <echo message="ROYALE_COMPILER_HOME is ${env.ROYALE_COMPILER_HOME}"/>
+        
+        <available file="${env.ROYALE_COMPILER_HOME}/lib/jsc.jar"
+        type="file"
+        property="ROYALE_COMPILER_HOME"
+        value="${env.ROYALE_COMPILER_HOME}"/>
+        
+        <available file="${ROYALE_HOME}/../royale-compiler/compiler-jx/lib/jsc.jar"
+        type="file"
+        property="ROYALE_COMPILER_HOME"
+        value="${ROYALE_HOME}/../royale-compiler/compiler-jx"/>
+        
+        <fail message="ROYALE_COMPILER_HOME must be set to a folder with a lib sub-folder containing jsc.jar such as the compiler-jx folder in royale-compiler repo or the js folder of a Royale SDK"
+        unless="ROYALE_COMPILER_HOME"/>
+    </target>
+   
+</project>
diff --git a/frameworks/js/projects/AceJS/src/main/config/compile-js-config.xml b/frameworks/js/projects/AceJS/src/main/config/compile-js-config.xml
new file mode 100644
index 0000000..e8e3878
--- /dev/null
+++ b/frameworks/js/projects/AceJS/src/main/config/compile-js-config.xml
@@ -0,0 +1,100 @@
+<!--
+
+  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.
+
+-->
+<royale-config>
+
+    <compiler>
+        <accessible>false</accessible>
+        
+        <!-- build both SWF and JS. -->
+        <targets>
+            <target>SWF</target>
+            <target>JSRoyale</target>
+        </targets>
+        <strict-xml>true</strict-xml>
+
+		<mxml>
+			<children-as-data>true</children-as-data>
+		</mxml>
+		<binding-value-change-event>org.apache.royale.events.ValueChangeEvent</binding-value-change-event>
+		<binding-value-change-event-kind>org.apache.royale.events.ValueChangeEvent</binding-value-change-event-kind>
+		<binding-value-change-event-type>valueChange</binding-value-change-event-type>
+
+        <define>
+            <name>COMPILE::SWF</name>
+            <value>false</value>
+        </define>
+        <define>
+            <name>COMPILE::JS</name>
+            <value>true</value>
+        </define>
+
+        <keep-as3-metadata>
+          <name>Bindable</name>
+          <name>Managed</name>
+          <name>ChangeEvent</name>
+          <name>NonCommittingChangeEvent</name>
+          <name>Transient</name>
+        </keep-as3-metadata>
+	  
+        <locale/>
+        
+        <!-- overwrite the default library-path setting -->
+        <library-path>
+            <path-element>../../../../../../../js/libs/GCL.swc</path-element>
+            <!-- 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>../../../../../libs/BindingJS.swc</path-element>
+            <path-element>../../../../../libs/CoreJS.swc</path-element>
+            <path-element>../../../../../libs/CollectionsJS.swc</path-element>
+            <path-element>../../../../../libs/BasicJS.swc</path-element>
+        </library-path>
+        
+        <namespaces>
+            <namespace>
+                <uri>library://ns.apache.org/royale/ace</uri>
+                <manifest>../../../../../../projects/Ace/src/main/resources/ace-manifest.xml</manifest>
+            </namespace>
+        </namespaces>
+        
+        <source-path>
+            <path-element>../../../../../../projects/Ace/src/main/royale</path-element>
+        </source-path>
+        
+        <warn-no-constructor>false</warn-no-constructor>
+    </compiler>
+    
+    <include-file>
+        <name>defaults.css</name>
+        <path>../../../../../../projects/Ace/src/main/resources/defaults.css</path>
+    </include-file>
+    
+    <include-sources>
+    </include-sources>
+    
+    <include-classes>
+        <class>Ace</class>
+    </include-classes>
+    
+    <include-namespaces>
+        <uri>library://ns.apache.org/royale/ace</uri>
+    </include-namespaces>
+        
+
+</royale-config>
diff --git a/frameworks/projects/Ace/src/main/resources/ace-manifest.xml b/frameworks/projects/Ace/src/main/resources/ace-manifest.xml
index 26b3fa1..fd3a7a1 100644
--- a/frameworks/projects/Ace/src/main/resources/ace-manifest.xml
+++ b/frameworks/projects/Ace/src/main/resources/ace-manifest.xml
@@ -21,7 +21,6 @@
 
 <componentPackage>
 
-    <component id="Application" class="org.apache.royale.ace.Application"/>
     <component id="ACEEditor" class="org.apache.royale.ace.ACEEditor"/>
 
 </componentPackage>

-- 
To stop receiving notification emails like this one, please contact
yishayw@apache.org.