<b>Tag:</b> property <span class="tagdoc" id="ivysettings.property">Defines an ivy variable.</span> <span class="since">since 1.3</span> The optional override attribute enables you to avoid overriding the previous value of the variable, which makes the definition behave like an ant property, which is particularly useful to define default values (values which are used only if they haven't been defined yet). <h1>Attributes</h1> <table class="ivy-attributes"> <thead> <tr><th class="ivy-att">Attribute</th><th class="ivy-att-desc">Description</th><th class="ivy-att-req">Required</th></tr> </thead> <tbody> <tr><td>name</td><td>the name of the variable to define</td> <td>Yes</td></tr> <tr><td>value</td><td>the new value the variable must take</td> <td>Yes</td></tr> <tr><td>override</td><td>true if the previous value (if any) of the variable should overriden, false otherwise</td> <td>No, defaults to true</td></tr> </tbody> </table> <h1>Examples</h1> <code type="xml"> <property name="myvar" value="myvalue"/> </code> Sets the variable myvar to the value myvalue. <hr/> <code type="xml"> <property name="myvar" value="myvalue" override="false"/> </code> Sets the variable myvar to the value myvalue only if myvar has not been set yet.