royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pio...@apache.org
Subject [royale-compiler] branch feature/rename updated: Switch from JSFlex to JSRoyale (reference #17)
Date Sat, 14 Oct 2017 12:30:18 GMT
This is an automated email from the ASF dual-hosted git repository.

piotrz pushed a commit to branch feature/rename
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git


The following commit(s) were added to refs/heads/feature/rename by this push:
     new f8f1d19  Switch from JSFlex to JSRoyale (reference #17)
f8f1d19 is described below

commit f8f1d19d082237e61730bec8f150a2602eb996e5
Author: piotrz <piotrz@apache.org>
AuthorDate: Sat Oct 14 14:28:35 2017 +0200

    Switch from JSFlex to JSRoyale (reference #17)
---
 .../internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java       | 4 ++--
 .../src/main/java/org/apache/royale/maven/CompileASMojo.java          | 2 +-
 .../src/main/java/org/apache/royale/maven/CompileAppMojo.java         | 2 +-
 .../src/main/java/org/apache/royale/maven/CompileJSMojo.java          | 2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java
b/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java
index 6cc2f35..e75ffcf 100644
--- a/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java
+++ b/compiler-jx/src/test/java/org/apache/royale/compiler/internal/codegen/mxml/royale/TestRoyaleMXMLApplication.java
@@ -830,7 +830,7 @@ public class TestRoyaleMXMLApplication extends RoyaleTestBase
     {
         MXMLJSC mxmlc = new MXMLJSC();
         String[] args = new String[10];
-        args[0] = "-compiler.targets=SWF,JSFlex";
+        args[0] = "-compiler.targets=SWF,JSRoyale";
         args[1] = "-compiler.allow-subclass-overrides";
         args[2] = "-remove-circulars";
         args[3] = "-library-path=" + new File(FilenameNormalization.normalize(env.ASJS +
"/frameworks/libs")).getPath();
@@ -855,7 +855,7 @@ public class TestRoyaleMXMLApplication extends RoyaleTestBase
     	/* this should error because a Flash APi is used */
         MXMLJSC mxmlc = new MXMLJSC();
         String[] args = new String[18];
-        args[0] = "-compiler.targets=SWF,JSFlex";
+        args[0] = "-compiler.targets=SWF,JSRoyale";
         args[1] = "-remove-circulars";
         args[2] = "-library-path=" + new File(FilenameNormalization.normalize(env.ASJS +
"/frameworks/libs/Core.swc")).getPath();
         args[3] = "-library-path+=" + new File(FilenameNormalization.normalize(env.ASJS +
"/frameworks/libs/Binding.swc")).getPath();
diff --git a/royale-maven-plugin/src/main/java/org/apache/royale/maven/CompileASMojo.java
b/royale-maven-plugin/src/main/java/org/apache/royale/maven/CompileASMojo.java
index 6263665..8f549d5 100644
--- a/royale-maven-plugin/src/main/java/org/apache/royale/maven/CompileASMojo.java
+++ b/royale-maven-plugin/src/main/java/org/apache/royale/maven/CompileASMojo.java
@@ -86,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=SWF,JSFlex");
+        args.add("-compiler.targets=SWF,JSRoyale");
         args.add("-compiler.strict-xml=true");
         return args;
     }
diff --git a/royale-maven-plugin/src/main/java/org/apache/royale/maven/CompileAppMojo.java
b/royale-maven-plugin/src/main/java/org/apache/royale/maven/CompileAppMojo.java
index ed91f38..c51331d 100644
--- a/royale-maven-plugin/src/main/java/org/apache/royale/maven/CompileAppMojo.java
+++ b/royale-maven-plugin/src/main/java/org/apache/royale/maven/CompileAppMojo.java
@@ -52,7 +52,7 @@ public class CompileAppMojo
     protected String htmlTemplate;
 
     @Parameter
-    protected String targets = "SWF,JSFlex";
+    protected String targets = "SWF,JSRoyale";
     
     @Parameter(defaultValue = "false")
     protected boolean removeCirculars;
diff --git a/royale-maven-plugin/src/main/java/org/apache/royale/maven/CompileJSMojo.java
b/royale-maven-plugin/src/main/java/org/apache/royale/maven/CompileJSMojo.java
index 2762aa2..adcb590 100644
--- a/royale-maven-plugin/src/main/java/org/apache/royale/maven/CompileJSMojo.java
+++ b/royale-maven-plugin/src/main/java/org/apache/royale/maven/CompileJSMojo.java
@@ -84,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=SWF,JSFlex");
+        args.add("-compiler.targets=SWF,JSRoyale");
         args.add("-compiler.strict-xml=true");
         return args;
     }

-- 
To stop receiving notification emails like this one, please contact
['"commits@royale.apache.org" <commits@royale.apache.org>'].

Mime
View raw message