flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [5/5] git commit: [flex-falcon] [refs/heads/develop] - add allowSubclassOverrides
Date Mon, 05 Dec 2016 18:16:13 GMT
add allowSubclassOverrides


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

Branch: refs/heads/develop
Commit: 7360048d0ae4d3106fcdb51ec782e12e4b224c27
Parents: 1ed2932
Author: Alex Harui <aharui@apache.org>
Authored: Mon Dec 5 10:15:55 2016 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Dec 5 10:15:55 2016 -0800

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


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/7360048d/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 b745eb1..ad13637 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
@@ -83,6 +83,9 @@ public abstract class BaseMojo
     protected boolean debug = false;
 
     @Parameter
+    protected boolean allowSubclassOverrides = false;
+    
+    @Parameter
     private Boolean includeLookupOnly = null;
 
     @Parameter(readonly = true, defaultValue = "${repositorySystemSession}")
@@ -125,6 +128,7 @@ public abstract class BaseMojo
         context.put("targetPlayer", targetPlayer);
         context.put("includeSources", includeSources);
         context.put("debug", debug);
+        context.put("allowSubclassOverrides", allowSubclassOverrides);
         if(includeLookupOnly != null) {
             context.put("includeLookupOnly", includeLookupOnly);
         }

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/7360048d/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 9298688..af45b0a 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
@@ -56,6 +56,8 @@
 #end
         </keep-as3-metadata>
 
+        <allow-subclass-overrides>$allowSubclassOverrides</allow-subclass-overrides>
+        
         <mxml>
             <children-as-data>true</children-as-data>
         </mxml>

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/7360048d/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 2145f21..4cc8d31 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
@@ -53,6 +53,8 @@
 #end
         </keep-as3-metadata>
 
+        <allow-subclass-overrides>$allowSubclassOverrides</allow-subclass-overrides>
+        
         <mxml>
             <children-as-data>true</children-as-data>
         </mxml>


Mime
View raw message