make current year dynamic

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150252 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2004-03-26 09:42:28 +00:00
parent 3a2871b740
commit 64d7ba6087
1 changed files with 5 additions and 6 deletions

View File

@ -8,10 +8,14 @@
<property file="${user.home}/build.properties"/> <property file="${user.home}/build.properties"/>
<property file="${basedir}/build.properties"/> <property file="${basedir}/build.properties"/>
<tstamp>
<format property="current.year" pattern="yyyy"/>
</tstamp>
<property name="name" value="lucene"/> <property name="name" value="lucene"/>
<property name="Name" value="Lucene"/> <property name="Name" value="Lucene"/>
<property name="version" value="1.4-rc1-dev"/> <property name="version" value="1.4-rc1-dev"/>
<property name="year" value="2000-2003"/> <!-- todo: make this dynamic --> <property name="year" value="2000-${current.year}"/>
<property name="final.name" value="${name}-${version}"/> <property name="final.name" value="${name}-${version}"/>
<property name="javac.deprecation" value="on"/> <property name="javac.deprecation" value="on"/>
<property name="javac.debug" value="on"/> <property name="javac.debug" value="on"/>
@ -86,11 +90,6 @@
property="junit.present" property="junit.present"
classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask" classname="org.apache.tools.ant.taskdefs.optional.junit.JUnitTask"
/> />
<tstamp>
<format property="DSTAMP" pattern="yyyy-MM-dd"/>
<format property="TSTAMP" pattern="HH:mm:ss"/>
</tstamp>
</target> </target>
<target name="javacc-check" depends="init"> <target name="javacc-check" depends="init">