ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject Compiling fails on JDK 1.3
Date Fri, 10 Oct 2008 09:15:06 GMT
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=c:\jdk\130
JAVA=java.exe
JAVAC=c:\jdk\130\bin\javac
CLASSPATH=lib\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 = output instanceof FileProvider ? os =
new FileOutputStream(
 
^
src\main\org\apache\tools\ant\taskdefs\SQLExec.java:574: cannot resolve
symbol 
symbol  : constructor FileOutputStream  (java.io.File,boolean)
location: class java.io.FileOutputStream
                            os = 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


Mime
View raw message