Fix Javadoc copyright year once and for all.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@612317 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/build.xml b/build.xml
index 7e81c80..84102d7 100644
--- a/build.xml
+++ b/build.xml
@@ -86,7 +86,10 @@
<mkdir dir="${dist.home}"/>
<mkdir dir="${dist.home}/docs"/>
<mkdir dir="${dist.home}/docs/api"/>
- <javadoc sourcepath="${source.home}" destdir="${dist.home}/docs/api" overview="${source.home}/org/apache/commons/lang/overview.html" packagenames="org.apache.commons.*" excludepackagenames="${javadoc.excludepackagenames}" author="true" version="true" doctitle="<h1>${component.title}</h1>" windowtitle="${component.title} (Version ${component.version})" bottom="Copyright &copy; 2001-${copyright.end} - Apache Software Foundation" use="true" link="${jdk.javadoc}" source="${compile.source}">
+ <tstamp>
+ <format property="current.year" pattern="yyyy"/>
+ </tstamp>
+ <javadoc sourcepath="${source.home}" destdir="${dist.home}/docs/api" overview="${source.home}/org/apache/commons/lang/overview.html" packagenames="org.apache.commons.*" excludepackagenames="${javadoc.excludepackagenames}" author="true" version="true" doctitle="<h1>${component.title}</h1>" windowtitle="${component.title} (Version ${component.version})" bottom="Copyright &copy; 2001-${current.year} - Apache Software Foundation" use="true" link="${jdk.javadoc}" source="${compile.source}">
<classpath refid="compile.classpath"/>
</javadoc>
</target>
diff --git a/default.properties b/default.properties
index 463a971..5012c81 100644
--- a/default.properties
+++ b/default.properties
@@ -35,9 +35,6 @@
# The current version number of this component
component.version = 2.4-SNAPSHOT
-# The current year used for the end date in copyrights.
-copyright.end = 2005
-
# The name that is used to create the jar file
final.name = ${component.name}-${component.version}