title: How to execute war task only if a property equals to a particular value
body: <p>I have multiple apps in my environment. I want the code in the build.xml such that the war file is to be built only if a property is equal to a particular value. Here I am reading the property=value pair from the console.</p>
  
  <p>For example, I can assign val1, val2, val3 for a property prop1. But if prop1 is equal to val1 then only the war file is to be generated for the application I have hard coded in the build.xml.</p>