Trac #84: Use global build property to ensure consistent copyright years in generated documentation.
diff --git a/org.jacoco.build/build.xml b/org.jacoco.build/build.xml
index 48e4e5c..3ae77da 100644
--- a/org.jacoco.build/build.xml
+++ b/org.jacoco.build/build.xml
@@ -35,6 +35,7 @@
 	<property name="result.tmp.coverage.file" location="${result.tmp.dir}/jacoco.exec"/>

 	

 	<property name="jacoco.home.url" value="http://www.eclemma.org/jacoco"/>

+	<property name="copyright.years" value="2009, 2010"/>

 	

 	<tstamp>

 		<format property="build.date" pattern="yyyy/MM/dd" timezone="GMT+0"/>

diff --git a/org.jacoco.build/buildbundle.xml b/org.jacoco.build/buildbundle.xml
index 653c7a2..d669eff 100644
--- a/org.jacoco.build/buildbundle.xml
+++ b/org.jacoco.build/buildbundle.xml
@@ -149,7 +149,7 @@
 		<fileset dir="${source.bundle.dir}" includes="**/*.java,**/*.xml" excludes="result/**,bin/**" id="missinglicense.fileset">

 			<not>

 				<and>

-					<contains text="Copyright (c) 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors"/>

+					<contains text="Copyright (c) ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors"/>

 					<contains text="All rights reserved. This program and the accompanying materials"/>

 					<contains text="are made available under the terms of the Eclipse Public License v1.0"/>

 					<contains text="which accompanies this distribution, and is available at"/>

diff --git a/org.jacoco.doc/buildhook.xml b/org.jacoco.doc/buildhook.xml
index 5f0f375..d40ccc6 100644
--- a/org.jacoco.doc/buildhook.xml
+++ b/org.jacoco.doc/buildhook.xml
@@ -26,6 +26,7 @@
 			<report format="noframes" styledir="${source.bundle.dir}/junitstyle" todir="${result.dist.test.dir}">

 				<param name="VERSION" expression="${qualified.bundle.version}"/>

 				<param name="HOMEURL" expression="${jacoco.home.url}"/>

+				<param name="COPYRIGHTYEARS" expression="${copyright.years}"/>

 			</report>

 		</junitreport>

 		<move file="${result.dist.test.dir}/junit-noframes.html"  

@@ -120,7 +121,7 @@
 			<bottom>

 				&lt;div class="footer"&gt;

 					&lt;div class="versioninfo"&gt;&lt;a href="${jacoco.home.url}"&gt;JaCoCo&lt;/a&gt; ${qualified.bundle.version}&lt;/div&gt;

-					Copyright &#169; 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors

+					Copyright &#169; ${copyright.years} Mountainminds GmbH &amp; Co. KG and Contributors

 				&lt;/div>

 			</bottom>

 		</javadoc>

@@ -143,6 +144,7 @@
 				<filter token="DATE"    value="${build.date}"/>

 				<filter token="VERSION" value="${qualified.bundle.version}"/>

 				<filter token="HOMEURL" value="${jacoco.home.url}"/>

+				<filter token="COPYRIGHTYEARS" value="${copyright.years}"/>

 			</filterset>

 		</copy>

 		

diff --git a/org.jacoco.doc/docroot/doc/agent.html b/org.jacoco.doc/docroot/doc/agent.html
index 0a17339..100838b 100644
--- a/org.jacoco.doc/docroot/doc/agent.html
+++ b/org.jacoco.doc/docroot/doc/agent.html
@@ -105,7 +105,7 @@
 </div>

 <div class="footer">

   <div class="versioninfo"><a href="@HOMEURL@">JaCoCo</a> @VERSION@</div>

-  <a href="license.html">Copyright</a> &copy; 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors

+  <a href="license.html">Copyright</a> &copy; @COPYRIGHTYEARS@ Mountainminds GmbH &amp; Co. KG and Contributors

 </div>

 

 </body>

