You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Anand Krishniyer <ak...@savvion.com> on 2005/09/28 00:46:49 UTC
set a property if files of a particular type are present
Hi
I need to set a property if files of a particular type (extension) are
present in a particular dir.
Is there a simple way of doing it.
pl note I don't know the names of the files, only the extension.
Thanks in advance
Anand
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: set a property if files of a particular type are present
Posted by Juergen Hermann <jh...@web.de>.
On Tue, 27 Sep 2005 15:46:49 -0700, Anand Krishniyer wrote:
use a combo of <fileset>, <pathconvert> and <condition><equals>.
>Hi
>I need to set a property if files of a particular type (extension) are
>present in a particular dir.
>Is there a simple way of doing it.
>pl note I don't know the names of the files, only the extension.
>Thanks in advance
>Anand
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
Ciao, Jürgen
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org