ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: Ivy build broken on Java 1.4
Date Wed, 20 Feb 2008 20:00:26 GMT
This should be fixed before we release the new beta

Maarten


----- Original Message ----
From: Patrick Woodworth <patrick@woodworth.org>
To: dev@ant.apache.org
Sent: Tuesday, February 19, 2008 10:27:26 PM
Subject: Ivy build broken on Java 1.4

As of r629224 the Ivy build appears broken when using JDK 1.4:

compile-core:
    [javac] Compiling 277 source files to E:\wstmp\ivy\build\classes\core
    [javac]
E:\wstmp\ivy\src\java\org\apache\ivy\plugins\parser\m2\PomReader.java:259:
cannot resolve symbol
    [javac] symbol  : class Iterable
    [javac] location: class
org.apache.ivy.plugins.parser.m2.PomReader.PomDependencyData
    [javac]         public Iterable/*<ModuleId>*/ getExcludedModules() {
    [javac]                ^
    [javac]
E:\wstmp\ivy\src\java\org\apache\ivy\plugins\parser\m2\PomReader.java:176:
cannot resolve symbol
    [javac] symbol  : class Iterable
    [javac] location: class org.apache.ivy.plugins.parser.m2.PomReader
    [javac]     public Iterable/* <PomDependencyData> */ getDependencies() {
    [javac]            ^
    [javac]
E:\wstmp\ivy\src\java\org\apache\ivy\plugins\parser\m2\PomReader.java:192:
cannot resolve symbol
    [javac] symbol  : class Iterable
    [javac] location: class org.apache.ivy.plugins.parser.m2.PomReader
    [javac]     public Iterable/* <PomDependencyMgt> */ getDependencyMgt() {
    [javac]            ^
    [javac]
E:\wstmp\ivy\src\java\org\apache\ivy\plugins\parser\m2\PomReader.java:298:
cannot resolve symbol
    [javac] symbol  : method getTextContent ()
    [javac] location: interface org.w3c.dom.Element
    [javac]             return node.getTextContent();
    [javac]                        ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 4 errors

The problem is at the API level which is why <javac source="1.4" target="1.4"/>
alone won't catch it.  You actually need to compile with a 1.4 JDK to see
the problem.





      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

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


Mime
View raw message