mirror of https://github.com/apache/poi.git
[gitub-727] Remove DSTAMP token substitution. Thanks to Emmanuel Bourg. This closes #727
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1921954 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0aa9e2bbb7
commit
0f42425f8c
|
@ -1563,7 +1563,6 @@ under the License.
|
||||||
<copy file="${main.version.template}" tofile="${main.version.java}" overwrite="true">
|
<copy file="${main.version.template}" tofile="${main.version.java}" overwrite="true">
|
||||||
<filterset>
|
<filterset>
|
||||||
<filter token="VERSION" value="${version.id}"/>
|
<filter token="VERSION" value="${version.id}"/>
|
||||||
<filter token="DSTAMP" value="${DSTAMP}"/>
|
|
||||||
</filterset>
|
</filterset>
|
||||||
</copy>
|
</copy>
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,6 @@ task generateVersionJava() {
|
||||||
String content = fileIn.text
|
String content = fileIn.text
|
||||||
|
|
||||||
content = content.replace("@VERSION@", version)
|
content = content.replace("@VERSION@", version)
|
||||||
content = content.replace("@DSTAMP@", new Date().format('yyyyMMdd'))
|
|
||||||
|
|
||||||
fileOut.write content
|
fileOut.write content
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue