Permalink
Browse files

recreate Version file when template changes

  • Loading branch information...
1 parent 76f6493 commit 42492bed4f82838ff90cc2a401335a62af43e762 @league committed Aug 19, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 build.xml
View
@@ -14,7 +14,9 @@
<property name="package" value="net/contrapunctus/lzma" />
<property name="jarfile" value="lzmajio.jar" />
- <available file="${package}/Version.java" property="version-stamp-exists" />
+ <uptodate srcfile="${package}/Version.template"
+ targetfile="${package}/Version.java"
+ property="version-stamp-exists" />
<target name="version-stamp" unless="version-stamp-exists">
<exec executable="git" outputproperty="context">

0 comments on commit 42492be

Please sign in to comment.