1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/java/ecj-bootstrap/files/patch-encoding
Maho Nakata 4def9726ef The JDT Core Batch Compiler (stand alone verison of the Eclipse
Java Compiler).
This compiler is compatible with Java 1.3, 1.4 and 1.5.

WWW: http://www.eclipse.org
2006-08-03 00:22:06 +00:00

33 lines
1.5 KiB
Plaintext

A workaround for running ant with gcj.
--- jdtcoresrc/compilejdtcorewithjavac.xml~ Fri Jun 30 08:20:48 2006
+++ jdtcoresrc/compilejdtcorewithjavac.xml Wed Aug 2 23:09:35 2006
@@ -15,7 +15,7 @@
<delete dir="${destdir}"/>
<mkdir dir="${destdir}"/>
- <property name="compilerArg" value="-encoding ISO-8859-1" />
+ <property name="compilerArg" value="-encoding=ISO-8859-1" />
<property name="javacSource" value="1.3" />
<property name="javacTarget" value="1.2" />
<property name="javacDebugInfo" value="on" />
--- jdtcoresrc/compilejdtcore.xml~ Fri Jun 30 08:20:48 2006
+++ jdtcoresrc/compilejdtcore.xml Wed Aug 2 23:11:00 2006
@@ -25,14 +25,14 @@
</condition>
</fail>
- <condition property="compilerArg" value="-encoding ISO-8859-1">
+ <condition property="compilerArg" value="-encoding=ISO-8859-1">
<equals arg1="${build.compiler}" arg2="org.eclipse.jdt.core.JDTCompilerAdapter" />
</condition>
<echo message="compilerArg ${compilerArg}"/>
<echo message="build compiler ${build.compiler}"/>
- <property name="compilerArg" value="-encoding ISO-8859-1" />
+ <property name="compilerArg" value="-encoding=ISO-8859-1" />
<property name="javacSource" value="1.3" />
<property name="javacTarget" value="1.2" />
<property name="javacDebugInfo" value="on" />