ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: cvs commit: ant/src/etc/testcases/taskdefs/optional/net ftp.xml
Date Mon, 04 Aug 2003 22:35:10 GMT
This test obviously requires a special setup :
   - availability of a local ftp server,
   - entering your password into a file called ftp.properties and located
in the ant root directory

The test is disabled by default in build.xml. :-)

The test is a clone of DirectoryScannerTest (maybe I could have simply
extended somehow DirectoryScannerTest).

2 tests are failing currently :
   - test3
   - testChildrenOfExcludedDirectory

I am going to fix the code of FTP.FTPDirectoryScanner to get these tests to
pass.
A next step will be to introduce in FTP.FTPDirectoryScanner the same sorts
of optimizations as in DirectoryScanner :
    - follow only include patterns instead of scanning the whole basedir,
    - do not follow directories if an exclude pattern = directoryname +
"/**"

Afterwards, I will close
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20103 (FileSet horrible
performance when dir has a large number of subdirs).  :-)

Cheers,

Antoine





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message