Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 89954 invoked by uid 500); 25 Aug 2003 17:47:56 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 89904 invoked from network); 25 Aug 2003 17:47:55 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 25 Aug 2003 17:47:55 -0000 Received: (qmail 18280 invoked by uid 50); 25 Aug 2003 17:50:37 -0000 Date: 25 Aug 2003 17:50:37 -0000 Message-ID: <20030825175037.18279.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: dev@ant.apache.org Cc: Subject: DO NOT REPLY [Bug 22705] New: - ant 1.6alpha (and possibly earlier) requires JDK 1.4 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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=22705 ant 1.6alpha (and possibly earlier) requires JDK 1.4 Summary: ant 1.6alpha (and possibly earlier) requires JDK 1.4 Product: Ant Version: 1.6Alpha (nightly) Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: ers@wildfire.com Contrary to the statement on the ant welcome page, there is a dependency on having JDK 1.4 or higher. The problem appears when I use the tag to provide a project-wide description, and I also have several targets that use the description attribute. I run "ant -projecthelp" and get a NoSuchMethodError: % ant -f customizations-build.xml -projecthelp Buildfile: customizations-build.xml java.lang.NoSuchMethodError at org.apache.tools.ant.types.Description.concatDescriptions (Description.java:123) at org.apache.tools.ant.types.Description.getDescription (Description.java:104) at org.apache.tools.ant.Project.getDescription(Project.java:721) at org.apache.tools.ant.Main.printDescription(Main.java:823) at org.apache.tools.ant.Main.runBuild(Main.java:599) at org.apache.tools.ant.Main.start(Main.java:198) at org.apache.tools.ant.Main.main(Main.java:245) I'm using ant 1.6alpha, but if my diagnosis of the problem is correct, this problem should show up with later versions of ant 1.5.x. In revision 1.9 of Description.java, the following snippet of code showed up: private static void concatDescriptions(Project project, Target t, StringBuffer description) { if( t==null ) return; Vector tasks= findElementInTarget(project, t, "description"); if( tasks==null ) return; for( int i=0; i