You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ps...@apache.org on 2013/06/08 17:06:24 UTC
svn commit: r1490996 -
/commons/proper/dbcp/branches/DBCP_1_5_x_BRANCH/build.xml
Author: psteitz
Date: Sat Jun 8 15:06:24 2013
New Revision: 1490996
URL: http://svn.apache.org/r1490996
Log:
Replaced hard-coded copyright end date with tstamp data.
Modified:
commons/proper/dbcp/branches/DBCP_1_5_x_BRANCH/build.xml
Modified: commons/proper/dbcp/branches/DBCP_1_5_x_BRANCH/build.xml
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/branches/DBCP_1_5_x_BRANCH/build.xml?rev=1490996&r1=1490995&r2=1490996&view=diff
==============================================================================
--- commons/proper/dbcp/branches/DBCP_1_5_x_BRANCH/build.xml (original)
+++ commons/proper/dbcp/branches/DBCP_1_5_x_BRANCH/build.xml Sat Jun 8 15:06:24 2013
@@ -23,7 +23,9 @@
<project name="commons-dbcp" default="test" basedir=".">
<target name="init">
- <tstamp/>
+ <tstamp>
+ <format property="YEAR" pattern="yyyy" locale="en,GB"/>
+ </tstamp>
<!-- read properties from the build.properties, if any -->
<property name="component-propfile" value="${basedir}/build.properties"/>
@@ -64,7 +66,7 @@
<property name="test.runner" value="junit.textui.TestRunner" />
<property name="javadoc.dir" value="${dist.dir}/docs/api"/>
- <property name="javadoc.bottom" value="<small>Copyright &copy; 2001-2013 Apache Software Foundation. Documenation generated ${TODAY}</small>."/>
+ <property name="javadoc.bottom" value="<small>Copyright &copy; 2001-${YEAR} Apache Software Foundation. Documenation generated ${TODAY}</small>."/>
<property name="javadoc.overview" value="${basedir}/src/java/org/apache/commons/dbcp/overview.html"/>
<property name="javac.optimize" value="false"/>