From dev-return-83389-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Fri Oct 10 09:15:53 2008 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 83641 invoked from network); 10 Oct 2008 09:15:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Oct 2008 09:15:53 -0000 Received: (qmail 5661 invoked by uid 500); 10 Oct 2008 09:15:49 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 5597 invoked by uid 500); 10 Oct 2008 09:15:48 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 5576 invoked by uid 99); 10 Oct 2008 09:15:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2008 02:15:48 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_SECURITYSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Oct 2008 09:14:32 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.14.0/8.14.0) with ESMTP id m9A9F6Pb021806 for ; Fri, 10 Oct 2008 11:15:07 +0200 Received: from z011101.bk.fin.local ([130.11.7.101]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.1830); Fri, 10 Oct 2008 11:15:07 +0200 Received: from z011021.bk.fin.local ([130.11.7.21]) by z011101.bk.fin.local with Microsoft SMTPSVC(6.0.3790.1830); Fri, 10 Oct 2008 11:15:06 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Compiling fails on JDK 1.3 Date: Fri, 10 Oct 2008 11:15:06 +0200 Message-ID: <9EE86F1965E19E499C80DE52AC807B5501B6F491@z011021.bk.fin.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Compiling fails on JDK 1.3 Thread-Index: AckquK96I/njCIEoQdqUnDvT4Iri4Q== From: To: X-OriginalArrivalTime: 10 Oct 2008 09:15:06.0868 (UTC) FILETIME=[AFCEBB40:01C92AB8] X-Virus-Checked: Checked by ClamAV on apache.org I tried a build on JDK 1.3/WinXP-SP2, but that failed. The constructor FileOutputStream(File, boolean) was added in JDK 1.4. Jan Java-Home: c:\jdk\130 java version "1.3.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C) Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode) ... Bootstrapping Ant Distribution JAVA_HOME=3Dc:\jdk\130 JAVA=3Djava.exe JAVAC=3Dc:\jdk\130\bin\javac CLASSPATH=3Dlib\xercesImpl.jar;lib\xml-apis.jar;lib\optional\ant-antunit-= 1 .1.jar;lib\optional\junit-3.8.2.jar;c:\jdk\130\lib\tools.jar;build\c lasses;src\main; ... Compiling Ant Classes src\main\org\apache\tools\ant\taskdefs\Echo.java:70: cannot resolve symbol symbol : constructor FileOutputStream (java.io.File,boolean) location: class java.io.FileOutputStream OutputStream os =3D output instanceof FileProvider ? os = =3D new FileOutputStream( =20 ^ src\main\org\apache\tools\ant\taskdefs\SQLExec.java:574: cannot resolve symbol=20 symbol : constructor FileOutputStream (java.io.File,boolean) location: class java.io.FileOutputStream os =3D new FileOutputStream(((FileProvider) output).getFile(), append); ^ Note: Some input files use or override a deprecated API. Note: Recompile with -deprecation for details. 2 errors ... Cleaning Up Build Directories ... Done Bootstrapping Ant Distribution --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org