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
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
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
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
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
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