Ant: force locale for junit tests because they compare en_US error strings (references #221)
diff --git a/compiler-externc/src/test/build.xml b/compiler-externc/src/test/build.xml
index b839c81..273f005 100644
--- a/compiler-externc/src/test/build.xml
+++ b/compiler-externc/src/test/build.xml
@@ -134,6 +134,8 @@
             printsummary="true" showoutput="true"
             haltonerror="true" haltonfailure="true"
             failureproperty="tests.unit.failed">
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${compiler.externc}/target/classes"/>
                 <pathelement location="${compiler.externc}/target/test-classes"/>
@@ -171,6 +173,8 @@
             printsummary="true" showoutput="true"
             haltonerror="true" haltonfailure="true"
             failureproperty="tests.unit.failed">
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${compiler.externc}/target/classes"/>
                 <pathelement location="${compiler.externc}/target/test-classes"/>
diff --git a/compiler-jx/src/test/build.xml b/compiler-jx/src/test/build.xml
index 8785239..e508efd 100644
--- a/compiler-jx/src/test/build.xml
+++ b/compiler-jx/src/test/build.xml
@@ -91,6 +91,8 @@
                haltonerror="true" haltonfailure="true"
                failureproperty="tests.unit.failed">
 			<jvmarg value="-Dfile.encoding=UTF-8"/>   
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${compiler}/target/test-classes"/>
                 <pathelement location="${compiler}/../compiler-test-utils/target/classes"/>
@@ -125,6 +127,8 @@
             haltonerror="true" haltonfailure="true"
             failureproperty="tests.unit.failed">
 			<jvmarg value="-Dfile.encoding=UTF-8"/>
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${compiler}/target/test-classes"/>
                 <pathelement location="${compiler}/../compiler-test-utils/target/classes"/>
@@ -155,6 +159,8 @@
             printsummary="true" showoutput="true"
             haltonerror="true" haltonfailure="true"
             failureproperty="tests.unit.failed">
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${compiler}/target/test-classes"/>
                 <pathelement location="${compiler}/../compiler-test-utils/target/classes"/>
@@ -184,6 +190,8 @@
             printsummary="true" showoutput="true"
             haltonerror="true" haltonfailure="true"
             failureproperty="tests.unit.failed">
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${compiler}/target/test-classes"/>
                 <pathelement location="${compiler}/../compiler-test-utils/target/classes"/>
diff --git a/compiler/src/test/build.xml b/compiler/src/test/build.xml
index c2804ab..d1f1611 100644
--- a/compiler/src/test/build.xml
+++ b/compiler/src/test/build.xml
@@ -305,6 +305,8 @@
             printsummary="true" showoutput="true"
             haltonerror="true" haltonfailure="true"
             failureproperty="tests.unit.failed">
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${compiler}/target/test-classes"/>
                 <fileset dir="${compiler}/lib/external" includes="**/*.jar"/>
@@ -347,6 +349,8 @@
             printsummary="true" showoutput="true"
             haltonerror="true" haltonfailure="true"
             failureproperty="tests.unit.failed">
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${compiler}/target/test-classes"/>
                 <fileset dir="${compiler}/lib" includes="**/*.jar"/>
diff --git a/formatter/src/test/build.xml b/formatter/src/test/build.xml
index 487753b..1de18fb 100644
--- a/formatter/src/test/build.xml
+++ b/formatter/src/test/build.xml
@@ -63,6 +63,8 @@
             printsummary="true" showoutput="true"
             haltonerror="true" haltonfailure="true"
             failureproperty="tests.unit.failed">
+            <jvmarg value="-Duser.language=en"/>
+            <jvmarg value="-Duser.country=US"/>
             <classpath>
                 <pathelement location="${formatter}/target/classes"/>
                 <pathelement location="${formatter}/target/test-classes"/>