diff --git a/org.jacoco.doc/docroot/doc/ant.html b/org.jacoco.doc/docroot/doc/ant.html
index 7abc2b7..fa83925 100644
--- a/org.jacoco.doc/docroot/doc/ant.html
+++ b/org.jacoco.doc/docroot/doc/ant.html
@@ -475,7 +475,7 @@
 </div>

 <div class="footer">

   <div class="versioninfo"><a href="@HOMEURL@">JaCoCo</a> @VERSION@</div>

-  <a href="license.html">Copyright</a> &copy; 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors

+  <a href="license.html">Copyright</a> &copy; @COPYRIGHTYEARS@ Mountainminds GmbH &amp; Co. KG and Contributors

 </div>

 

 </body>

diff --git a/org.jacoco.doc/docroot/doc/build.html b/org.jacoco.doc/docroot/doc/build.html
index fd2144c..b2e30ff 100644
--- a/org.jacoco.doc/docroot/doc/build.html
+++ b/org.jacoco.doc/docroot/doc/build.html
@@ -265,7 +265,7 @@
 </div>

 <div class="footer">

   <div class="versioninfo"><a href="@HOMEURL@">JaCoCo</a> @VERSION@</div>

-  <a href="license.html">Copyright</a> &copy; 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors

+  <a href="license.html">Copyright</a> &copy; @COPYRIGHTYEARS@ Mountainminds GmbH &amp; Co. KG and Contributors

 </div>

 

 </body>

diff --git a/org.jacoco.doc/docroot/doc/changes.html b/org.jacoco.doc/docroot/doc/changes.html
index 3b76a08..0eef2a5 100644
--- a/org.jacoco.doc/docroot/doc/changes.html
+++ b/org.jacoco.doc/docroot/doc/changes.html
@@ -114,7 +114,7 @@
 </div>

 <div class="footer">

   <div class="versioninfo"><a href="@HOMEURL@">JaCoCo</a> @VERSION@</div>

-  <a href="license.html">Copyright</a> &copy; 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors

+  <a href="license.html">Copyright</a> &copy; @COPYRIGHTYEARS@ Mountainminds GmbH &amp; Co. KG and Contributors

 </div>

 

 </body>

diff --git a/org.jacoco.doc/docroot/doc/conventions.html b/org.jacoco.doc/docroot/doc/conventions.html
index 8fd0be8..acab28b 100644
--- a/org.jacoco.doc/docroot/doc/conventions.html
+++ b/org.jacoco.doc/docroot/doc/conventions.html
@@ -131,7 +131,7 @@
 </div>

 <div class="footer">

   <div class="versioninfo"><a href="@HOMEURL@">JaCoCo</a> @VERSION@</div>

-  <a href="license.html">Copyright</a> &copy; 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors

+  <a href="license.html">Copyright</a> &copy; @COPYRIGHTYEARS@ Mountainminds GmbH &amp; Co. KG and Contributors

 </div>

 

 </body>

diff --git a/org.jacoco.doc/docroot/doc/counters.html b/org.jacoco.doc/docroot/doc/counters.html
index 3f3f379..001dc7a 100644
--- a/org.jacoco.doc/docroot/doc/counters.html
+++ b/org.jacoco.doc/docroot/doc/counters.html
@@ -124,7 +124,7 @@
 </div> 

 <div class="footer">

   <div class="versioninfo"><a href="@HOMEURL@">JaCoCo</a> @VERSION@</div>

-  <a href="license.html">Copyright</a> &copy; 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors

+  <a href="license.html">Copyright</a> &copy; @COPYRIGHTYEARS@ Mountainminds GmbH &amp; Co. KG and Contributors

 </div>

 

 </body>

diff --git a/org.jacoco.doc/docroot/doc/empty.html b/org.jacoco.doc/docroot/doc/empty.html
index 500ee20..6ca45c5 100644
--- a/org.jacoco.doc/docroot/doc/empty.html
+++ b/org.jacoco.doc/docroot/doc/empty.html
@@ -23,7 +23,7 @@
 </div>

 <div class="footer">

   <div class="versioninfo"><a href="@HOMEURL@">JaCoCo</a> @VERSION@</div>

