Related Entries

Portable development links
Wish I had this 10 years ago
Associate filetypes to VIM
Prototyping GUI/Web Applications using Spreadsheet
Freemind for presentations?

« 10 annoying office phrases
» Useful SQL*Plus headers

Printer-friendly

NVL() in ant

Often you need to set a property if not already set, in ANT. Here is how to do that.
<condition property="test.properties" value="default.properties">
   <not>
	<isset property="test.properties" />
   </not>
</condition>

If test.properties is set, then that is carried over. If it is not, default.properties is set as the value for the properties.

Quick HTML encoder