ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23919] - [PATCH] nightly build and ant 1.6 not buildable with jdk 1.2.2
Date Tue, 21 Oct 2003 08:32:46 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23919>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23919

[PATCH] nightly build and ant 1.6 not buildable with jdk 1.2.2





------- Additional Comments From jan@materne.de  2003-10-21 08:32 -------
But I tried with JDK 1.2.1 ...

Classic VM (build JDK-1.2.1_004, native threads)
on Windows 2000 SP4 German

Of course JDK 1.2 has to be supported - but it is (on my machine).

http://java.sun.com/products/jdk/1.2/docs/tooldocs/win32/javac.html
http://java.sun.com/products/jdk/1.2/docs/tooldocs/solaris/javac.html

Standard Options: -encoding 
Set the source file encoding name, such as EUCJIS/SJIS. If -encoding is not 
specified, the platform default converter is used. 


For my machine: ant -diagnostics
java.version=1.2.1
user.timezone : Europe/Berlin
java.specification.version : 1.2
java.vm.vendor : Sun Microsystems Inc.
java.vm.specification.version : 1.0
os.arch : x86
file.encoding.pkg : sun.io
user.region : DE
os.name : Windows NT
sun.io.unicode.encoding : UnicodeLittle
file.encoding : Cp1252
java.class.version : 46.0
java.vm.version : 1.2.1
java.compiler : symcjit


Because that is not a bug in the code we should alter the buildfile and set a 
common encoding there. So we do not depend on a local setting outside the 
buildfile.



--- C:\seu\cvs-downloads\ant\ant\build.xml.org.fixcrlf	Tue Oct 21 08:27:50 2003
+++ C:\seu\cvs-downloads\ant\ant\build.xml	Tue Oct 21 08:26:30 2003
@@ -49,6 +49,7 @@
   <property name="deprecation" value="false"/>
   <property name="optimize" value="true"/>
   <property name="javac.target" value="1.1"/>
+  <property name="javac.encoding" value="ISO-8859-1"/>
   <property name="junit.fork" value="false"/>
   <property name="junit.filtertrace" value="off"/>
   <property name="junit.summary" value="no"/>
@@ -596,6 +597,7 @@
            debug="${debug}"
            deprecation="${deprecation}"
            target="${javac.target}"
+           encoding="${javac.encoding}"
            optimize="${optimize}" >
       <classpath refid="classpath"/>
 
@@ -1334,6 +1336,7 @@
            destdir="${build.tests}"
            debug="${debug}"
            target="${javac.target}"
+           encoding="${javac.encoding}"
            deprecation="${deprecation}" >
       <classpath refid="tests-classpath"/>

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


Mime
View raw message