Re: Check if file already exists

2006-10-17 Thread Matt Benson
--- 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

Re: Check if file already exists

2006-10-16 Thread Christian Hauser
Thank you Mat That was exactly what I was looking for. Christian Mathieu Champlon wrote: Christian Hauser a écrit : 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

Re: Check if file already exists

2006-10-16 Thread Mathieu Champlon
Christian Hauser a écrit : 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.

Check if file already exists

2006-10-16 Thread Christian Hauser
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. Thanks in advance, Christi