flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject git commit: [flex-falcon] [refs/heads/develop] - - Added keepAs3Metadata as config option - Added 'Mixin' as new keepable metadata - Removed the error report from the examples that now no longer produce errors - Introduced two new profiles 'build-example
Date Fri, 08 Jul 2016 08:18:04 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 273f08198 -> 3d9cba186


- Added keepAs3Metadata as config option
- Added 'Mixin' as new keepable metadata
- Removed the error report from the examples that now no longer produce errors
- Introduced two new profiles 'build-examples' and 'build-distribution' to enable/disable
building of parts of the sdk
- Added fonts to the distribution


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

Branch: refs/heads/develop
Commit: 3d9cba186b2328e9f4e24adb3793fa3b188f530b
Parents: 273f081
Author: Christofer Dutz <christofer.dutz@codecentric.de>
Authored: Fri Jul 8 10:17:47 2016 +0200
Committer: Christofer Dutz <christofer.dutz@codecentric.de>
Committed: Fri Jul 8 10:17:47 2016 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/flex/maven/flexjs/BaseMojo.java  | 4 ++++
 .../src/main/resources/config/compile-as-config.xml           | 7 ++-----
 .../src/main/resources/config/compile-js-config.xml           | 7 ++-----
 3 files changed, 8 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3d9cba18/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/BaseMojo.java
----------------------------------------------------------------------
diff --git a/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/BaseMojo.java
b/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/BaseMojo.java
index 7452c6d..0b9ec99 100644
--- a/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/BaseMojo.java
+++ b/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/BaseMojo.java
@@ -62,6 +62,9 @@ public abstract class BaseMojo
     @Parameter
     private Define[] defines;
 
+    @Parameter
+    private String[] keepAs3Metadata;
+
     /**
      * When compiling framework libraries, it might be desirable to link the
      * dependencies externally, by setting this option to 'true' all dependencies
@@ -115,6 +118,7 @@ public abstract class BaseMojo
         context.put("includeClasses", includeClasses);
         context.put("includeFiles", includeFiles);
         context.put("defines", getDefines());
+        context.put("keepAs3Metadata", keepAs3Metadata);
         context.put("targetPlayer", targetPlayer);
         context.put("includeSources", includeSources);
         context.put("debug", debug);

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3d9cba18/flexjs-maven-plugin/src/main/resources/config/compile-as-config.xml
----------------------------------------------------------------------
diff --git a/flexjs-maven-plugin/src/main/resources/config/compile-as-config.xml b/flexjs-maven-plugin/src/main/resources/config/compile-as-config.xml
index d04c33b..9298688 100644
--- a/flexjs-maven-plugin/src/main/resources/config/compile-as-config.xml
+++ b/flexjs-maven-plugin/src/main/resources/config/compile-as-config.xml
@@ -52,11 +52,8 @@
         </namespaces>
 
         <keep-as3-metadata>
-            <name>Bindable</name>
-            <name>Managed</name>
-            <name>ChangeEvent</name>
-            <name>NonCommittingChangeEvent</name>
-            <name>Transient</name>
+#foreach($metadata in $keepAs3Metadata)            <name>$metadata</name>
+#end
         </keep-as3-metadata>
 
         <mxml>

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/3d9cba18/flexjs-maven-plugin/src/main/resources/config/compile-js-config.xml
----------------------------------------------------------------------
diff --git a/flexjs-maven-plugin/src/main/resources/config/compile-js-config.xml b/flexjs-maven-plugin/src/main/resources/config/compile-js-config.xml
index 22e7ff0..2145f21 100644
--- a/flexjs-maven-plugin/src/main/resources/config/compile-js-config.xml
+++ b/flexjs-maven-plugin/src/main/resources/config/compile-js-config.xml
@@ -49,11 +49,8 @@
         <warn-no-constructor>false</warn-no-constructor>
 
         <keep-as3-metadata>
-            <name>Bindable</name>
-            <name>Managed</name>
-            <name>ChangeEvent</name>
-            <name>NonCommittingChangeEvent</name>
-            <name>Transient</name>
+#foreach($metadata in $keepAs3Metadata)            <name>$metadata</name>
+#end
         </keep-as3-metadata>
 
         <mxml>


Mime
View raw message