flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [11/36] git commit: [flex-falcon] [refs/heads/develop] - compiler-jx: fixed the -version compiler option
Date Mon, 26 Jun 2017 15:34:59 GMT
compiler-jx: fixed the -version compiler option


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

Branch: refs/heads/develop
Commit: 61b2283322e56eb503de7099ff7e3ce9f4ab1407
Parents: d210ac5
Author: Josh Tynjala <joshtynjala@apache.org>
Authored: Wed May 17 09:47:43 2017 -0400
Committer: Josh Tynjala <joshtynjala@apache.org>
Committed: Wed May 17 09:47:43 2017 -0400

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


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/61b22833/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 135b0d3..0916598 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
@@ -41,6 +41,7 @@ import org.apache.flex.compiler.clients.problems.ProblemQueryProvider;
 import org.apache.flex.compiler.clients.problems.WorkspaceProblemFormatter;
 import org.apache.flex.compiler.codegen.js.IJSPublisher;
 import org.apache.flex.compiler.codegen.js.IJSWriter;
+import org.apache.flex.compiler.common.VersionInfo;
 import org.apache.flex.compiler.config.Configuration;
 import org.apache.flex.compiler.config.ConfigurationBuffer;
 import org.apache.flex.compiler.config.Configurator;
@@ -830,7 +831,10 @@ public class MXMLJSC implements JSCompilerEntryPoint, ProblemQueryProvider,
             configBuffer = projectConfigurator.getConfigurationBuffer();
 
             if (configBuffer.getVar("version") != null) //$NON-NLS-1$
+            {
+                System.out.println(VersionInfo.buildMessage());
                 return false;
+            }
 
             if (problems.hasErrors())
                 return false;


Mime
View raw message