Hello,
 
I am trying to execute the following through my Nant build file:
 
<target name="deldir">

                            <

property name="source" value="C:\test" verbose ="true"/>

                             <if test ="${directory::exists('${source}')}" >

                                          <delete dir ="${source}" failonerror="true" verbose="true" includeemptydirs ="true"/>

                             </if>

</target>

 

But this target is not getting executed. If I pass source as C:\Test in the if task, then the delete task is working. :( Could someone tell me how to go about with this?

 

Niranjan

Reply via email to