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="ISOAUTOMATION"/> <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 |
- [Nant-users] Can the If condition read property value? Kevin Kirkpatrick
- [Nant-users] Can the If condition read property val... Kevin Kirkpatrick