NIHVIVO-1445 modify all "javac" steps in the build script to enforce UTF-8 interpretation of the source files, instead of letting it default to whatever the OS decides.
This commit is contained in:
parent
0e9ad99b29
commit
f98d3342f7
3 changed files with 7 additions and 0 deletions
|
@ -58,6 +58,7 @@ run - Run the tester.
|
|||
destdir="${build.dir}"
|
||||
debug="true"
|
||||
deprecation="true"
|
||||
encoding="UTF8"
|
||||
optimize="true"
|
||||
source="1.6">
|
||||
<classpath>
|
||||
|
@ -77,6 +78,7 @@ run - Run the tester.
|
|||
destdir="${build.dir}"
|
||||
debug="true"
|
||||
deprecation="true"
|
||||
encoding="UTF8"
|
||||
optimize="false"
|
||||
source="1.6">
|
||||
<classpath>
|
||||
|
|
|
@ -228,6 +228,7 @@ deploy - Deploy the application directly into the Tomcat webapps directory.
|
|||
destdir="${war-classes.dir}"
|
||||
debug="true"
|
||||
deprecation="true"
|
||||
encoding="UTF8"
|
||||
optimize="true"
|
||||
source="1.6">
|
||||
<classpath refid="compile.classpath" />
|
||||
|
@ -242,6 +243,7 @@ deploy - Deploy the application directly into the Tomcat webapps directory.
|
|||
destdir="${test-classes.dir}"
|
||||
debug="true"
|
||||
deprecation="true"
|
||||
encoding="UTF8"
|
||||
optimize="false"
|
||||
source="1.6">
|
||||
<classpath refid="test.compile.classpath" />
|
||||
|
@ -275,6 +277,7 @@ deploy - Deploy the application directly into the Tomcat webapps directory.
|
|||
destdir="${test-classes.dir}"
|
||||
debug="true"
|
||||
deprecation="true"
|
||||
encoding="UTF8"
|
||||
optimize="false"
|
||||
source="1.6">
|
||||
</javac>
|
||||
|
|
|
@ -142,6 +142,7 @@
|
|||
destdir="${product.classes.dir}"
|
||||
debug="true"
|
||||
deprecation="true"
|
||||
encoding="UTF8"
|
||||
optimize="true"
|
||||
source="1.6">
|
||||
<classpath>
|
||||
|
@ -170,6 +171,7 @@
|
|||
destdir="${test-classes.dir}"
|
||||
debug="true"
|
||||
deprecation="true"
|
||||
encoding="UTF8"
|
||||
optimize="false"
|
||||
source="1.6">
|
||||
<classpath refid="test.compile.classpath" />
|
||||
|
|
Loading…
Add table
Reference in a new issue