I've just committed a fix, it should be ok now. Thanks for reporting. Maarten
----- Original Message ---- From: Patrick Woodworth <[EMAIL PROTECTED]> 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. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]