Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@jakarta.apache.org Received: (qmail 24281 invoked by uid 500); 19 Aug 2001 21:50:11 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: ant-dev@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 24272 invoked from network); 19 Aug 2001 21:50:11 -0000 Date: 19 Aug 2001 21:50:15 -0000 Message-ID: <20010819215015.15531.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: ant-dev@jakarta.apache.org Cc: Subject: [DO NOT REPLY: Bug 3166] New: Cannot compile with jdk < 1.2 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3166 *** shadow/3166 Sun Aug 19 14:50:15 2001 --- shadow/3166.tmp.15528 Sun Aug 19 14:50:15 2001 *************** *** 0 **** --- 1,35 ---- + +============================================================================+ + | Cannot compile with jdk < 1.2 | + +----------------------------------------------------------------------------+ + | Bug #: 3166 Product: Ant | + | Status: NEW Version: 1.1 | + | Resolution: Platform: Sun | + | Severity: Normal OS/Version: Other | + | Priority: Other Component: Build Process | + +----------------------------------------------------------------------------+ + | Assigned To: ant-dev@jakarta.apache.org | + | Reported By: cballance@ets.org | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + The Vector class doesn't have an add() method in 1.1. + Change needs to be made to + /src/main/org/apache/tools/ant/taskdefs/DependSet.java + on two lines where allTargets.add(...) is called to + allTargets.addElement(...) + + build messages follow: + ... Bootstrapping Ant Distribution + ... Compiling Ant Classes + src/main/org/apache/tools/ant/taskdefs/DependSet.java:190: Method add(java.io.Fi + le) not found in class java.util.Vector. + allTargets.add(dest); + ^ + src/main/org/apache/tools/ant/taskdefs/DependSet.java:218: Method add(java.io.Fi + le) not found in class java.util.Vector. + allTargets.add(dest); + ^ + Note: 10 files use deprecated APIs. Recompile with "-deprecation" for details. + 2 errors, 1 warning