ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Compile only if files have changed
Date Mon, 27 Jul 2009 05:42:51 GMT
>I have two directories:
>a) latest-code: contains the latest code from VSS
>b) backup-code: before I get latest from VSS, I will backup 
>the entore code
>The ANT script is like below:
>1. delete old backup-code


>2. create backup from latest-code to backup-code


>3. get latest from VSS

VSS Antlib from the sandbox

>4. If any files have changed (other than .scc files), trigger 
>build. Else do not.

<condition property="changedfiles">
  <resourcecount when="greater" count="0">
    <fileset dir="LATEST">


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

View raw message