You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by pi...@apache.org on 2017/08/19 12:42:28 UTC

[7/9] git commit: [flex-falcon] [refs/heads/feature/amf] - Saw an issue with TestFlexJSExpressions::testVisitStringLiteralChinese in ant build This appears to fix it.

Saw an issue with TestFlexJSExpressions::testVisitStringLiteralChinese in ant build
This appears to fix it.


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

Branch: refs/heads/feature/amf
Commit: 14578bdbce0a764f8fedef4d2d0fc69e0451eef7
Parents: 96a358c
Author: greg-dove <gr...@gmail.com>
Authored: Sat Aug 19 18:39:28 2017 +1200
Committer: greg-dove <gr...@gmail.com>
Committed: Sat Aug 19 18:39:28 2017 +1200

----------------------------------------------------------------------
 compiler-jx/src/test/build.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/14578bdb/compiler-jx/src/test/build.xml
----------------------------------------------------------------------
diff --git a/compiler-jx/src/test/build.xml b/compiler-jx/src/test/build.xml
index fad70f4..9c36f30 100644
--- a/compiler-jx/src/test/build.xml
+++ b/compiler-jx/src/test/build.xml
@@ -40,7 +40,9 @@
     <target name="compile.unit.tests">
     	<delete dir="${compiler}/target/test-classes"/>
         <mkdir dir="${compiler}/target/test-classes"/>
-        <javac debug="${javac.debug}" deprecation="${javac.deprecation}" destdir="${compiler}/target/test-classes" includeAntRuntime="true">
+        <javac debug="${javac.debug}" deprecation="${javac.deprecation}"
+			   encoding="UTF-8"
+			   destdir="${compiler}/target/test-classes" includeAntRuntime="true">
         	<src path="${compiler.tests}/java"/>
             <compilerarg value="-Xlint:all,-path"/>
             <classpath>
@@ -60,6 +62,7 @@
                printsummary="true" showoutput="true"
                haltonerror="true" haltonfailure="true"
                failureproperty="tests.unit.failed">
+			<jvmarg value="-Dfile.encoding=UTF-8"/>   
             <classpath>
                 <pathelement location="${compiler}/target/test-classes"/>
                 <pathelement location="${compiler}/../compiler-test-utils/target/classes"/>
@@ -100,6 +103,7 @@
             printsummary="true" showoutput="true"
             haltonerror="true" haltonfailure="true"
             failureproperty="tests.unit.failed">
+			<jvmarg value="-Dfile.encoding=UTF-8"/>
             <classpath>
                 <pathelement location="${compiler}/target/test-classes"/>
                 <pathelement location="${compiler}/../compiler-test-utils/target/classes"/>