I’m trying to use the nant if condition to act on the value of a property.

 

<property name="MSEnterpriseLibrary"   value="d:\Microsoft\EnterpriseLibrary"/>

<property name="local.src.dir"    value="d:\builddir"/>

<property name="app.being.built"            value="MSENT"/>

 

<if test = "MSENT ” == ”${app.being.built}

<property name="${local.src.dir}"  value="${MSEnterpriseLibrary}" />

</if>

 

Is this allowed? Or are there other methods to do that?

 

Thanks in advance.

 

Kevin

Reply via email to