Re: Can the list of files changed be passed as parameter to Ant?
Jim Hague <[email protected]> Tue, 29 Jan 2008 07:47:19 +0000
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Message-ID | <[email protected]> |
On Monday 28 Jan 2008, Marcio Marchini wrote: > During the build, with Ant, I want to run a tool only on the files that > actually changed since the last build under AnthillOS. Can I get this > passed in as a variable to Ant? I need a list of files changed so that I > can operate on them. Anthill doesn't pass any such information into the build at present. Modifying it to pass in the timestamp or changeset identifier of the last successful build would be possible. It would probably be simpler to set the project to tag on successful builds, and then in your build script find the most recent Anthill tag and get the list of changes since then. -- Jim Hague - [email protected] Never trust a computer you can't lift.