flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pio...@apache.org
Subject git commit: [flex-falcon] [refs/heads/develop] - Revert commit: ba025daac12db6344ee1a0fd6f2821d1af58f975
Date Sat, 08 Jul 2017 07:16:17 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/develop ba025daac -> e40944165


Revert commit: ba025daac12db6344ee1a0fd6f2821d1af58f975

"Make compile.targets configurable for SWC type of build"


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

Branch: refs/heads/develop
Commit: e40944165153b7ca3269e056c2a931cca9f3d970
Parents: ba025da
Author: piotrz <piotrz@apache.org>
Authored: Sat Jul 8 09:16:11 2017 +0200
Committer: piotrz <piotrz@apache.org>
Committed: Sat Jul 8 09:16:11 2017 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/flex/maven/flexjs/CompileASMojo.java   | 5 +----
 .../main/java/org/apache/flex/maven/flexjs/CompileJSMojo.java   | 5 +----
 2 files changed, 2 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e4094416/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileASMojo.java
----------------------------------------------------------------------
diff --git a/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileASMojo.java
b/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileASMojo.java
index da14c74..2610286 100644
--- a/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileASMojo.java
+++ b/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileASMojo.java
@@ -44,9 +44,6 @@ public class CompileASMojo
     @Parameter(defaultValue = "false")
     private boolean skipAS;
 
-    @Parameter
-    protected String targets = "SWF,JSFlex";
-
     @Component
     private MavenProjectHelper projectHelper;
     
@@ -89,7 +86,7 @@ public class CompileASMojo
     @Override
     protected List<String> getCompilerArgs(File configFile) throws MojoExecutionException
{
         List<String> args = super.getCompilerArgs(configFile);
-        args.add("-compiler.targets=" + targets);
+        args.add("-compiler.targets=SWF,JSFlex");
         args.add("-compiler.strict-xml=true");
         return args;
     }

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/e4094416/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileJSMojo.java
----------------------------------------------------------------------
diff --git a/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileJSMojo.java
b/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileJSMojo.java
index 8304145..d30eec4 100644
--- a/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileJSMojo.java
+++ b/flexjs-maven-plugin/src/main/java/org/apache/flex/maven/flexjs/CompileJSMojo.java
@@ -47,9 +47,6 @@ public class CompileJSMojo
     @Parameter(defaultValue = "false")
     private boolean skipJS;
 
-    @Parameter
-    protected String targets = "SWF,JSFlex";
-    
     @Component
     private MavenProjectHelper projectHelper;
     
@@ -87,7 +84,7 @@ public class CompileJSMojo
     @Override
     protected List<String> getCompilerArgs(File configFile) throws MojoExecutionException
{
         List<String> args = super.getCompilerArgs(configFile);
-        args.add("-compiler.targets=" + targets);
+        args.add("-compiler.targets=SWF,JSFlex");
         args.add("-compiler.strict-xml=true");
         return args;
     }


Mime
View raw message