Hi Mike,

  Add value  and else  properties to condition and set values.. it will
work.

<condition property="should.clean" value="true" else="false">
<resourcecount when="greater" count="0">
            <fileset dir="C:\BOSS\BOSS_CDH\BOSSCDHBatchShellScripts"
casesensitive="yes"  >          
                        <patternset>
                        <include name="*.*"/>                  
                        </patternset>
            </fileset>
        </resourcecount>
</condition>


<target name="clean" depends="get-count" if="should.clean">
.
.
.

-- 
View this message in context: 
http://old.nabble.com/Delete-N-directories-that-match-a-regexp-tp22727856p28525585.html
Sent from the Ant - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to