Permalink
Browse files

Set source file encoding to UTF-8

When building Eucalyptus from a mock environment
with JDK 1.7, it complains about file encodings.
Now we set source file encoding to UTF-8, which
really, we should have been doing already.
  • Loading branch information...
1 parent e371745 commit 780d2852078892913e8980a16fa64c0ef50c1b12 @mspaulding06 mspaulding06 committed Mar 2, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 clc/modules/module-inc.xml
View
4 clc/modules/module-inc.xml
@@ -176,7 +176,7 @@
<echo message="[COMPILE] ${builder.target} for ${ant.project.name}" />
<antcall target="clean" />
<antcall target="build-mkdirs" inheritall="true" inheritrefs="true" />
- <javac srcdir="${src.dir}" classpathref="classpath" destdir="${build.dir}" deprecation="false" failonerror="true" debug="true" sourcepathref="srcpath" source="1.6" target="1.6" listfiles="true" />
+ <javac srcdir="${src.dir}" classpathref="classpath" destdir="${build.dir}" deprecation="false" failonerror="true" debug="true" sourcepathref="srcpath" source="1.6" target="1.6" encoding="utf-8" listfiles="true" />
</target>
<target name="should-build-groovy">
<mkdir dir="${build.dir}" />
@@ -190,7 +190,7 @@
<antcall target="build-mkdirs" inheritall="true" inheritrefs="true" />
<taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc" classpathref="classpath" />
<groovyc srcdir="${src.dir}" classpathref="classpath" sourcepathref="srcpath" destdir="${build.dir}" verbose="true" listfiles="true">
- <javac source="1.6" target="1.6" debug="true" />
+ <javac source="1.6" target="1.6" encoding="utf-8" debug="true" />
</groovyc>
</target>
<target name="builder-test">

0 comments on commit 780d285

Please sign in to comment.