eclipse - How to execute ANT tasks on only files that have been modified -


I have a build script that does a lot of things (at least upload JavaScript to Amazon S3 etc.) At least ANT work only operates on Javascript, which I have modified and Ignored the rest (I have not written this script). I would like to do something for the Amazon S3 work where only updated content is uploaded in the work. How to do it, its clues would be so much appreciable.

You can select a fileset with a modified date tag. The revised tag is extremely powerful, so check it out :.

To specify this to change, it can put a cache in an asset file, which updates after every successful build, unless you use it, the delayed attribute - To test this, you may have:

  & paramount = "commitUpdate" value = "false" /> [...] & lt; FTP ... & gt; & Lt; Fileset dir = "src" & gt; & Lt; Modified Delay Disc = "$ {commitUpdate}" /> & Lt; / Fileset & gt; & Lt; / FTP & gt;  

And of course you can set commitUpdate through command-line param or something.


Comments