-  <a href="license.html">Copyright</a> &copy; 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors

+  <a href="license.html">Copyright</a> &copy; @COPYRIGHTYEARS@ Mountainminds GmbH &amp; Co. KG and Contributors

 </div>

 

 </body>

diff --git a/org.jacoco.doc/docroot/doc/environment.html b/org.jacoco.doc/docroot/doc/environment.html
index 4458f70..09843e3 100644
--- a/org.jacoco.doc/docroot/doc/environment.html
+++ b/org.jacoco.doc/docroot/doc/environment.html
@@ -92,7 +92,7 @@
 </div>

 <div class="footer">

   <div class="versioninfo"><a href="@HOMEURL@">JaCoCo</a> @VERSION@</div>

-  <a href="license.html">Copyright</a> &copy; 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors

+  <a href="license.html">Copyright</a> &copy; @COPYRIGHTYEARS@ Mountainminds GmbH &amp; Co. KG and Contributors

 </div>

 

 </body>

diff --git a/org.jacoco.doc/docroot/doc/epl-v10.html b/org.jacoco.doc/docroot/doc/epl-v10.html
index fba1ae0..9c64d3c 100644
--- a/org.jacoco.doc/docroot/doc/epl-v10.html
+++ b/org.jacoco.doc/docroot/doc/epl-v10.html
@@ -254,7 +254,7 @@
 </div>
 <div class="footer">
   <div class="versioninfo"><a href="@HOMEURL@">JaCoCo</a> @VERSION@</div>
-  <a href="license.html">Copyright</a> &copy; 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors
+  <a href="license.html">Copyright</a> &copy; @COPYRIGHTYEARS@ Mountainminds GmbH &amp; Co. KG and Contributors
 </div>
 
 </body>
diff --git a/org.jacoco.doc/docroot/doc/implementation.html b/org.jacoco.doc/docroot/doc/implementation.html
index 1867501..ce1143d 100644
--- a/org.jacoco.doc/docroot/doc/implementation.html
+++ b/org.jacoco.doc/docroot/doc/implementation.html
@@ -335,7 +335,7 @@
 </div>

 <div class="footer">

   <div class="versioninfo"><a href="@HOMEURL@">JaCoCo</a> @VERSION@</div>

-  <a href="license.html">Copyright</a> &copy; 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors

+  <a href="license.html">Copyright</a> &copy; @COPYRIGHTYEARS@ Mountainminds GmbH &amp; Co. KG and Contributors

 </div>

 

 </body>

diff --git a/org.jacoco.doc/docroot/doc/index.html b/org.jacoco.doc/docroot/doc/index.html
index 59daa46..fbfce44 100644
--- a/org.jacoco.doc/docroot/doc/index.html
+++ b/org.jacoco.doc/docroot/doc/index.html
@@ -76,7 +76,7 @@
 </div>

 <div class="footer">

   <div class="versioninfo"><a href="@HOMEURL@">JaCoCo</a> @VERSION@</div>

-  <a href="license.html">Copyright</a> &copy; 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors

+  <a href="license.html">Copyright</a> &copy; @COPYRIGHTYEARS@ Mountainminds GmbH &amp; Co. KG and Contributors

 </div>

 

 </body>

diff --git a/org.jacoco.doc/docroot/doc/license.html b/org.jacoco.doc/docroot/doc/license.html
index 1bece06..adea580 100644
--- a/org.jacoco.doc/docroot/doc/license.html
+++ b/org.jacoco.doc/docroot/doc/license.html
@@ -503,7 +503,7 @@
 </div>

 <div class="footer">

   <div class="versioninfo"><a href="@HOMEURL@">JaCoCo</a> @VERSION@</div>

-  <a href="license.html">Copyright</a> &copy; 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors

+  <a href="license.html">Copyright</a> &copy; @COPYRIGHTYEARS@ Mountainminds GmbH &amp; Co. KG and Contributors

 </div>

 

 </body>

