Author: psteitz Date: Fri Nov 23 20:58:28 2012 New Revision: 1413060 URL: http://svn.apache.org/viewvc?rev=1413060&view=rev Log: Made source file encoding explicit.
Modified: commons/proper/math/trunk/build.xml Modified: commons/proper/math/trunk/build.xml URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/build.xml?rev=1413060&r1=1413059&r2=1413060&view=diff ============================================================================== --- commons/proper/math/trunk/build.xml (original) +++ commons/proper/math/trunk/build.xml Fri Nov 23 20:58:28 2012 @@ -97,6 +97,9 @@ <!-- Should Java compilations set the 'optimize' compiler option? --> <property name="compile.optimize" value="true"/> + + <!-- File encoding --> + <property name="source.encoding" value="UTF-8"/> <!-- JDK level --> <property name="compile.source" value="1.5"/> @@ -162,6 +165,7 @@ debug="${compile.debug}" deprecation="${compile.deprecation}" includeantruntime="false" + encoding="${source.encoding}" optimize="${compile.optimize}"> <classpath refid="compile.classpath"/> </javac> @@ -176,6 +180,7 @@ destdir="${build.home}/test-classes" debug="${compile.debug}" deprecation="${compile.deprecation}" + encoding="${source.encoding}" includeantruntime="false" optimize="${compile.optimize}"> <classpath refid="test.classpath"/> @@ -236,6 +241,9 @@ author="true" private="true" version="true" + encoding="${source.encoding}" + charset="${source.encoding}" + docencoding="${source.encoding}" doctitle="<h1>${component.title} ${component.version}</h1>" windowtitle="${component.title} ${component.version}" bottom="Copyright (c) 2003-${current.year} Apache Software Foundation"