title: Removing Date Comment from Apache's Ant PropertyFile Task
body: <p>I'm using the propertyfile task shown below in my build script:</p>
  
  <pre><code>&lt;target name="build-brand" depends="-init" description="Adds version information to branding files."&gt;
      &lt;propertyfile file="${basedir}/branding/core/core.jar/org/netbeans/core/startup/Bundle.properties"&gt;
          &lt;entry key="currentVersion" value="${app.windowtitle} ${app.version}" /&gt;
      &lt;/propertyfile&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>The task works as expected, except that each time I build the project, the date comment line of the Bundle.properties file is updated with the current time stamp. This occurs even if the app.version variable does not change and results in an un-necessary commit to version control consisting solely of the following diff: </p>
  
  <pre><code>--- Base (BASE)
  +++ Locally Modified (Based On LOCAL)
  @@ -1,4 +1,4 @@
  -#Thu, 22 Jul 2010 15:05:24 -0400
  +#Tue, 10 Aug 2010 13:38:27 -0400
  </code></pre>
  
  <p>How can I prevent addition of or remove this date comment from the .properties file? I considered a delete operation in propertyfile nested entry element, but a key value is required.</p>