title: Using Ant to ensure a properties file only contains unique entries
body: <p>Is there a way in Ant which can check that a specified properties file only contains unique keys? A build failure would be the required behaviour if any duplicates are found.</p>