File commons-validator-1.5.0-srcencoding.patch of Package apache-commons-validator

--- commons-validator-1.5.0-src/build.xml	2015-11-19 00:52:34.000000000 +0100
+++ commons-validator-1.5.0-src/build.xml	2018-12-21 10:48:58.650031637 +0100
@@ -209,6 +209,7 @@
    description="Compile shareable components">
     <javac  srcdir="${source.home}"
            destdir="${build.home}/classes"
+           encoding="utf-8"
              source="${compile.source}"
              target="${compile.target}"
              debug="${compile.debug}"
@@ -247,8 +248,10 @@
 
   <target name="javadoc" depends="compile"
    description="Create component Javadoc documentation">
-    <!--javadoc sourcepath="${source.home}"
+    <javadoc sourcepath="${source.home}"
                 destdir="${dist.home}/docs/apidocs"
+           encoding="utf-8"
+             source="${compile.source}"
            packagenames="org.apache.commons.*"
                  author="true"
                 private="true"
@@ -256,7 +259,7 @@
                doctitle="&lt;h1&gt;${component.title} (Version ${component.version})&lt;/h1&gt;"
             windowtitle="${component.title} (Version ${component.version})"
                  bottom="Copyright (c) 2001-2004  Apache Software Foundation"
-           classpathref="compile.classpath" / -->
+           classpathref="compile.classpath"/>
   </target>
 
 
@@ -312,6 +315,9 @@
    description="Compile unit test cases">
     <javac  srcdir="${test.home}/java"
            destdir="${build.home}/tests"
+           encoding="utf-8"
+             source="${compile.source}"
+             target="${compile.target}"
              debug="${compile.debug}"
        deprecation="${compile.deprecation}"
           optimize="${compile.optimize}">
@@ -394,6 +400,9 @@
    description="Compile example application">
     <javac  srcdir="${example.home}"
            destdir="${build.home}/example"
+           encoding="utf-8"
+             source="${compile.source}"
+             target="${compile.target}"
              debug="${compile.debug}"
        deprecation="${compile.deprecation}"
           optimize="${compile.optimize}">
openSUSE Build Service is sponsored by