flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [12/25] git commit: [flex-falcon] [refs/heads/VF2JS] - Prepare VF2JS value for command line arg.
Date Wed, 02 Jul 2014 14:21:05 GMT
Prepare VF2JS value for command line arg.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>


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

Branch: refs/heads/VF2JS
Commit: a529fdddac3f04d7d4c099b871df23f3a3127340
Parents: 0e2fc68
Author: Erik de Bruin <erik@ixsoftware.nl>
Authored: Mon Jun 30 14:42:57 2014 +0200
Committer: Erik de Bruin <erik@ixsoftware.nl>
Committed: Mon Jun 30 14:42:57 2014 +0200

----------------------------------------------------------------------
 compiler.jx/src/org/apache/flex/compiler/clients/MXMLJSC.java | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/a529fddd/compiler.jx/src/org/apache/flex/compiler/clients/MXMLJSC.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/clients/MXMLJSC.java b/compiler.jx/src/org/apache/flex/compiler/clients/MXMLJSC.java
index 37b3f9b..27c7ea9 100644
--- a/compiler.jx/src/org/apache/flex/compiler/clients/MXMLJSC.java
+++ b/compiler.jx/src/org/apache/flex/compiler/clients/MXMLJSC.java
@@ -70,8 +70,8 @@ import org.apache.flex.compiler.problems.UnableToBuildSWFProblem;
 import org.apache.flex.compiler.problems.UnexpectedExceptionProblem;
 import org.apache.flex.compiler.projects.ICompilerProject;
 import org.apache.flex.compiler.targets.ITarget;
-import org.apache.flex.compiler.targets.ITargetSettings;
 import org.apache.flex.compiler.targets.ITarget.TargetType;
+import org.apache.flex.compiler.targets.ITargetSettings;
 import org.apache.flex.compiler.units.ICompilationUnit;
 import org.apache.flex.utils.FileUtils;
 import org.apache.flex.utils.FilenameNormalization;
@@ -91,7 +91,7 @@ public class MXMLJSC
      */
     public enum JSOutputType
     {
-        FLEXJS("flexjs"), GOOG("goog"), AMD("amd");
+        AMD("amd"), FLEXJS("flexjs"), GOOG("goog"), VF2JS("vf2js");
 
         private String text;
 
@@ -175,6 +175,9 @@ public class MXMLJSC
         case GOOG:
             backend = new GoogBackend();
             break;
+        case VF2JS:
+            backend = new MXMLFlexJSBackend();
+            break;
         }
 
         final MXMLJSC mxmlc = new MXMLJSC(backend);


Mime
View raw message