You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2017/05/01 03:47:44 UTC

[18/38] git commit: [flex-falcon] [refs/heads/develop] - use JS config for SWF compiles as well so dual mode JS properties don't result in errors

use JS config for SWF compiles as well so dual mode JS properties don't result in errors


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

Branch: refs/heads/develop
Commit: c2bc8d0236123d5353edb922041303b5eab6c333
Parents: af9ebe0
Author: Alex Harui <ah...@apache.org>
Authored: Wed Feb 22 23:48:45 2017 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Wed Feb 22 23:48:45 2017 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/flex/compiler/clients/MXMLJSC.java     | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/c2bc8d02/compiler-jx/src/main/java/org/apache/flex/compiler/clients/MXMLJSC.java
----------------------------------------------------------------------
diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/clients/MXMLJSC.java b/compiler-jx/src/main/java/org/apache/flex/compiler/clients/MXMLJSC.java
index e2c6486..8f30b1a 100644
--- a/compiler-jx/src/main/java/org/apache/flex/compiler/clients/MXMLJSC.java
+++ b/compiler-jx/src/main/java/org/apache/flex/compiler/clients/MXMLJSC.java
@@ -316,6 +316,7 @@ public class MXMLJSC implements JSCompilerEntryPoint, ProblemQueryProvider,
 	                {
 	                case SWF:
 	                    mxmlc = new MXMLC();
+	                    mxmlc.configurationClass = JSGoogConfiguration.class;
 	                    if (noLink)
 	                    	result = mxmlc.mainCompileOnly(removeJSArgs(args), err);
 	                    else