ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pritesh saharey <>
Subject Checking for avaliablity of file
Date Wed, 11 Aug 2004 06:35:21 GMT
Hi All,
I want to check for a file whether it exsist or not in a particular path how can it be checked,
suppose there is a file at
/home/pritu/verify/gu_hrd.distrib and in my build.xml file there is target <target name="move-along">
which is dependent on the avaliability
of this gu_hrd.distrib file, so i wanted to check that untill and unless this file exsist
at its particular location target move-along should 
not get executed and build should stop with message that "gu_hrd.distrib file does not exsist
at /home/pritu/verify"
can anyone help me out?


Join Community  --->

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message