ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Koberg <>
Subject programmatically using a fileset and ModifiedSelector
Date Tue, 17 Aug 2004 22:11:46 GMT

I want to scp some files using the ant scp task. I would also like to 
only transfer the files that have been modified. What is the best way to 
use the ModifiedSelector on a fileset?

Is it enough to do:

Fileset fileset = new Fileset();
fileset.addModified(new ModifiedSelector());

Is it the same as:

<fileset dir="some/dir">

or does anything else need to be done to the ModifiedSelector object? 
Should something else be done to the ModifiedSelector object to make it 


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message