You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/05/26 20:40:00 UTC

[royale-compiler] branch release_practice updated (c249e6d -> 3de8f2f)

This is an automated email from the ASF dual-hosted git repository.

aharui pushed a change to branch release_practice
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git.


    from c249e6d  Revert "[maven-release-plugin] prepare for next development iteration"
     new 564c1b1  use forward slashes in zip files
     new 3de8f2f  use forward slashes in 'generated by' comment

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../src/main/java/org/apache/royale/compiler/clients/COMPJSC.java       | 1 +
 .../src/main/java/org/apache/royale/compiler/clients/COMPJSCRoyale.java | 1 +
 .../royale/compiler/internal/codegen/js/jx/PackageHeaderEmitter.java    | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)


[royale-compiler] 01/02: use forward slashes in zip files

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 564c1b10654d783cae7e06e8dbd14c423f0be94e
Author: Alex Harui <ah...@apache.org>
AuthorDate: Sun May 26 13:39:11 2019 -0700

    use forward slashes in zip files
---
 .../src/main/java/org/apache/royale/compiler/clients/COMPJSC.java        | 1 +
 .../src/main/java/org/apache/royale/compiler/clients/COMPJSCRoyale.java  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/clients/COMPJSC.java b/compiler-jx/src/main/java/org/apache/royale/compiler/clients/COMPJSC.java
index 9791e09..f81e790 100644
--- a/compiler-jx/src/main/java/org/apache/royale/compiler/clients/COMPJSC.java
+++ b/compiler-jx/src/main/java/org/apache/royale/compiler/clients/COMPJSC.java
@@ -473,6 +473,7 @@ public class COMPJSC extends MXMLJSC
                                     cu.getQualifiedNames().get(0),
                                     isExterns ? externsOut : jsOut,
                                     false).getPath();
+                    		outputClassFile = outputClassFile.replace('\\', '/');
 	                        System.out.println("Writing file: " + outputClassFile);     	
 	                        long fileDate = System.currentTimeMillis();
 	                        long zipFileDate = fileDate;
diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/clients/COMPJSCRoyale.java b/compiler-jx/src/main/java/org/apache/royale/compiler/clients/COMPJSCRoyale.java
index 4c15b42..43a885f 100644
--- a/compiler-jx/src/main/java/org/apache/royale/compiler/clients/COMPJSCRoyale.java
+++ b/compiler-jx/src/main/java/org/apache/royale/compiler/clients/COMPJSCRoyale.java
@@ -369,6 +369,7 @@ public class COMPJSCRoyale extends MXMLJSCRoyale
                                     cu.getQualifiedNames().get(0),
                                     isExterns ? externsOut : jsOut,
                                     false).getPath();
+                    		outputClassFile = outputClassFile.replace('\\', '/');
 	                        System.out.println("Writing file: " + outputClassFile);     	
 	                        long fileDate = System.currentTimeMillis();
 	                        long zipFileDate = fileDate;


[royale-compiler] 02/02: use forward slashes in 'generated by' comment

Posted by ah...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 3de8f2f35575fe922bfaf736b581d6ce580ee14d
Author: Alex Harui <ah...@apache.org>
AuthorDate: Sun May 26 13:39:44 2019 -0700

    use forward slashes in 'generated by' comment
---
 .../royale/compiler/internal/codegen/js/jx/PackageHeaderEmitter.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/jx/PackageHeaderEmitter.java b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/jx/PackageHeaderEmitter.java
index 2d7f52d..7c8b9ac 100644
--- a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/jx/PackageHeaderEmitter.java
+++ b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/js/jx/PackageHeaderEmitter.java
@@ -142,7 +142,7 @@ public class PackageHeaderEmitter extends JSSubEmitter implements
         }
 
         writeNewline("/**");
-        writeNewline(" * Generated by Apache Royale Compiler from " + sourceName);
+        writeNewline(" * Generated by Apache Royale Compiler from " + sourceName.replace('\\', '/'));
         writeNewline(" * " + qname);
         writeNewline(" *");
         writeNewline(" * @fileoverview");