RE: Reading file attributes

2004-09-29 Thread Lennart Hellström (HF/EBC)
Oh, never mind, I solved my error by using the tags BUT, I'm still having problems creating the logic that I want, so please help me anywone! What I want to do is to copy the file x.txt and y.txt to xprev.txt and yprev.txt ONLY if xprev.txt and yprev.txt are write enabled. How can I

Re: Reading file attributes

2004-09-29 Thread Peter Reilly
You need to use ant 1.6 or higher. Peter Lennart Hellström (HF/EBC) wrote: On Sep 28, 2004, at 5:04 AM, Lennart Hellström (HF/EBC) wrote: I want to copy a file to a destination file only if the destination file is not readonly (it might be checked in on the version control system) I tried

RE: Reading file attributes

2004-09-29 Thread Lennart Hellström (HF/EBC)
> On Sep 28, 2004, at 5:04 AM, Lennart Hellström (HF/EBC) wrote: > > I want to copy a file to a destination file only if the destination > > file is not readonly (it might be checked in on the version control > > system) > > > > I tried using with failOnError="false" but strangely > the build

Re: Reading file attributes

2004-09-28 Thread Erik Hatcher
On Sep 28, 2004, at 5:04 AM, Lennart Hellström (HF/EBC) wrote: I want to copy a file to a destination file only if the destination file is not readonly (it might be checked in on the version control system) I tried using with failOnError="false" but strangely the build fails anyway when the de

Reading file attributes

2004-09-28 Thread Lennart Hellström (HF/EBC)
I want to copy a file to a destination file only if the destination file is not readonly (it might be checked in on the version control system) I tried using with failOnError="false" but strangely the build fails anyway when the destination file is readonly. Is there some way to look at the fi