You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2009/07/04 02:06:05 UTC

svn commit: r791041 - in /tomcat/trunk: build.xml extras.xml

Author: kkolinko
Date: Sat Jul  4 00:06:05 2009
New Revision: 791041

URL: http://svn.apache.org/viewvc?rev=791041&view=rev
Log:
Explicitly specify encoding for the source files
Fixes https://issues.apache.org/bugzilla/show_bug.cgi?id=47149

Modified:
    tomcat/trunk/build.xml
    tomcat/trunk/extras.xml

Modified: tomcat/trunk/build.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=791041&r1=791040&r2=791041&view=diff
==============================================================================
--- tomcat/trunk/build.xml (original)
+++ tomcat/trunk/build.xml Sat Jul  4 00:06:05 2009
@@ -140,7 +140,8 @@
            source="${compile.source}"
            target="${compile.target}"
            optimize="${compile.optimize}"
-           excludes="**/CVS/**,**/.svn/**">
+           excludes="**/CVS/**,**/.svn/**"
+           encoding="ISO-8859-1">
 <!-- Comment this in to show unchecked warnings:     
       <compilerarg value="-Xlint:unchecked"/>
  -->
@@ -548,7 +549,8 @@
              target="${compile.target}"
              optimize="${compile.optimize}"
              classpath="${tomcat.classes}"
-             excludes="**/CVS/**,**/.svn/**">
+             excludes="**/CVS/**,**/.svn/**"
+             encoding="ISO-8859-1">
     </javac>
 
     <javac   srcdir="webapps/examples/jsp/plugin/applet"
@@ -558,7 +560,8 @@
              target="${compile.target}"
              optimize="${compile.optimize}"
              classpath="$tomcat.lcasses}"
-             excludes="**/CVS/**,**/.svn/**">
+             excludes="**/CVS/**,**/.svn/**"
+             encoding="ISO-8859-1">
     </javac>
 
     <!-- Add sources for examples -->
@@ -670,7 +673,8 @@
            debug="${compile.debug}"
            deprecation="${compile.deprecation}"
            source="${compile.source}"
-           optimize="${compile.optimize}">
+           optimize="${compile.optimize}"
+           encoding="ISO-8859-1">
       <classpath refid="tomcat.test.classpath" />
       <include name="org/apache/**" />
     </javac>
@@ -865,7 +869,8 @@
            source="${compile.source}"
            target="${compile.target}"
            sourcepath="${tomcat-dbcp.home}/src/java"
-           srcdir="${tomcat-dbcp.home}/src/java" >
+           srcdir="${tomcat-dbcp.home}/src/java"
+           encoding="ISO-8859-1">
       <include name="**" />
     </javac>
     <jar jarfile="${tomcat-dbcp.jar}"

Modified: tomcat/trunk/extras.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/extras.xml?rev=791041&r1=791040&r2=791041&view=diff
==============================================================================
--- tomcat/trunk/extras.xml (original)
+++ tomcat/trunk/extras.xml Sat Jul  4 00:06:05 2009
@@ -208,7 +208,8 @@
 	           debug="${compile.debug}"
 	           deprecation="${compile.deprecation}"
 	           source="${compile.source}"
-	           optimize="${compile.optimize}">
+	           optimize="${compile.optimize}"
+	           encoding="ISO-8859-1">
 	      <classpath refid="tomcat.webservices.classpath" />
 	      <include name="org/apache/naming/factory/webservices/**" />
 	    </javac>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org