diff --git a/org.jacoco.doc/docroot/doc/mission.html b/org.jacoco.doc/docroot/doc/mission.html
index 48dec6b..9b3bcfd 100644
--- a/org.jacoco.doc/docroot/doc/mission.html
+++ b/org.jacoco.doc/docroot/doc/mission.html
@@ -84,7 +84,7 @@
 </div>

 <div class="footer">

   <div class="versioninfo"><a href="@HOMEURL@">JaCoCo</a> @VERSION@</div>

-  <a href="license.html">Copyright</a> &copy; 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors

+  <a href="license.html">Copyright</a> &copy; @COPYRIGHTYEARS@ Mountainminds GmbH &amp; Co. KG and Contributors

 </div>

 

 </body>

diff --git a/org.jacoco.doc/docroot/doc/support.html b/org.jacoco.doc/docroot/doc/support.html
index 3715327..07efa35 100644
--- a/org.jacoco.doc/docroot/doc/support.html
+++ b/org.jacoco.doc/docroot/doc/support.html
@@ -31,7 +31,7 @@
 </div>

 <div class="footer">

   <div class="versioninfo"><a href="@HOMEURL@">JaCoCo</a> @VERSION@</div>

-  <a href="license.html">Copyright</a> &copy; 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors

+  <a href="license.html">Copyright</a> &copy; @COPYRIGHTYEARS@ Mountainminds GmbH &amp; Co. KG and Contributors

 </div>

 

 </body>

diff --git a/org.jacoco.doc/docroot/doc/team.html b/org.jacoco.doc/docroot/doc/team.html
index 7bcd276..92d4ee5 100644
--- a/org.jacoco.doc/docroot/doc/team.html
+++ b/org.jacoco.doc/docroot/doc/team.html
@@ -37,7 +37,7 @@
 </div>

 <div class="footer">

   <div class="versioninfo"><a href="@HOMEURL@">JaCoCo</a> @VERSION@</div>

-  <a href="license.html">Copyright</a> &copy; 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors

+  <a href="license.html">Copyright</a> &copy; @COPYRIGHTYEARS@ Mountainminds GmbH &amp; Co. KG and Contributors

 </div>

 

 </body>

diff --git a/org.jacoco.doc/docroot/index.html b/org.jacoco.doc/docroot/index.html
index c6a5cf2..a9df861 100644
--- a/org.jacoco.doc/docroot/index.html
+++ b/org.jacoco.doc/docroot/index.html
@@ -110,7 +110,7 @@
 </div>

 <div class="footer">

   <div class="versioninfo"><a href="@HOMEURL@">JaCoCo</a> @VERSION@</div>

-  <a href="doc/license.html">Copyright</a> &copy; 2009, 2010 Mountainminds GmbH &amp; Co. KG and Contributors

+  <a href="doc/license.html">Copyright</a> &copy; @COPYRIGHTYEARS@ Mountainminds GmbH &amp; Co. KG and Contributors

 </div>

 

 </body>

diff --git a/org.jacoco.doc/junitstyle/junit-noframes.xsl b/org.jacoco.doc/junitstyle/junit-noframes.xsl
index f051c3f..f2a72b0 100644
--- a/org.jacoco.doc/junitstyle/junit-noframes.xsl
+++ b/org.jacoco.doc/junitstyle/junit-noframes.xsl
@@ -24,6 +24,7 @@
 

 <xsl:param name="VERSION"/>

 <xsl:param name="HOMEURL"/>

+<xsl:param name="COPYRIGHTYEARS"/>

 

 <!--

 

@@ -68,7 +69,7 @@
             </div>

 			<div class="footer">

 				<div class="versioninfo"><a href="{$HOMEURL}">JaCoCo</a>&#160;<xsl:value-of select="$VERSION"/></div>

-				<a href="../doc/license.html">Copyright</a> &#169; 2009 Mountainminds GmbH &amp; Co. KG and Contributors

+				<a href="../doc/license.html">Copyright</a> &#169; <xsl:value-of select="$COPYRIGHTYEARS"/> Mountainminds GmbH &amp; Co. KG and Contributors

 			</div>

         </body>

     </html>