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/feature/maven-migration-test] - - Removed some arguments with unknown use
Date Thu, 21 Apr 2016 07:21:07 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/feature/maven-migration-test 388ecdc48 -> b42cb998b


- Removed some arguments with unknown use


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

Branch: refs/heads/feature/maven-migration-test
Commit: b42cb998ba1c9ea99e9e49b2f68e7a37aff1a8d1
Parents: 388ecdc
Author: Christofer Dutz <christofer.dutz@codecentric.de>
Authored: Thu Apr 21 09:21:00 2016 +0200
Committer: Christofer Dutz <christofer.dutz@codecentric.de>
Committed: Thu Apr 21 09:21:00 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b42cb998/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 0061e09..fa63c49 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
@@ -124,7 +124,7 @@ public class CompileASMojo
             // Get an instance of the compiler and run the build.
             FlexTool compc = toolGroup.getFlexTool(FlexTool.FLEX_TOOL_COMPC);
             File outputFile = new File(outputDirectory, outputFileName);
-            String[] args = {"+flexlib=externs", "-debug", "-load-config=" + configFileOutput.getPath(),
+            String[] args = {"-debug", "-load-config=" + configFileOutput.getPath(),
                     "-output=" + outputFile.getPath(), "-define=COMPILE::AS3,true", "-define=COMPILE::JS,false"};
             compc.execute(args);
 

http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b42cb998/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 5ca7c5a..6ad19dc 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
@@ -92,7 +92,7 @@ public class CompileJSMojo
             <!-- this is not on external-library path otherwise goog.requires are not
generated -->
             <arg value="-library-path+=${GCL.SWC}" />*/
 
-        String[] args = {"+flexlib=../../..", "-js-output-type=FLEXJS", "-keep-asdoc", "-load-config="
+ compileJsConfigFile.getPath(),
+        String[] args = {"-js-output-type=FLEXJS", "-keep-asdoc", "-load-config=" + compileJsConfigFile.getPath(),
                 "-output=" + new File(outputDirectory.getPath(), "generated-sources/flexjs").getPath(),
                 "-define=COMPILE::AS3,false", "-define=COMPILE::JS,true"};
         compc.execute(args);


Mime
View raw message