--- Christian Hauser <[EMAIL PROTECTED]> wrote: > Hello > > I'd like to check within an Ant target whether a > particular file already > exists on the disk and if not download the file > (using the Get Ant task). > > How do I best check if the file already exists? > > Any help (preferably with a small code snippet) is > appreciated.
You should consider using the usetimestamp attribute of the <get> task. -Matt > > Thanks in advance, > > Christian > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
