I was curious if resource collections were an option to use. To be honest, I have never fully appreciated resources. Is there a good tutorial on resources in ANT?
-----Original Message----- From: Vimil Saju [mailto:vimils...@yahoo.com] Sent: Thursday, July 29, 2010 8:27 PM To: Ant Users List Subject: Re: Ant: want to copy a file if it exists Use the 'available' task to check if a file exists. There is also an 'if' task which is part of antcontrib that you can use to execute tasks conditionally --- On Thu, 7/29/10, eric.w...@thomsonreuters.com <eric.w...@thomsonreuters.com> wrote: From: eric.w...@thomsonreuters.com <eric.w...@thomsonreuters.com> Subject: Ant: want to copy a file if it exists To: user@ant.apache.org Date: Thursday, July 29, 2010, 2:08 PM I want to check to see if a file exist and if so then copy it. What is the best way for performing this conditional task? Thanks, eric --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org