Skip to content

Commit

Permalink
itext: Fix build failures due to encoding mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandesign committed Jun 4, 2018
1 parent 44dd9df commit b7185d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions java/itext/files/build.xml
Expand Up @@ -165,7 +165,7 @@

<target name="compile" depends="properties" description="--> compiles the core iText code">
<mkdir dir="${itext.classes}" />
<javac srcdir="${itext.src}" destdir="${itext.classes}"
<javac srcdir="${itext.src}" destdir="${itext.classes}" encoding="cp1252"
excludes="com/lowagie/servlets/*.java,com/lowagie/text/xml/*.java,com/lowagie/text/html/HtmlParser.java,com/lowagie/text/html/HtmlPeer.java,com/lowagie/text/html/HtmlTagMap.java,com/lowagie/text/html/SAXmyHtmlHandler.java">
<classpath refid="classpath" />
</javac>
Expand All @@ -174,7 +174,7 @@
<target name="compileWithXML" depends="properties" description="--> compiles iText completely">
<mkdir dir="${itext.classes}" />
<echo>Your path to j2ee.jar: ${j2ee.jar}</echo>
<javac srcdir="${itext.src}" destdir="${itext.classes}">
<javac srcdir="${itext.src}" destdir="${itext.classes}" encoding="cp1252">
<classpath refid="classpath" />
</javac>
</target>
Expand Down Expand Up @@ -278,7 +278,7 @@
<echo>They will not compile without a servlet library.</echo>
<echo>Examples Chap0611.java and Chap0612.java require JAI.</echo>
<echo>They will not compile without this extra library.</echo>
<javac srcdir="${itext.examples}" destdir="${itext.examples}" verbose="false" deprecation="false" excludes="Chap0105.java, OutSimplePDF.java, Calendar.java, Month.java, Chap0611.java, Chap0612.java" >
<javac srcdir="${itext.examples}" destdir="${itext.examples}" encoding="cp1252" verbose="false" deprecation="false" excludes="Chap0105.java, OutSimplePDF.java, Calendar.java, Month.java, Chap0611.java, Chap0612.java" >
<classpath refid="classpath" />
</javac>
<java fork="yes" dir="${itext.examples}" classname="Chap0101">
Expand Down

0 comments on commit b7185d5

Please sign in to comment.