Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 54802 invoked from network); 13 Jan 2003 12:39:26 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 13 Jan 2003 12:39:26 -0000 Received: (qmail 3955 invoked by uid 97); 13 Jan 2003 12:40:42 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 3898 invoked by uid 97); 13 Jan 2003 12:40:41 -0000 Mailing-List: contact ant-dev-help@jakarta.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 ant-dev@jakarta.apache.org Received: (qmail 3843 invoked by uid 97); 13 Jan 2003 12:40:40 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Date: 13 Jan 2003 12:39:17 -0000 Message-ID: <20030113123917.26793.qmail@icarus.apache.org> From: bodewig@apache.org To: jakarta-ant-cvs@apache.org Subject: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Get.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N bodewig 2003/01/13 04:39:17 Modified: . Tag: ANT_15_BRANCH WHATSNEW build.xml src/main/org/apache/tools/ant/taskdefs Tag: ANT_15_BRANCH Get.java Log: Move task back to ant.jar. PR: 11216 Merge patch for 16006 from HEAD. Revision Changes Path No revision No revision 1.263.2.107 +3 -0 jakarta-ant/WHATSNEW Index: WHATSNEW =================================================================== RCS file: /home/cvs/jakarta-ant/WHATSNEW,v retrieving revision 1.263.2.106 retrieving revision 1.263.2.107 diff -u -r1.263.2.106 -r1.263.2.107 --- WHATSNEW 6 Jan 2003 14:11:52 -0000 1.263.2.106 +++ WHATSNEW 13 Jan 2003 12:39:17 -0000 1.263.2.107 @@ -51,6 +51,9 @@ elements in Ant and the refid attribute didn't point to an existing project reference. +* The task can now be compiled (and Ant thus bootstrapped) using + Kaffee. + Other changes: -------------- 1.304.2.38 +1 -5 jakarta-ant/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-ant/build.xml,v retrieving revision 1.304.2.37 retrieving revision 1.304.2.38 diff -u -r1.304.2.37 -r1.304.2.38 --- build.xml 21 Nov 2002 09:49:08 -0000 1.304.2.37 +++ build.xml 13 Jan 2003 12:39:17 -0000 1.304.2.38 @@ -4,7 +4,7 @@ ======================================================================= Apache Ant own build file - Copyright (c) 2000-2002 The Apache Software Foundation. All rights + Copyright (c) 2000-2003 The Apache Software Foundation. All rights reserved. ======================================================================= @@ -173,8 +173,6 @@ unless="sunuue.present"/> - @@ -670,7 +668,6 @@ - @@ -710,7 +707,6 @@ - No revision No revision 1.25.2.4 +6 -5 jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Get.java Index: Get.java =================================================================== RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Get.java,v retrieving revision 1.25.2.3 retrieving revision 1.25.2.4 diff -u -r1.25.2.3 -r1.25.2.4 --- Get.java 24 Jun 2002 02:28:08 -0000 1.25.2.3 +++ Get.java 13 Jan 2003 12:39:17 -0000 1.25.2.4 @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2000-2002 The Apache Software Foundation. All rights + * Copyright (c) 2000-2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -146,10 +146,11 @@ String encoding; // check to see if sun's Base64 encoder is available. try { - sun.misc.BASE64Encoder encoder = - (sun.misc.BASE64Encoder) - Class.forName("sun.misc.BASE64Encoder").newInstance(); - encoding = encoder.encode (up.getBytes()); + Object encoder = + Class.forName("sun.misc.BASE64Encoder").newInstance(); + encoding = (String) + encoder.getClass().getMethod("encode", new Class[] {byte[].class}) + .invoke(encoder, new Object[] {up.getBytes()}); } catch (Exception ex) { // sun's base64 encoder isn't available Base64Converter encoder = new Base64Converter(); -- To unsubscribe, e-mail: For additional commands, e-mail: