ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <sbaill...@apache.org>
Subject Re: How to write a JUnit test for this new functionality?
Date Sun, 29 May 2005 21:38:09 GMT
Steve Cohen wrote:

> However, my knowledge of Ant internals is somewhat limited.  How can I 
> tell an ant project in my test code that when it sees an <ftp> tag, it 
> should delegate the performance of this task to myRetryableFTP, 
> instead of to the standard FTP as it would normally do?  Is there an 
> example of this sort of thing within the existing Ant test suite? .

project.addTaskDefinition("ftp", MyRetryableFtp.class) ?




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


Mime
View raw message