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


The following commit(s) were added to refs/heads/release_practice by this push:
     new 45b95f0  try forcing \n line-endings on windows
45b95f0 is described below

commit 45b95f0cf7dcb2fcab99fb975220a1b4d58ba441
Author: Alex Harui <[email protected]>
AuthorDate: Fri Apr 26 14:33:03 2019 -0700

    try forcing \n line-endings on windows
---
 .../compiler/tools/problems/ProblemResourceBundleGeneratorMojo.java   | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/compiler-build-tools/src/main/java/org/apache/royale/compiler/tools/problems/ProblemResourceBundleGeneratorMojo.java
 
b/compiler-build-tools/src/main/java/org/apache/royale/compiler/tools/problems/ProblemResourceBundleGeneratorMojo.java
index b8a3193..0183982 100644
--- 
a/compiler-build-tools/src/main/java/org/apache/royale/compiler/tools/problems/ProblemResourceBundleGeneratorMojo.java
+++ 
b/compiler-build-tools/src/main/java/org/apache/royale/compiler/tools/problems/ProblemResourceBundleGeneratorMojo.java
@@ -61,7 +61,9 @@ public class ProblemResourceBundleGeneratorMojo
 
     @Override
     protected void printEntry(PrintWriter writer, File source, boolean last) {
-        writer.println(getProblemName(source) + "=" + 
getProblemDescription(source));
+        // don't use println otherwise file has windows line-endings on 
windows and
+        // won't compare to osx version
+        writer.print(getProblemName(source) + "=" + 
getProblemDescription(source) + "\n");
     }
 
     private String getProblemName(File sourceFile) {

Reply via email to