Re: Check if exist a file and then run or not a target

2009-08-04 Thread Sushim Saini
s be a good form to do this. >> >> Thank you very much. >> >> Best regards >> >> -Mensaje original- >> De: Sushim Saini [mailto:sushimsa...@gmail.com] Enviado el: martes, 04 de >> agosto de 2009 11:46 >> Para: Ant Us

Re: Check if exist a file and then run or not a target

2009-08-04 Thread Michael George
List Asunto: Re: Check if exist a file and then run or not a target HI u can try like that Exec file.bat I think you want: if="fileExist", not if="checkForExist" --Mike - To

RE: Check if exist a file and then run or not a target

2009-08-04 Thread Redondo Gallardo, Raul Maria
Thank you very much, I'll try it now, this seems be a good form to do this. Thank you very much. Best regards -Mensaje original- De: Sushim Saini [mailto:sushimsa...@gmail.com] Enviado el: martes, 04 de agosto de 2009 11:46 Para: Ant Users List Asunto: Re: Check if exist a fil

RE: Check if exist a file and then run or not a target

2009-08-04 Thread Felix Dorner
Maybe you want, although it's not really the same...? ... The other way would be to use ant-contrib's if. Which I think is ugly. I'm trying to do with ANT anything like: If exist a file (file.txt) Exec file.bat End if

Re: Check if exist a file and then run or not a target

2009-08-04 Thread Sushim Saini
HI u can try like that Exec file.bat hope will helpfull for u Sushim On Tue, Aug 4, 2009 at 3:07 PM, Redondo Gallardo, Raul Maria < rmredo...@eservicios.indra.es> wrote: > Hello, > > > > I’m trying to do with ANT anything like: > > > > If exist a file (fi

Check if exist a file and then run or not a target

2009-08-04 Thread Redondo Gallardo, Raul Maria
Hello, I'm trying to do with ANT anything like: If exist a file (file.txt) Exec file.bat End if But I don't get it. Is it possible to do this with ANT? Thank you very much. Best regards, Raúl María Redondo Gallardo Dpto. tr