Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 54125 invoked by uid 500); 21 Aug 2003 16:56:28 -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 53877 invoked by uid 500); 21 Aug 2003 16:56:21 -0000 Received: (qmail 53746 invoked from network); 21 Aug 2003 16:56:19 -0000 Received: from minotaur.apache.org (209.237.227.194) by daedalus.apache.org with SMTP; 21 Aug 2003 16:56:19 -0000 Received: (qmail 16204 invoked by uid 1652); 21 Aug 2003 16:56:12 -0000 Date: 21 Aug 2003 16:56:12 -0000 Message-ID: <20030821165612.16203.qmail@minotaur.apache.org> From: antoine@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs/optional/net FTPTest.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N antoine 2003/08/21 09:56:12 Modified: src/testcases/org/apache/tools/ant/taskdefs/optional/net FTPTest.java Log: Optimize scanning in FTP.FTPDirectoryScanner, using similar algorithms to the ones introduced in DirectoryScanner. There is a gain when - the include patterns look like some/very/long/path - the remote file system is case sensitive - the casesensitive and followsymlinks options of the fileset are set to true (the default) PR: 20103 Revision Changes Path 1.7 +1 -0 ant/src/testcases/org/apache/tools/ant/taskdefs/optional/net/FTPTest.java Index: FTPTest.java =================================================================== RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/optional/net/FTPTest.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- FTPTest.java 14 Aug 2003 14:47:54 -0000 1.6 +++ FTPTest.java 21 Aug 2003 16:56:12 -0000 1.7 @@ -89,6 +89,7 @@ ftp = new FTPClient(); ftpFileSep = getProject().getProperty("ftp.filesep"); myFTPTask.setSeparator(ftpFileSep); + myFTPTask.setProject(getProject()); remoteTmpDir = myFTPTask.resolveFile(tmpDir); String remoteHost = getProject().getProperty("ftp.host"); int port = Integer.parseInt(getProject().getProperty("ftp.port")); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org