http://git-wip-us.apache.org/repos/asf/creadur-site/blob/9736b609/rat/apache-rat-tasks/report.html
----------------------------------------------------------------------
diff --git a/rat/apache-rat-tasks/report.html b/rat/apache-rat-tasks/report.html
index 7d2b54a..9e2d83f 100644
--- a/rat/apache-rat-tasks/report.html
+++ b/rat/apache-rat-tasks/report.html
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
-<!-- Generated by Apache Maven Doxia Site Renderer 1.6 at 2016-09-04 -->
+<!-- Generated by Apache Maven Doxia Site Renderer 1.6 at 2018-11-05 -->
 <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -10,7 +10,7 @@
       @import url("./css/site.css");
     </style>
     <link rel="stylesheet" href="./css/print.css" type="text/css" 
media="print" />
-    <meta name="Date-Revision-yyyymmdd" content="20160904" />
+    <meta name="Date-Revision-yyyymmdd" content="20181105" />
     <meta http-equiv="Content-Language" content="en" />
                                                     
 <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Mate+SC"; 
type="text/css"/>
@@ -29,8 +29,8 @@
             
                     
                 <div class="xleft">
-        <span id="publishDate">Last Published: 2016-09-04</span>
-                  &nbsp;| <span id="projectVersion">Version: 
0.13-SNAPSHOT</span>
+        <span id="publishDate">Last Published: 2018-11-05</span>
+                  &nbsp;| <span id="projectVersion">Version: 0.13</span>
                           |                           <a 
href="https://www.apache.org/"; class="externalLink" title="Apache">Apache</a>
         &gt;
                           <a href="https://creadur.apache.org/"; 
class="externalLink" title="Creadur">Creadur</a>
@@ -84,7 +84,7 @@
                                                                                
                                                                               
<li class="collapsed">
                           <a href="project-info.html" title="Project 
Information">Project Information</a>
                   </li>
-                                                                               
                                                             <li 
class="collapsed">
+                                                                               
                                                                               
<li class="collapsed">
                           <a href="project-reports.html" title="Project 
Reports">Project Reports</a>
                   </li>
           </ul>
@@ -205,7 +205,7 @@
         <!-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
--><!-- Licensed to the Apache Software Foundation (ASF) under one or more 
--><!-- contributor license agreements.  See the NOTICE file distributed with 
--><!-- this work for additional information regarding copyright ownership. 
--><!-- The ASF licenses this file to You under the Apache License, Version 2.0 
--><!-- (the "License"); you may not use this file except in compliance with 
--><!-- the License.  You may obtain a copy of the License at --><!--  --><!-- 
http://www.apache.org/licenses/LICENSE-2.0 --><!--  --><!-- Unless required by 
applicable law or agreed to in writing, software --><!-- distributed under the 
License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR 
CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for 
the specific language governing permissions and --><!-- limitations under the 
License. --><!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --><div class="section">
 <h2><a name="Report_Task"></a>Report Task</h2>
 <p>The Report task is the heart of the Apache Rat Ant Task Library, it runs 
Rat on a given set of resources and generates the report.</p>
-<p>The task can work on any Ant <a class="externalLink" 
href="http://ant.apache.org/manual/Types/resources.html";>resource or resource 
collection</a> and the usual Ant selectors can be applied to restrict things 
even further.</p>
+<p>The task can work on any Ant <a class="externalLink" 
href="https://ant.apache.org/manual/Types/resources.html";>resource or resource 
collection</a> and the usual Ant selectors can be applied to restrict things 
even further.</p>
 <p>Reports can use Rat's internal XML or plain text format or be styled by a 
custom XSLT stylesheet.</p>
 <p>It is possible to define custom matchers for licenses not directly 
supported by Rat via nested elements to the Report task.</p></div>
 <div class="section">
@@ -233,7 +233,7 @@
 <h2><a name="Nested_Elements"></a>Nested Elements</h2>
 <div class="section">
 <h3><a name="Resources"></a>Resources</h3>
-<p>The files to be checked by Rat are specified as nested <a 
class="externalLink" href="http://ant.apache.org/manual/Types/resources.html";> 
resource (collection)(s)</a>, the most basic one would probably be a <a 
class="externalLink" href="http://ant.apache.org/manual/Types/fileset.html";> 
fileset</a>.</p>
+<p>The files to be checked by Rat are specified as nested <a 
class="externalLink" href="https://ant.apache.org/manual/Types/resources.html";> 
resource (collection)(s)</a>, the most basic one would probably be a <a 
class="externalLink" href="https://ant.apache.org/manual/Types/fileset.html";> 
fileset</a>.</p>
 <p>For example the following would check all Java files in the <tt>src</tt> 
directory.</p>
 <div>
 <pre>&lt;rat:report&gt;

http://git-wip-us.apache.org/repos/asf/creadur-site/blob/9736b609/rat/apache-rat-tasks/source-repository.html
----------------------------------------------------------------------
diff --git a/rat/apache-rat-tasks/source-repository.html 
b/rat/apache-rat-tasks/source-repository.html
index d1434e8..dbd8a09 100644
--- a/rat/apache-rat-tasks/source-repository.html
+++ b/rat/apache-rat-tasks/source-repository.html
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
-<!-- Generated by Apache Maven Doxia Site Renderer 1.6 at 2016-09-04 -->
+<!-- Generated by Apache Maven Doxia Site Renderer 1.6 at 2018-11-05 -->
 <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -10,7 +10,7 @@
       @import url("./css/site.css");
     </style>
     <link rel="stylesheet" href="./css/print.css" type="text/css" 
media="print" />
-    <meta name="Date-Revision-yyyymmdd" content="20160904" />
+    <meta name="Date-Revision-yyyymmdd" content="20181105" />
     <meta http-equiv="Content-Language" content="en" />
                                                     
 <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Mate+SC"; 
type="text/css"/>
@@ -29,8 +29,8 @@
             
                     
                 <div class="xleft">
-        <span id="publishDate">Last Published: 2016-09-04</span>
-                  &nbsp;| <span id="projectVersion">Version: 
0.13-SNAPSHOT</span>
+        <span id="publishDate">Last Published: 2018-11-05</span>
+                  &nbsp;| <span id="projectVersion">Version: 0.13</span>
                           |                           <a 
href="https://www.apache.org/"; class="externalLink" title="Apache">Apache</a>
         &gt;
                           <a href="https://creadur.apache.org/"; 
class="externalLink" title="Creadur">Creadur</a>
@@ -104,7 +104,7 @@
           </li>
               </ul>
         </li>
-                                                                               
                                                             <li 
class="collapsed">
+                                                                               
                                                                               
<li class="collapsed">
                           <a href="project-reports.html" title="Project 
Reports">Project Reports</a>
                   </li>
           </ul>
@@ -229,17 +229,17 @@
 <h2><a name="Web_Access"></a>Web Access</h2><a name="Web_Access"></a>
 <p>The following is a link to the online source repository.</p>
 <div class="source">
-<pre><a class="externalLink" 
href="http://svn.apache.org/repos/asf/creadur/rat/trunk/apache-rat-tasks";>http://svn.apache.org/repos/asf/creadur/rat/trunk/apache-rat-tasks</a></pre></div></div>
+<pre><a class="externalLink" 
href="https://svn.apache.org/repos/asf/creadur/rat/tags/apache-rat-project-0.13/apache-rat-tasks";>https://svn.apache.org/repos/asf/creadur/rat/tags/apache-rat-project-0.13/apache-rat-tasks</a></pre></div></div>
 <div class="section">
 <h2><a name="Anonymous_access"></a>Anonymous access</h2><a 
name="Anonymous_access"></a>
 <p>The source can be checked out anonymously from SVN with this command:</p>
 <div class="source">
-<pre>$ svn checkout 
http://svn.apache.org/repos/asf/creadur/rat/trunk/apache-rat-tasks 
apache-rat-tasks</pre></div></div>
+<pre>$ svn checkout 
https://svn.apache.org/repos/asf/creadur/rat/tags/apache-rat-project-0.13/apache-rat-tasks
 apache-rat-tasks</pre></div></div>
 <div class="section">
 <h2><a name="Developer_access"></a>Developer access</h2><a 
name="Developer_access"></a>
 <p>Everyone can access the Subversion repository via HTTP, but Committers must 
checkout the Subversion repository via HTTPS.</p>
 <div class="source">
-<pre>$ svn checkout 
https://svn.apache.org/repos/asf/creadur/rat/trunk/apache-rat-tasks 
apache-rat-tasks</pre></div>
+<pre>$ svn checkout 
https://svn.apache.org/repos/asf/creadur/rat/tags/apache-rat-project-0.13/apache-rat-tasks
 apache-rat-tasks</pre></div>
 <p>To commit changes to the repository, execute the following command to 
commit your changes (svn will prompt you for your password)</p>
 <div class="source">
 <pre>$ svn commit --username your-username -m &quot;A 
message&quot;</pre></div></div>
@@ -247,7 +247,7 @@
 <h2><a name="Access_from_behind_a_firewall"></a>Access from behind a 
firewall</h2><a name="Access_from_behind_a_firewall"></a>
 <p>For those users who are stuck behind a corporate firewall which is blocking 
HTTP access to the Subversion repository, you can try to access it via the 
developer connection:</p>
 <div class="source">
-<pre>$ svn checkout 
https://svn.apache.org/repos/asf/creadur/rat/trunk/apache-rat-tasks 
apache-rat-tasks</pre></div></div>
+<pre>$ svn checkout 
https://svn.apache.org/repos/asf/creadur/rat/tags/apache-rat-project-0.13/apache-rat-tasks
 apache-rat-tasks</pre></div></div>
 <div class="section">
 <h2><a name="Access_through_a_proxy"></a>Access through a proxy</h2><a 
name="Access_through_a_proxy"></a>
 <p>The Subversion client can go through a proxy, if you configure it to do so. 
First, edit your &quot;servers&quot; configuration file to indicate which proxy 
to use. The file's location depends on your operating system. On Linux or Unix 
it is located in the directory &quot;~/.subversion&quot;. On Windows it is in 
&quot;%APPDATA%\Subversion&quot;. (Try &quot;echo %APPDATA%&quot;, note this is 
a hidden directory.)</p>

http://git-wip-us.apache.org/repos/asf/creadur-site/blob/9736b609/rat/apache-rat-tasks/team-list.html
----------------------------------------------------------------------
diff --git a/rat/apache-rat-tasks/team-list.html 
b/rat/apache-rat-tasks/team-list.html
index 3c65002..ed22554 100644
--- a/rat/apache-rat-tasks/team-list.html
+++ b/rat/apache-rat-tasks/team-list.html
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
-<!-- Generated by Apache Maven Doxia Site Renderer 1.6 at 2016-09-04 -->
+<!-- Generated by Apache Maven Doxia Site Renderer 1.6 at 2018-11-05 -->
 <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -10,7 +10,7 @@
       @import url("./css/site.css");
     </style>
     <link rel="stylesheet" href="./css/print.css" type="text/css" 
media="print" />
-    <meta name="Date-Revision-yyyymmdd" content="20160904" />
+    <meta name="Date-Revision-yyyymmdd" content="20181105" />
     <meta http-equiv="Content-Language" content="en" />
                                                     
 <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Mate+SC"; 
type="text/css"/>
@@ -29,8 +29,8 @@
             
                     
                 <div class="xleft">
-        <span id="publishDate">Last Published: 2016-09-04</span>
-                  &nbsp;| <span id="projectVersion">Version: 
0.13-SNAPSHOT</span>
+        <span id="publishDate">Last Published: 2018-11-05</span>
+                  &nbsp;| <span id="projectVersion">Version: 0.13</span>
                           |                           <a 
href="https://www.apache.org/"; class="externalLink" title="Apache">Apache</a>
         &gt;
                           <a href="https://creadur.apache.org/"; 
class="externalLink" title="Creadur">Creadur</a>
@@ -104,7 +104,7 @@
             </li>
               </ul>
         </li>
-                                                                               
                                                             <li 
class="collapsed">
+                                                                               
                                                                               
<li class="collapsed">
                           <a href="project-reports.html" title="Project 
Reports">Project Reports</a>
                   </li>
           </ul>

http://git-wip-us.apache.org/repos/asf/creadur-site/blob/9736b609/rat/apache-rat-tasks/types.html
----------------------------------------------------------------------
diff --git a/rat/apache-rat-tasks/types.html b/rat/apache-rat-tasks/types.html
index 188844f..aec8822 100644
--- a/rat/apache-rat-tasks/types.html
+++ b/rat/apache-rat-tasks/types.html
@@ -1,5 +1,5 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
-<!-- Generated by Apache Maven Doxia Site Renderer 1.6 at 2016-09-04 -->
+<!-- Generated by Apache Maven Doxia Site Renderer 1.6 at 2018-11-05 -->
 <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
   <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
@@ -10,7 +10,7 @@
       @import url("./css/site.css");
     </style>
     <link rel="stylesheet" href="./css/print.css" type="text/css" 
media="print" />
-    <meta name="Date-Revision-yyyymmdd" content="20160904" />
+    <meta name="Date-Revision-yyyymmdd" content="20181105" />
     <meta http-equiv="Content-Language" content="en" />
                                                     
 <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Mate+SC"; 
type="text/css"/>
@@ -29,8 +29,8 @@
             
                     
                 <div class="xleft">
-        <span id="publishDate">Last Published: 2016-09-04</span>
-                  &nbsp;| <span id="projectVersion">Version: 
0.13-SNAPSHOT</span>
+        <span id="publishDate">Last Published: 2018-11-05</span>
+                  &nbsp;| <span id="projectVersion">Version: 0.13</span>
                           |                           <a 
href="https://www.apache.org/"; class="externalLink" title="Apache">Apache</a>
         &gt;
                           <a href="https://creadur.apache.org/"; 
class="externalLink" title="Creadur">Creadur</a>
@@ -84,7 +84,7 @@
                                                                                
                                                                               
<li class="collapsed">
                           <a href="project-info.html" title="Project 
Information">Project Information</a>
                   </li>
-                                                                               
                                                             <li 
class="collapsed">
+                                                                               
                                                                               
<li class="collapsed">
                           <a href="project-reports.html" title="Project 
Reports">Project Reports</a>
                   </li>
           </ul>
@@ -205,7 +205,7 @@
         <!-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
--><!-- Licensed to the Apache Software Foundation (ASF) under one or more 
--><!-- contributor license agreements.  See the NOTICE file distributed with 
--><!-- this work for additional information regarding copyright ownership. 
--><!-- The ASF licenses this file to You under the Apache License, Version 2.0 
--><!-- (the "License"); you may not use this file except in compliance with 
--><!-- the License.  You may obtain a copy of the License at --><!--  --><!-- 
http://www.apache.org/licenses/LICENSE-2.0 --><!--  --><!-- Unless required by 
applicable law or agreed to in writing, software --><!-- distributed under the 
License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR 
CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for 
the specific language governing permissions and --><!-- limitations under the 
License. --><!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --><div class="section">
 <h2><a name="Built-In_Types"></a>Built-In Types</h2>
 <p>The Rat Antlib defines a few Ant types that can be used as nested elements 
to the <a href="./report.html"> Report Task</a> as license matchers or license 
families.</p>
-<p>In order to stay compatible with Ant 1.7.1 these types are defined via <a 
class="externalLink" href="http://ant.apache.org/manual/Tasks/typedef.html";> 
<tt>typedef</tt></a> rather than <a class="externalLink" 
href="http://ant.apache.org/manual/Tasks/componentdef.html";> 
<tt>componentdef</tt></a> which means they can be defined outside of the Report 
task as well - but they will be completely useless there.</p></div>
+<p>In order to stay compatible with Ant 1.7.1 these types are defined via <a 
class="externalLink" href="https://ant.apache.org/manual/Tasks/typedef.html";> 
<tt>typedef</tt></a> rather than <a class="externalLink" 
href="https://ant.apache.org/manual/Tasks/componentdef.html";> 
<tt>componentdef</tt></a> which means they can be defined outside of the Report 
task as well - but they will be completely useless there.</p></div>
 <div class="section">
 <h2><a name="License_Matchers">License Matchers</a></h2>
 <p>The following types correspond to the built-in license matchers of Rat:</p>

http://git-wip-us.apache.org/repos/asf/creadur-site/blob/9736b609/rat/apache-rat-tasks/xref-test/index.html
----------------------------------------------------------------------
diff --git a/rat/apache-rat-tasks/xref-test/index.html 
b/rat/apache-rat-tasks/xref-test/index.html
index dcb396a..74b6eda 100644
--- a/rat/apache-rat-tasks/xref-test/index.html
+++ b/rat/apache-rat-tasks/xref-test/index.html
@@ -4,7 +4,7 @@
 <!-- this is a JXR report set -->
        <head>
                <meta http-equiv="content-type" content="text/html; 
charset=UTF-8" />
-               <title>Apache Creadur Rat::Tasks4Ant 0.13-SNAPSHOT 
Reference</title>
+               <title>Apache Creadur Rat::Tasks4Ant 0.13 Reference</title>
        </head>
     <frameset cols="20%,80%">
                <frameset rows="30%,70%">

http://git-wip-us.apache.org/repos/asf/creadur-site/blob/9736b609/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/AbstractRatAntTaskTest.html
----------------------------------------------------------------------
diff --git 
a/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/AbstractRatAntTaskTest.html
 
b/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/AbstractRatAntTaskTest.html
index d0d6f91..ae70f0b 100644
--- 
a/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/AbstractRatAntTaskTest.html
+++ 
b/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/AbstractRatAntTaskTest.html
@@ -43,58 +43,59 @@
 <a class="jxr_linenumber" name="L35" href="#L35">35</a>      }
 <a class="jxr_linenumber" name="L36" href="#L36">36</a>  
 <a class="jxr_linenumber" name="L37" href="#L37">37</a>      @Override
-<a class="jxr_linenumber" name="L38" href="#L38">38</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
setUp() {
-<a class="jxr_linenumber" name="L39" href="#L39">39</a>          
configureProject(getAntFile().getPath());
-<a class="jxr_linenumber" name="L40" href="#L40">40</a>      }
-<a class="jxr_linenumber" name="L41" href="#L41">41</a>  
-<a class="jxr_linenumber" name="L42" href="#L42">42</a>      <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">void</strong> assertLogDoesNotMatch(String pPattern) {
-<a class="jxr_linenumber" name="L43" href="#L43">43</a>          <strong 
class="jxr_keyword">final</strong> String log = <strong 
class="jxr_keyword">super</strong>.getLog();
-<a class="jxr_linenumber" name="L44" href="#L44">44</a>          
Assert.assertFalse(<span class="jxr_string">"Log matches the pattern: "</span> 
+ pPattern + <span class="jxr_string">", got "</span> + log,
-<a class="jxr_linenumber" name="L45" href="#L45">45</a>                  
isMatching(pPattern, log));
-<a class="jxr_linenumber" name="L46" href="#L46">46</a>      }
-<a class="jxr_linenumber" name="L47" href="#L47">47</a>  
-<a class="jxr_linenumber" name="L48" href="#L48">48</a>      <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">void</strong> assertLogMatches(String pPattern) {
-<a class="jxr_linenumber" name="L49" href="#L49">49</a>          <strong 
class="jxr_keyword">final</strong> String log = <strong 
class="jxr_keyword">super</strong>.getLog();
-<a class="jxr_linenumber" name="L50" href="#L50">50</a>          
Assert.assertTrue(<span class="jxr_string">"Log doesn't match string: "</span> 
+ pPattern + <span class="jxr_string">", got "</span> + log,
-<a class="jxr_linenumber" name="L51" href="#L51">51</a>                  
isMatching(pPattern, log));
-<a class="jxr_linenumber" name="L52" href="#L52">52</a>      }
-<a class="jxr_linenumber" name="L53" href="#L53">53</a>  
-<a class="jxr_linenumber" name="L54" href="#L54">54</a>      <strong 
class="jxr_keyword">private</strong> <strong 
class="jxr_keyword">boolean</strong> isMatching(<strong 
class="jxr_keyword">final</strong> String pPattern, <strong 
class="jxr_keyword">final</strong> String pValue) {
-<a class="jxr_linenumber" name="L55" href="#L55">55</a>          <strong 
class="jxr_keyword">return</strong> 
Pattern.compile(pPattern).matcher(pValue).find();
-<a class="jxr_linenumber" name="L56" href="#L56">56</a>      }
-<a class="jxr_linenumber" name="L57" href="#L57">57</a>  
-<a class="jxr_linenumber" name="L58" href="#L58">58</a>      <strong 
class="jxr_keyword">private</strong> String load(File pFile) <strong 
class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="L59" href="#L59">59</a>          FileReader fr 
= <strong class="jxr_keyword">new</strong> FileReader(pFile);
-<a class="jxr_linenumber" name="L60" href="#L60">60</a>          <strong 
class="jxr_keyword">try</strong> {
-<a class="jxr_linenumber" name="L61" href="#L61">61</a>              <strong 
class="jxr_keyword">final</strong> StringBuilder sb = <strong 
class="jxr_keyword">new</strong> StringBuilder();
-<a class="jxr_linenumber" name="L62" href="#L62">62</a>              <strong 
class="jxr_keyword">char</strong>[] buffer = <strong 
class="jxr_keyword">new</strong> <strong 
class="jxr_keyword">char</strong>[1024];
-<a class="jxr_linenumber" name="L63" href="#L63">63</a>              <strong 
class="jxr_keyword">for</strong> (;;) {
-<a class="jxr_linenumber" name="L64" href="#L64">64</a>                  
<strong class="jxr_keyword">int</strong> res = fr.read(buffer);
-<a class="jxr_linenumber" name="L65" href="#L65">65</a>                  
<strong class="jxr_keyword">if</strong> (res == -1) {
-<a class="jxr_linenumber" name="L66" href="#L66">66</a>                      
fr.close();
-<a class="jxr_linenumber" name="L67" href="#L67">67</a>                      
fr = <strong class="jxr_keyword">null</strong>;
-<a class="jxr_linenumber" name="L68" href="#L68">68</a>                      
<strong class="jxr_keyword">return</strong> sb.toString();
-<a class="jxr_linenumber" name="L69" href="#L69">69</a>                  }
-<a class="jxr_linenumber" name="L70" href="#L70">70</a>                  
<strong class="jxr_keyword">if</strong> (res &gt; 0) {
-<a class="jxr_linenumber" name="L71" href="#L71">71</a>                      
sb.append(buffer, 0, res);
-<a class="jxr_linenumber" name="L72" href="#L72">72</a>                  }
-<a class="jxr_linenumber" name="L73" href="#L73">73</a>              }
-<a class="jxr_linenumber" name="L74" href="#L74">74</a>          } <strong 
class="jxr_keyword">finally</strong> {
-<a class="jxr_linenumber" name="L75" href="#L75">75</a>              
IOUtils.closeQuietly(fr);
-<a class="jxr_linenumber" name="L76" href="#L76">76</a>          }
-<a class="jxr_linenumber" name="L77" href="#L77">77</a>      }
-<a class="jxr_linenumber" name="L78" href="#L78">78</a>  
-<a class="jxr_linenumber" name="L79" href="#L79">79</a>      <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">void</strong> assertFileMatches(File pFile, String pPattern)
-<a class="jxr_linenumber" name="L80" href="#L80">80</a>              <strong 
class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="L81" href="#L81">81</a>          <strong 
class="jxr_keyword">final</strong> String content = load(pFile);
-<a class="jxr_linenumber" name="L82" href="#L82">82</a>          
Assert.assertTrue(<span class="jxr_string">"File "</span> + pFile
-<a class="jxr_linenumber" name="L83" href="#L83">83</a>                  + 
<span class="jxr_string">" doesn't match the pattern "</span> + pPattern
-<a class="jxr_linenumber" name="L84" href="#L84">84</a>                  + 
<span class="jxr_string">", got "</span> + content,
-<a class="jxr_linenumber" name="L85" href="#L85">85</a>                  
isMatching(pPattern, content));
-<a class="jxr_linenumber" name="L86" href="#L86">86</a>      }
-<a class="jxr_linenumber" name="L87" href="#L87">87</a>  }
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
setUp() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>          <strong 
class="jxr_keyword">super</strong>.setUp();
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>          
configureProject(getAntFile().getPath());
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>      }
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>  
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>      <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">void</strong> assertLogDoesNotMatch(String pPattern) {
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>          <strong 
class="jxr_keyword">final</strong> String log = <strong 
class="jxr_keyword">super</strong>.getLog();
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>          
Assert.assertFalse(<span class="jxr_string">"Log matches the pattern: "</span> 
+ pPattern + <span class="jxr_string">", got "</span> + log,
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>                  
isMatching(pPattern, log));
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>      }
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>  
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>      <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">void</strong> assertLogMatches(String pPattern) {
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>          <strong 
class="jxr_keyword">final</strong> String log = <strong 
class="jxr_keyword">super</strong>.getLog();
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>          
Assert.assertTrue(<span class="jxr_string">"Log doesn't match string: "</span> 
+ pPattern + <span class="jxr_string">", got "</span> + log,
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>                  
isMatching(pPattern, log));
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>      }
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>  
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>      <strong 
class="jxr_keyword">private</strong> <strong 
class="jxr_keyword">boolean</strong> isMatching(<strong 
class="jxr_keyword">final</strong> String pPattern, <strong 
class="jxr_keyword">final</strong> String pValue) {
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>          <strong 
class="jxr_keyword">return</strong> 
Pattern.compile(pPattern).matcher(pValue).find();
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>      }
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>  
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>      <strong 
class="jxr_keyword">private</strong> String load(File pFile) <strong 
class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>          FileReader fr 
= <strong class="jxr_keyword">new</strong> FileReader(pFile);
+<a class="jxr_linenumber" name="L61" href="#L61">61</a>          <strong 
class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="L62" href="#L62">62</a>              <strong 
class="jxr_keyword">final</strong> StringBuilder sb = <strong 
class="jxr_keyword">new</strong> StringBuilder();
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>              <strong 
class="jxr_keyword">char</strong>[] buffer = <strong 
class="jxr_keyword">new</strong> <strong 
class="jxr_keyword">char</strong>[1024];
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>              <strong 
class="jxr_keyword">for</strong> (;;) {
+<a class="jxr_linenumber" name="L65" href="#L65">65</a>                  
<strong class="jxr_keyword">int</strong> res = fr.read(buffer);
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>                  
<strong class="jxr_keyword">if</strong> (res == -1) {
+<a class="jxr_linenumber" name="L67" href="#L67">67</a>                      
fr.close();
+<a class="jxr_linenumber" name="L68" href="#L68">68</a>                      
fr = <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>                      
<strong class="jxr_keyword">return</strong> sb.toString();
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>                  }
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>                  
<strong class="jxr_keyword">if</strong> (res &gt; 0) {
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>                      
sb.append(buffer, 0, res);
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>                  }
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>              }
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>          } <strong 
class="jxr_keyword">finally</strong> {
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>              
IOUtils.closeQuietly(fr);
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>          }
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>      }
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>  
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>      <strong 
class="jxr_keyword">protected</strong> <strong 
class="jxr_keyword">void</strong> assertFileMatches(File pFile, String pPattern)
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>              <strong 
class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>          <strong 
class="jxr_keyword">final</strong> String content = load(pFile);
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>          
Assert.assertTrue(<span class="jxr_string">"File "</span> + pFile
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>                  + 
<span class="jxr_string">" doesn't match the pattern "</span> + pPattern
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>                  + 
<span class="jxr_string">", got "</span> + content,
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>                  
isMatching(pPattern, content));
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>      }
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>  }
 </pre>
 <hr/>
-<div id="footer">Copyright &#169; 2006&#x2013;2016 <a 
href="http://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.</div>
+<div id="footer">Copyright &#169; 2006&#x2013;2018 <a 
href="https://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.</div>
 </body>
 </html>

http://git-wip-us.apache.org/repos/asf/creadur-site/blob/9736b609/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/ReportTest.html
----------------------------------------------------------------------
diff --git 
a/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/ReportTest.html 
b/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/ReportTest.html
index 62d5673..dcbc69f 100644
--- a/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/ReportTest.html
+++ b/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/ReportTest.html
@@ -33,106 +33,185 @@
 <a class="jxr_linenumber" name="L25" href="#L25">25</a>  <strong 
class="jxr_keyword">import</strong> java.io.FileInputStream;
 <a class="jxr_linenumber" name="L26" href="#L26">26</a>  <strong 
class="jxr_keyword">import</strong> java.io.IOException;
 <a class="jxr_linenumber" name="L27" href="#L27">27</a>  <strong 
class="jxr_keyword">import</strong> java.io.InputStreamReader;
-<a class="jxr_linenumber" name="L28" href="#L28">28</a>  
-<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> 
<a href="../../../../org/apache/rat/anttasks/ReportTest.html">ReportTest</a> 
<strong class="jxr_keyword">extends</strong> <a 
href="../../../../org/apache/rat/anttasks/AbstractRatAntTaskTest.html">AbstractRatAntTaskTest</a>
 {
-<a class="jxr_linenumber" name="L30" href="#L30">30</a>      <strong 
class="jxr_keyword">private</strong> <strong 
class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> 
File antFile = <strong class="jxr_keyword">new</strong> File(<span 
class="jxr_string">"src/test/resources/antunit/report-junit.xml"</span>).getAbsoluteFile();
-<a class="jxr_linenumber" name="L31" href="#L31">31</a>  
-<a class="jxr_linenumber" name="L32" href="#L32">32</a>      @Override
-<a class="jxr_linenumber" name="L33" href="#L33">33</a>      <strong 
class="jxr_keyword">protected</strong> File getAntFile() {
-<a class="jxr_linenumber" name="L34" href="#L34">34</a>          <strong 
class="jxr_keyword">return</strong> antFile;
-<a class="jxr_linenumber" name="L35" href="#L35">35</a>      }
-<a class="jxr_linenumber" name="L36" href="#L36">36</a>  
-<a class="jxr_linenumber" name="L37" href="#L37">37</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testWithReportSentToAnt() <strong class="jxr_keyword">throws</strong> Exception 
{
-<a class="jxr_linenumber" name="L38" href="#L38">38</a>          
executeTarget(<span class="jxr_string">"testWithReportSentToAnt"</span>);
-<a class="jxr_linenumber" name="L39" href="#L39">39</a>          
assertLogMatches(<span class="jxr_string">"AL +&#92;&#92;Q"</span> + 
getAntFileName() + <span class="jxr_string">"&#92;&#92;E"</span>);
-<a class="jxr_linenumber" name="L40" href="#L40">40</a>      }
-<a class="jxr_linenumber" name="L41" href="#L41">41</a>  
-<a class="jxr_linenumber" name="L42" href="#L42">42</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testWithReportSentToFile() <strong class="jxr_keyword">throws</strong> 
Exception {
-<a class="jxr_linenumber" name="L43" href="#L43">43</a>          <strong 
class="jxr_keyword">final</strong> File reportFile = <strong 
class="jxr_keyword">new</strong> File(getTempDir(), <span 
class="jxr_string">"selftest.report"</span>);
-<a class="jxr_linenumber" name="L44" href="#L44">44</a>          <strong 
class="jxr_keyword">if</strong> (!getTempDir().mkdirs() &amp;&amp; 
!getTempDir().isDirectory()) {
-<a class="jxr_linenumber" name="L45" href="#L45">45</a>              <strong 
class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> 
IOException(<span class="jxr_string">"Could not create temporary directory 
"</span> + getTempDir());
-<a class="jxr_linenumber" name="L46" href="#L46">46</a>          }
-<a class="jxr_linenumber" name="L47" href="#L47">47</a>          <strong 
class="jxr_keyword">final</strong> String alLine = <span class="jxr_string">"AL 
+&#92;&#92;Q"</span> + getAntFileName() + <span 
class="jxr_string">"&#92;&#92;E"</span>;
-<a class="jxr_linenumber" name="L48" href="#L48">48</a>          <strong 
class="jxr_keyword">if</strong> (reportFile.isFile() &amp;&amp; 
!reportFile.delete()) {
-<a class="jxr_linenumber" name="L49" href="#L49">49</a>              <strong 
class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> 
IOException(<span class="jxr_string">"Unable to remove report file "</span> + 
reportFile);
-<a class="jxr_linenumber" name="L50" href="#L50">50</a>          }
-<a class="jxr_linenumber" name="L51" href="#L51">51</a>          
executeTarget(<span class="jxr_string">"testWithReportSentToFile"</span>);
-<a class="jxr_linenumber" name="L52" href="#L52">52</a>          
assertLogDoesNotMatch(alLine);
-<a class="jxr_linenumber" name="L53" href="#L53">53</a>          
Assert.assertTrue(<span class="jxr_string">"Expected report file "</span> + 
reportFile, reportFile.isFile());
-<a class="jxr_linenumber" name="L54" href="#L54">54</a>          
assertFileMatches(reportFile, alLine);
-<a class="jxr_linenumber" name="L55" href="#L55">55</a>      }
-<a class="jxr_linenumber" name="L56" href="#L56">56</a>  
-<a class="jxr_linenumber" name="L57" href="#L57">57</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testWithALUnknown() <strong class="jxr_keyword">throws</strong> Exception {
-<a class="jxr_linenumber" name="L58" href="#L58">58</a>          
executeTarget(<span class="jxr_string">"testWithALUnknown"</span>);
-<a class="jxr_linenumber" name="L59" href="#L59">59</a>          
assertLogDoesNotMatch(<span class="jxr_string">"AL +&#92;&#92;Q"</span> + 
getAntFileName() + <span class="jxr_string">"&#92;&#92;E"</span>);
-<a class="jxr_linenumber" name="L60" href="#L60">60</a>          
assertLogMatches(<span 
class="jxr_string">"&#92;&#92;!&#92;&#92;?&#92;&#92;?&#92;&#92;?&#92;&#92;?&#92;&#92;?
 +&#92;&#92;Q"</span> + getAntFileName() + <span 
class="jxr_string">"&#92;&#92;E"</span>);
+<a class="jxr_linenumber" name="L28" href="#L28">28</a>  <strong 
class="jxr_keyword">import</strong> java.lang.reflect.Field;
+<a class="jxr_linenumber" name="L29" href="#L29">29</a>  <strong 
class="jxr_keyword">import</strong> java.nio.charset.Charset;
+<a class="jxr_linenumber" name="L30" href="#L30">30</a>  <strong 
class="jxr_keyword">import</strong> javax.xml.parsers.DocumentBuilder;
+<a class="jxr_linenumber" name="L31" href="#L31">31</a>  <strong 
class="jxr_keyword">import</strong> javax.xml.parsers.DocumentBuilderFactory;
+<a class="jxr_linenumber" name="L32" href="#L32">32</a>  <strong 
class="jxr_keyword">import</strong> 
org.apache.rat.document.impl.guesser.BinaryGuesser;
+<a class="jxr_linenumber" name="L33" href="#L33">33</a>  <strong 
class="jxr_keyword">import</strong> org.w3c.dom.Document;
+<a class="jxr_linenumber" name="L34" href="#L34">34</a>  
+<a class="jxr_linenumber" name="L35" href="#L35">35</a>  <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> 
<a href="../../../../org/apache/rat/anttasks/ReportTest.html">ReportTest</a> 
<strong class="jxr_keyword">extends</strong> <a 
href="../../../../org/apache/rat/anttasks/AbstractRatAntTaskTest.html">AbstractRatAntTaskTest</a>
 {
+<a class="jxr_linenumber" name="L36" href="#L36">36</a>      <strong 
class="jxr_keyword">private</strong> <strong 
class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> 
File antFile = <strong class="jxr_keyword">new</strong> File(<span 
class="jxr_string">"src/test/resources/antunit/report-junit.xml"</span>).getAbsoluteFile();
+<a class="jxr_linenumber" name="L37" href="#L37">37</a>  
+<a class="jxr_linenumber" name="L38" href="#L38">38</a>      @Override
+<a class="jxr_linenumber" name="L39" href="#L39">39</a>      <strong 
class="jxr_keyword">protected</strong> File getAntFile() {
+<a class="jxr_linenumber" name="L40" href="#L40">40</a>          <strong 
class="jxr_keyword">return</strong> antFile;
+<a class="jxr_linenumber" name="L41" href="#L41">41</a>      }
+<a class="jxr_linenumber" name="L42" href="#L42">42</a>  
+<a class="jxr_linenumber" name="L43" href="#L43">43</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testWithReportSentToAnt() <strong class="jxr_keyword">throws</strong> Exception 
{
+<a class="jxr_linenumber" name="L44" href="#L44">44</a>          
executeTarget(<span class="jxr_string">"testWithReportSentToAnt"</span>);
+<a class="jxr_linenumber" name="L45" href="#L45">45</a>          
assertLogMatches(<span class="jxr_string">"AL +&#92;&#92;Q"</span> + 
getAntFileName() + <span class="jxr_string">"&#92;&#92;E"</span>);
+<a class="jxr_linenumber" name="L46" href="#L46">46</a>      }
+<a class="jxr_linenumber" name="L47" href="#L47">47</a>  
+<a class="jxr_linenumber" name="L48" href="#L48">48</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testWithReportSentToFile() <strong class="jxr_keyword">throws</strong> 
Exception {
+<a class="jxr_linenumber" name="L49" href="#L49">49</a>          <strong 
class="jxr_keyword">final</strong> File reportFile = <strong 
class="jxr_keyword">new</strong> File(getTempDir(), <span 
class="jxr_string">"selftest.report"</span>);
+<a class="jxr_linenumber" name="L50" href="#L50">50</a>          <strong 
class="jxr_keyword">if</strong> (!getTempDir().mkdirs() &amp;&amp; 
!getTempDir().isDirectory()) {
+<a class="jxr_linenumber" name="L51" href="#L51">51</a>              <strong 
class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> 
IOException(<span class="jxr_string">"Could not create temporary directory 
"</span> + getTempDir());
+<a class="jxr_linenumber" name="L52" href="#L52">52</a>          }
+<a class="jxr_linenumber" name="L53" href="#L53">53</a>          <strong 
class="jxr_keyword">final</strong> String alLine = <span class="jxr_string">"AL 
+&#92;&#92;Q"</span> + getAntFileName() + <span 
class="jxr_string">"&#92;&#92;E"</span>;
+<a class="jxr_linenumber" name="L54" href="#L54">54</a>          <strong 
class="jxr_keyword">if</strong> (reportFile.isFile() &amp;&amp; 
!reportFile.delete()) {
+<a class="jxr_linenumber" name="L55" href="#L55">55</a>              <strong 
class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> 
IOException(<span class="jxr_string">"Unable to remove report file "</span> + 
reportFile);
+<a class="jxr_linenumber" name="L56" href="#L56">56</a>          }
+<a class="jxr_linenumber" name="L57" href="#L57">57</a>          
executeTarget(<span class="jxr_string">"testWithReportSentToFile"</span>);
+<a class="jxr_linenumber" name="L58" href="#L58">58</a>          
assertLogDoesNotMatch(alLine);
+<a class="jxr_linenumber" name="L59" href="#L59">59</a>          
Assert.assertTrue(<span class="jxr_string">"Expected report file "</span> + 
reportFile, reportFile.isFile());
+<a class="jxr_linenumber" name="L60" href="#L60">60</a>          
assertFileMatches(reportFile, alLine);
 <a class="jxr_linenumber" name="L61" href="#L61">61</a>      }
 <a class="jxr_linenumber" name="L62" href="#L62">62</a>  
-<a class="jxr_linenumber" name="L63" href="#L63">63</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testCustomMatcher() <strong class="jxr_keyword">throws</strong> Exception {
-<a class="jxr_linenumber" name="L64" href="#L64">64</a>          
executeTarget(<span class="jxr_string">"testCustomMatcher"</span>);
+<a class="jxr_linenumber" name="L63" href="#L63">63</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testWithALUnknown() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L64" href="#L64">64</a>          
executeTarget(<span class="jxr_string">"testWithALUnknown"</span>);
 <a class="jxr_linenumber" name="L65" href="#L65">65</a>          
assertLogDoesNotMatch(<span class="jxr_string">"AL +&#92;&#92;Q"</span> + 
getAntFileName() + <span class="jxr_string">"&#92;&#92;E"</span>);
-<a class="jxr_linenumber" name="L66" href="#L66">66</a>          
assertLogMatches(<span class="jxr_string">"EXMPL +&#92;&#92;Q"</span> + 
getAntFileName() + <span class="jxr_string">"&#92;&#92;E"</span>);
+<a class="jxr_linenumber" name="L66" href="#L66">66</a>          
assertLogMatches(<span 
class="jxr_string">"&#92;&#92;!&#92;&#92;?&#92;&#92;?&#92;&#92;?&#92;&#92;?&#92;&#92;?
 +&#92;&#92;Q"</span> + getAntFileName() + <span 
class="jxr_string">"&#92;&#92;E"</span>);
 <a class="jxr_linenumber" name="L67" href="#L67">67</a>      }
 <a class="jxr_linenumber" name="L68" href="#L68">68</a>  
-<a class="jxr_linenumber" name="L69" href="#L69">69</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testNoResources() <strong class="jxr_keyword">throws</strong> Exception {
-<a class="jxr_linenumber" name="L70" href="#L70">70</a>          <strong 
class="jxr_keyword">try</strong> {
-<a class="jxr_linenumber" name="L71" href="#L71">71</a>              
executeTarget(<span class="jxr_string">"testNoResources"</span>);
-<a class="jxr_linenumber" name="L72" href="#L72">72</a>              
fail(<span class="jxr_string">"Expected Exception"</span>);
-<a class="jxr_linenumber" name="L73" href="#L73">73</a>          } <strong 
class="jxr_keyword">catch</strong> (BuildException e) {
-<a class="jxr_linenumber" name="L74" href="#L74">74</a>              <strong 
class="jxr_keyword">final</strong> String expect = <span 
class="jxr_string">"You must specify at least one file"</span>;
-<a class="jxr_linenumber" name="L75" href="#L75">75</a>              
assertTrue(<span class="jxr_string">"Expected "</span> + expect + <span 
class="jxr_string">", got "</span> + e.getMessage(),
-<a class="jxr_linenumber" name="L76" href="#L76">76</a>                      
e.getMessage().contains(expect));
-<a class="jxr_linenumber" name="L77" href="#L77">77</a>          }
-<a class="jxr_linenumber" name="L78" href="#L78">78</a>      }
-<a class="jxr_linenumber" name="L79" href="#L79">79</a>  
-<a class="jxr_linenumber" name="L80" href="#L80">80</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testNoLicenseMatchers() <strong class="jxr_keyword">throws</strong> Exception {
-<a class="jxr_linenumber" name="L81" href="#L81">81</a>          <strong 
class="jxr_keyword">try</strong> {
-<a class="jxr_linenumber" name="L82" href="#L82">82</a>              
executeTarget(<span class="jxr_string">"testNoLicenseMatchers"</span>);
-<a class="jxr_linenumber" name="L83" href="#L83">83</a>              
fail(<span class="jxr_string">"Expected Exception"</span>);
-<a class="jxr_linenumber" name="L84" href="#L84">84</a>          } <strong 
class="jxr_keyword">catch</strong> (BuildException e) {
-<a class="jxr_linenumber" name="L85" href="#L85">85</a>              <strong 
class="jxr_keyword">final</strong> String expect = <span class="jxr_string">"at 
least one license"</span>;
-<a class="jxr_linenumber" name="L86" href="#L86">86</a>              
assertTrue(<span class="jxr_string">"Expected "</span> + expect + <span 
class="jxr_string">", got "</span> + e.getMessage(),
-<a class="jxr_linenumber" name="L87" href="#L87">87</a>                      
e.getMessage().contains(expect));
-<a class="jxr_linenumber" name="L88" href="#L88">88</a>          }
-<a class="jxr_linenumber" name="L89" href="#L89">89</a>      }
-<a class="jxr_linenumber" name="L90" href="#L90">90</a>  
-<a class="jxr_linenumber" name="L91" href="#L91">91</a>      <strong 
class="jxr_keyword">private</strong> String getAntFileName() {
-<a class="jxr_linenumber" name="L92" href="#L92">92</a>          <strong 
class="jxr_keyword">return</strong> 
getAntFile().getPath().replace('&#92;&#92;', '/');
-<a class="jxr_linenumber" name="L93" href="#L93">93</a>      }
-<a class="jxr_linenumber" name="L94" href="#L94">94</a>  
-<a class="jxr_linenumber" name="L95" href="#L95">95</a>      <strong 
class="jxr_keyword">private</strong> String getFirstLine(File pFile) <strong 
class="jxr_keyword">throws</strong> IOException {
-<a class="jxr_linenumber" name="L96" href="#L96">96</a>          
FileInputStream fis = <strong class="jxr_keyword">null</strong>;
-<a class="jxr_linenumber" name="L97" href="#L97">97</a>          
InputStreamReader reader = <strong class="jxr_keyword">null</strong>;
-<a class="jxr_linenumber" name="L98" href="#L98">98</a>          
BufferedReader breader = <strong class="jxr_keyword">null</strong>;
-<a class="jxr_linenumber" name="L99" href="#L99">99</a>          <strong 
class="jxr_keyword">try</strong> {
-<a class="jxr_linenumber" name="L100" href="#L100">100</a>             fis = 
<strong class="jxr_keyword">new</strong> FileInputStream(pFile);
-<a class="jxr_linenumber" name="L101" href="#L101">101</a>             reader 
= <strong class="jxr_keyword">new</strong> InputStreamReader(fis, <span 
class="jxr_string">"UTF8"</span>);
-<a class="jxr_linenumber" name="L102" href="#L102">102</a>             breader 
= <strong class="jxr_keyword">new</strong> BufferedReader(reader);
-<a class="jxr_linenumber" name="L103" href="#L103">103</a>             <strong 
class="jxr_keyword">final</strong> String result = breader.readLine();
-<a class="jxr_linenumber" name="L104" href="#L104">104</a>             
breader.close();
-<a class="jxr_linenumber" name="L105" href="#L105">105</a>             <strong 
class="jxr_keyword">return</strong> result;
-<a class="jxr_linenumber" name="L106" href="#L106">106</a>         } <strong 
class="jxr_keyword">finally</strong> {
-<a class="jxr_linenumber" name="L107" href="#L107">107</a>             
IOUtils.closeQuietly(fis);
-<a class="jxr_linenumber" name="L108" href="#L108">108</a>             
IOUtils.closeQuietly(reader);
-<a class="jxr_linenumber" name="L109" href="#L109">109</a>             
IOUtils.closeQuietly(breader);
-<a class="jxr_linenumber" name="L110" href="#L110">110</a>         }
-<a class="jxr_linenumber" name="L111" href="#L111">111</a>     }
-<a class="jxr_linenumber" name="L112" href="#L112">112</a> 
-<a class="jxr_linenumber" name="L113" href="#L113">113</a>     <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testAddLicenseHeaders() <strong class="jxr_keyword">throws</strong> Exception {
-<a class="jxr_linenumber" name="L114" href="#L114">114</a>         
executeTarget(<span class="jxr_string">"testAddLicenseHeaders"</span>);
-<a class="jxr_linenumber" name="L115" href="#L115">115</a> 
-<a class="jxr_linenumber" name="L116" href="#L116">116</a>         <strong 
class="jxr_keyword">final</strong> File origFile = <strong 
class="jxr_keyword">new</strong> File(<span 
class="jxr_string">"target/anttasks/it-sources/index.apt"</span>);
-<a class="jxr_linenumber" name="L117" href="#L117">117</a>         <strong 
class="jxr_keyword">final</strong> String origFirstLine = 
getFirstLine(origFile);
-<a class="jxr_linenumber" name="L118" href="#L118">118</a>         
assertTrue(origFirstLine.contains(<span class="jxr_string">"--"</span>));
-<a class="jxr_linenumber" name="L119" href="#L119">119</a>         
assertFalse(origFirstLine.contains(<span class="jxr_string">"~~"</span>));
-<a class="jxr_linenumber" name="L120" href="#L120">120</a>         <strong 
class="jxr_keyword">final</strong> File modifiedFile = <strong 
class="jxr_keyword">new</strong> File(<span 
class="jxr_string">"target/anttasks/it-sources/index.apt.new"</span>);
-<a class="jxr_linenumber" name="L121" href="#L121">121</a>         <strong 
class="jxr_keyword">final</strong> String modifiedFirstLine = 
getFirstLine(modifiedFile);
-<a class="jxr_linenumber" name="L122" href="#L122">122</a>         
assertFalse(modifiedFirstLine.contains(<span class="jxr_string">"--"</span>));
-<a class="jxr_linenumber" name="L123" href="#L123">123</a>         
assertTrue(modifiedFirstLine.contains(<span class="jxr_string">"~~"</span>));
-<a class="jxr_linenumber" name="L124" href="#L124">124</a>     }
-<a class="jxr_linenumber" name="L125" href="#L125">125</a> }
+<a class="jxr_linenumber" name="L69" href="#L69">69</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testCustomMatcher() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L70" href="#L70">70</a>          
executeTarget(<span class="jxr_string">"testCustomMatcher"</span>);
+<a class="jxr_linenumber" name="L71" href="#L71">71</a>          
assertLogDoesNotMatch(<span class="jxr_string">"AL +&#92;&#92;Q"</span> + 
getAntFileName() + <span class="jxr_string">"&#92;&#92;E"</span>);
+<a class="jxr_linenumber" name="L72" href="#L72">72</a>          
assertLogMatches(<span class="jxr_string">"EXMPL +&#92;&#92;Q"</span> + 
getAntFileName() + <span class="jxr_string">"&#92;&#92;E"</span>);
+<a class="jxr_linenumber" name="L73" href="#L73">73</a>      }
+<a class="jxr_linenumber" name="L74" href="#L74">74</a>  
+<a class="jxr_linenumber" name="L75" href="#L75">75</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testNoResources() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L76" href="#L76">76</a>          <strong 
class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="L77" href="#L77">77</a>              
executeTarget(<span class="jxr_string">"testNoResources"</span>);
+<a class="jxr_linenumber" name="L78" href="#L78">78</a>              
fail(<span class="jxr_string">"Expected Exception"</span>);
+<a class="jxr_linenumber" name="L79" href="#L79">79</a>          } <strong 
class="jxr_keyword">catch</strong> (BuildException e) {
+<a class="jxr_linenumber" name="L80" href="#L80">80</a>              <strong 
class="jxr_keyword">final</strong> String expect = <span 
class="jxr_string">"You must specify at least one file"</span>;
+<a class="jxr_linenumber" name="L81" href="#L81">81</a>              
assertTrue(<span class="jxr_string">"Expected "</span> + expect + <span 
class="jxr_string">", got "</span> + e.getMessage(),
+<a class="jxr_linenumber" name="L82" href="#L82">82</a>                      
e.getMessage().contains(expect));
+<a class="jxr_linenumber" name="L83" href="#L83">83</a>          }
+<a class="jxr_linenumber" name="L84" href="#L84">84</a>      }
+<a class="jxr_linenumber" name="L85" href="#L85">85</a>  
+<a class="jxr_linenumber" name="L86" href="#L86">86</a>      <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testNoLicenseMatchers() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L87" href="#L87">87</a>          <strong 
class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="L88" href="#L88">88</a>              
executeTarget(<span class="jxr_string">"testNoLicenseMatchers"</span>);
+<a class="jxr_linenumber" name="L89" href="#L89">89</a>              
fail(<span class="jxr_string">"Expected Exception"</span>);
+<a class="jxr_linenumber" name="L90" href="#L90">90</a>          } <strong 
class="jxr_keyword">catch</strong> (BuildException e) {
+<a class="jxr_linenumber" name="L91" href="#L91">91</a>              <strong 
class="jxr_keyword">final</strong> String expect = <span class="jxr_string">"at 
least one license"</span>;
+<a class="jxr_linenumber" name="L92" href="#L92">92</a>              
assertTrue(<span class="jxr_string">"Expected "</span> + expect + <span 
class="jxr_string">", got "</span> + e.getMessage(),
+<a class="jxr_linenumber" name="L93" href="#L93">93</a>                      
e.getMessage().contains(expect));
+<a class="jxr_linenumber" name="L94" href="#L94">94</a>          }
+<a class="jxr_linenumber" name="L95" href="#L95">95</a>      }
+<a class="jxr_linenumber" name="L96" href="#L96">96</a>  
+<a class="jxr_linenumber" name="L97" href="#L97">97</a>      <strong 
class="jxr_keyword">private</strong> String getAntFileName() {
+<a class="jxr_linenumber" name="L98" href="#L98">98</a>          <strong 
class="jxr_keyword">return</strong> 
getAntFile().getPath().replace('&#92;&#92;', '/');
+<a class="jxr_linenumber" name="L99" href="#L99">99</a>      }
+<a class="jxr_linenumber" name="L100" href="#L100">100</a> 
+<a class="jxr_linenumber" name="L101" href="#L101">101</a>     <strong 
class="jxr_keyword">private</strong> String getFirstLine(File pFile) <strong 
class="jxr_keyword">throws</strong> IOException {
+<a class="jxr_linenumber" name="L102" href="#L102">102</a>         
FileInputStream fis = <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="L103" href="#L103">103</a>         
InputStreamReader reader = <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="L104" href="#L104">104</a>         
BufferedReader breader = <strong class="jxr_keyword">null</strong>;
+<a class="jxr_linenumber" name="L105" href="#L105">105</a>         <strong 
class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="L106" href="#L106">106</a>             fis = 
<strong class="jxr_keyword">new</strong> FileInputStream(pFile);
+<a class="jxr_linenumber" name="L107" href="#L107">107</a>             reader 
= <strong class="jxr_keyword">new</strong> InputStreamReader(fis, <span 
class="jxr_string">"UTF8"</span>);
+<a class="jxr_linenumber" name="L108" href="#L108">108</a>             breader 
= <strong class="jxr_keyword">new</strong> BufferedReader(reader);
+<a class="jxr_linenumber" name="L109" href="#L109">109</a>             <strong 
class="jxr_keyword">final</strong> String result = breader.readLine();
+<a class="jxr_linenumber" name="L110" href="#L110">110</a>             
breader.close();
+<a class="jxr_linenumber" name="L111" href="#L111">111</a>             <strong 
class="jxr_keyword">return</strong> result;
+<a class="jxr_linenumber" name="L112" href="#L112">112</a>         } <strong 
class="jxr_keyword">finally</strong> {
+<a class="jxr_linenumber" name="L113" href="#L113">113</a>             
IOUtils.closeQuietly(fis);
+<a class="jxr_linenumber" name="L114" href="#L114">114</a>             
IOUtils.closeQuietly(reader);
+<a class="jxr_linenumber" name="L115" href="#L115">115</a>             
IOUtils.closeQuietly(breader);
+<a class="jxr_linenumber" name="L116" href="#L116">116</a>         }
+<a class="jxr_linenumber" name="L117" href="#L117">117</a>     }
+<a class="jxr_linenumber" name="L118" href="#L118">118</a> 
+<a class="jxr_linenumber" name="L119" href="#L119">119</a>     <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testAddLicenseHeaders() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L120" href="#L120">120</a>         
executeTarget(<span class="jxr_string">"testAddLicenseHeaders"</span>);
+<a class="jxr_linenumber" name="L121" href="#L121">121</a> 
+<a class="jxr_linenumber" name="L122" href="#L122">122</a>         <strong 
class="jxr_keyword">final</strong> File origFile = <strong 
class="jxr_keyword">new</strong> File(<span 
class="jxr_string">"target/anttasks/it-sources/index.apt"</span>);
+<a class="jxr_linenumber" name="L123" href="#L123">123</a>         <strong 
class="jxr_keyword">final</strong> String origFirstLine = 
getFirstLine(origFile);
+<a class="jxr_linenumber" name="L124" href="#L124">124</a>         
assertTrue(origFirstLine.contains(<span class="jxr_string">"--"</span>));
+<a class="jxr_linenumber" name="L125" href="#L125">125</a>         
assertFalse(origFirstLine.contains(<span class="jxr_string">"~~"</span>));
+<a class="jxr_linenumber" name="L126" href="#L126">126</a>         <strong 
class="jxr_keyword">final</strong> File modifiedFile = <strong 
class="jxr_keyword">new</strong> File(<span 
class="jxr_string">"target/anttasks/it-sources/index.apt.new"</span>);
+<a class="jxr_linenumber" name="L127" href="#L127">127</a>         <strong 
class="jxr_keyword">final</strong> String modifiedFirstLine = 
getFirstLine(modifiedFile);
+<a class="jxr_linenumber" name="L128" href="#L128">128</a>         
assertFalse(modifiedFirstLine.contains(<span class="jxr_string">"--"</span>));
+<a class="jxr_linenumber" name="L129" href="#L129">129</a>         
assertTrue(modifiedFirstLine.contains(<span class="jxr_string">"~~"</span>));
+<a class="jxr_linenumber" name="L130" href="#L130">130</a>     }
+<a class="jxr_linenumber" name="L131" href="#L131">131</a> 
+<a class="jxr_linenumber" name="L132" href="#L132">132</a>     <em 
class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L133" href="#L133">133</a> <em 
class="jxr_javadoccomment">     * Test correct generation of string result if 
non-UTF8 file.encoding is set.</em>
+<a class="jxr_linenumber" name="L134" href="#L134">134</a> <em 
class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L135" href="#L135">135</a>     <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testISO88591() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L136" href="#L136">136</a>         String 
origEncoding = overrideFileEncoding(<span 
class="jxr_string">"ISO-8859-1"</span>);
+<a class="jxr_linenumber" name="L137" href="#L137">137</a>         
executeTarget(<span class="jxr_string">"testISO88591"</span>);
+<a class="jxr_linenumber" name="L138" href="#L138">138</a>         
overrideFileEncoding(origEncoding);
+<a class="jxr_linenumber" name="L139" href="#L139">139</a>         
assertTrue(<span class="jxr_string">"Log should contain the test 
umlauts"</span>, getLog().contains(<span 
class="jxr_string">"\u00E4\u00F6\u00FC\u00C4\u00D6\u00DC\u00DF"</span>));
+<a class="jxr_linenumber" name="L140" href="#L140">140</a>     }
+<a class="jxr_linenumber" name="L141" href="#L141">141</a> 
+<a class="jxr_linenumber" name="L142" href="#L142">142</a>     <em 
class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="L143" href="#L143">143</a> <em 
class="jxr_javadoccomment">     * Test correct generation of XML file if 
non-UTF8 file.encoding is set.</em>
+<a class="jxr_linenumber" name="L144" href="#L144">144</a> <em 
class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="L145" href="#L145">145</a>     <strong 
class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> 
testISO88591WithFile() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="L146" href="#L146">146</a>         
Charset.defaultCharset();
+<a class="jxr_linenumber" name="L147" href="#L147">147</a>         String 
outputDir = System.getProperty(<span class="jxr_string">"output.dir"</span>, 
<span class="jxr_string">"target/anttasks"</span>);
+<a class="jxr_linenumber" name="L148" href="#L148">148</a>         String 
selftestOutput = System.getProperty(<span 
class="jxr_string">"report.file"</span>, outputDir + <span 
class="jxr_string">"/selftest.report"</span>);
+<a class="jxr_linenumber" name="L149" href="#L149">149</a>         String 
origEncoding = overrideFileEncoding(<span 
class="jxr_string">"ISO-8859-1"</span>);
+<a class="jxr_linenumber" name="L150" href="#L150">150</a>         
executeTarget(<span class="jxr_string">"testISO88591WithReportFile"</span>);
+<a class="jxr_linenumber" name="L151" href="#L151">151</a>         
overrideFileEncoding(origEncoding);
+<a class="jxr_linenumber" name="L152" href="#L152">152</a>         
DocumentBuilder db = DocumentBuilderFactory.newInstance().newDocumentBuilder();
+<a class="jxr_linenumber" name="L153" href="#L153">153</a>         
FileInputStream fis = <strong class="jxr_keyword">new</strong> 
FileInputStream(selftestOutput);
+<a class="jxr_linenumber" name="L154" href="#L154">154</a>         <strong 
class="jxr_keyword">boolean</strong> documentParsed = false;
+<a class="jxr_linenumber" name="L155" href="#L155">155</a>         <strong 
class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="L156" href="#L156">156</a>             
Document doc = db.parse(fis);
+<a class="jxr_linenumber" name="L157" href="#L157">157</a>             <strong 
class="jxr_keyword">boolean</strong> byteSequencePresent = 
doc.getElementsByTagName(<span class="jxr_string">"header-sample"</span>)
+<a class="jxr_linenumber" name="L158" href="#L158">158</a>                     
.item(0)
+<a class="jxr_linenumber" name="L159" href="#L159">159</a>                     
.getTextContent()
+<a class="jxr_linenumber" name="L160" href="#L160">160</a>                     
.contains(<span 
class="jxr_string">"\u00E4\u00F6\u00FC\u00C4\u00D6\u00DC\u00DF"</span>);
+<a class="jxr_linenumber" name="L161" href="#L161">161</a>             
assertTrue(<span class="jxr_string">"Report should contain test 
umlauts"</span>, byteSequencePresent);
+<a class="jxr_linenumber" name="L162" href="#L162">162</a>             
documentParsed = <strong class="jxr_keyword">true</strong>;
+<a class="jxr_linenumber" name="L163" href="#L163">163</a>         } <strong 
class="jxr_keyword">catch</strong> (Exception ex) {
+<a class="jxr_linenumber" name="L164" href="#L164">164</a>             
documentParsed = false;
+<a class="jxr_linenumber" name="L165" href="#L165">165</a>         } <strong 
class="jxr_keyword">finally</strong> {
+<a class="jxr_linenumber" name="L166" href="#L166">166</a>             
fis.close();
+<a class="jxr_linenumber" name="L167" href="#L167">167</a>         }
+<a class="jxr_linenumber" name="L168" href="#L168">168</a>         
assertTrue(<span class="jxr_string">"Report file could not be parsed as 
XML"</span>, documentParsed);
+<a class="jxr_linenumber" name="L169" href="#L169">169</a>     }
+<a class="jxr_linenumber" name="L170" href="#L170">170</a> 
+<a class="jxr_linenumber" name="L171" href="#L171">171</a>     <strong 
class="jxr_keyword">private</strong> String overrideFileEncoding(String 
newEncoding) {
+<a class="jxr_linenumber" name="L172" href="#L172">172</a>         String 
current = System.getProperty(<span class="jxr_string">"file.encoding"</span>);
+<a class="jxr_linenumber" name="L173" href="#L173">173</a>         
System.setProperty(<span class="jxr_string">"file.encoding"</span>, 
newEncoding);
+<a class="jxr_linenumber" name="L174" href="#L174">174</a>         
setBinaryGuesserCharset(newEncoding);
+<a class="jxr_linenumber" name="L175" href="#L175">175</a>         
clearDefaultCharset();
+<a class="jxr_linenumber" name="L176" href="#L176">176</a>         <strong 
class="jxr_keyword">return</strong> current;
+<a class="jxr_linenumber" name="L177" href="#L177">177</a>     }
+<a class="jxr_linenumber" name="L178" href="#L178">178</a> 
+<a class="jxr_linenumber" name="L179" href="#L179">179</a>     <strong 
class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> 
clearDefaultCharset() {
+<a class="jxr_linenumber" name="L180" href="#L180">180</a>         <strong 
class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="L181" href="#L181">181</a>             Field f 
= Charset.<strong class="jxr_keyword">class</strong>.getDeclaredField(<span 
class="jxr_string">"defaultCharset"</span>);
+<a class="jxr_linenumber" name="L182" href="#L182">182</a>             
f.setAccessible(<strong class="jxr_keyword">true</strong>);
+<a class="jxr_linenumber" name="L183" href="#L183">183</a>             
f.set(<strong class="jxr_keyword">null</strong>, <strong 
class="jxr_keyword">null</strong>);
+<a class="jxr_linenumber" name="L184" href="#L184">184</a>         } <strong 
class="jxr_keyword">catch</strong> (Exception ex) {
+<a class="jxr_linenumber" name="L185" href="#L185">185</a>             <em 
class="jxr_comment">// This is for unittesting - there is no good reason not to 
rethrow</em>
+<a class="jxr_linenumber" name="L186" href="#L186">186</a>             <em 
class="jxr_comment">// it. This could be happening in JDK 9, where the 
unittests need</em>
+<a class="jxr_linenumber" name="L187" href="#L187">187</a>             <em 
class="jxr_comment">// run with the java.base module opened</em>
+<a class="jxr_linenumber" name="L188" href="#L188">188</a>             <strong 
class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> 
RuntimeException(ex);
+<a class="jxr_linenumber" name="L189" href="#L189">189</a>         }
+<a class="jxr_linenumber" name="L190" href="#L190">190</a>     }
+<a class="jxr_linenumber" name="L191" href="#L191">191</a> 
+<a class="jxr_linenumber" name="L192" href="#L192">192</a>     <strong 
class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> 
setBinaryGuesserCharset(String charset) {
+<a class="jxr_linenumber" name="L193" href="#L193">193</a>         <strong 
class="jxr_keyword">try</strong> {
+<a class="jxr_linenumber" name="L194" href="#L194">194</a>             Field f 
= BinaryGuesser.<strong 
class="jxr_keyword">class</strong>.getDeclaredField(<span 
class="jxr_string">"CHARSET_FROM_FILE_ENCODING_OR_UTF8"</span>);
+<a class="jxr_linenumber" name="L195" href="#L195">195</a>             
f.setAccessible(<strong class="jxr_keyword">true</strong>);
+<a class="jxr_linenumber" name="L196" href="#L196">196</a>             
f.set(<strong class="jxr_keyword">null</strong>, Charset.forName(charset));
+<a class="jxr_linenumber" name="L197" href="#L197">197</a>         } <strong 
class="jxr_keyword">catch</strong> (Exception ex) {
+<a class="jxr_linenumber" name="L198" href="#L198">198</a>             <em 
class="jxr_comment">// This is for unittesting - there is no good reason not to 
rethrow</em>
+<a class="jxr_linenumber" name="L199" href="#L199">199</a>             <em 
class="jxr_comment">// it. This could be happening in JDK 9, where the 
unittests need</em>
+<a class="jxr_linenumber" name="L200" href="#L200">200</a>             <em 
class="jxr_comment">// run with the java.base module opened</em>
+<a class="jxr_linenumber" name="L201" href="#L201">201</a>             <strong 
class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> 
RuntimeException(ex);
+<a class="jxr_linenumber" name="L202" href="#L202">202</a>         }
+<a class="jxr_linenumber" name="L203" href="#L203">203</a>     }
+<a class="jxr_linenumber" name="L204" href="#L204">204</a> }
 </pre>
 <hr/>
-<div id="footer">Copyright &#169; 2006&#x2013;2016 <a 
href="http://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.</div>
+<div id="footer">Copyright &#169; 2006&#x2013;2018 <a 
href="https://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.</div>
 </body>
 </html>

http://git-wip-us.apache.org/repos/asf/creadur-site/blob/9736b609/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/package-frame.html
----------------------------------------------------------------------
diff --git 
a/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/package-frame.html 
b/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/package-frame.html
index a8efbf2..3bb6b9e 100644
--- a/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/package-frame.html
+++ b/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/package-frame.html
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
        <head>
                <meta http-equiv="content-type" content="text/html; 
charset=UTF-8" />
-               <title>Apache Creadur Rat::Tasks4Ant 0.13-SNAPSHOT Reference 
Package org.apache.rat.anttasks</title>
+               <title>Apache Creadur Rat::Tasks4Ant 0.13 Reference Package 
org.apache.rat.anttasks</title>
                <link rel="stylesheet" type="text/css" 
href="../../../../stylesheet.css" title="style" />
        </head>
        <body>

http://git-wip-us.apache.org/repos/asf/creadur-site/blob/9736b609/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/package-summary.html
----------------------------------------------------------------------
diff --git 
a/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/package-summary.html 
b/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/package-summary.html
index c85c1d6..d76a06a 100644
--- 
a/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/package-summary.html
+++ 
b/rat/apache-rat-tasks/xref-test/org/apache/rat/anttasks/package-summary.html
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
        <head>
                <meta http-equiv="content-type" content="text/html; 
charset=UTF-8" />
-               <title>Apache Creadur Rat::Tasks4Ant 0.13-SNAPSHOT Reference 
Package org.apache.rat.anttasks</title>
+               <title>Apache Creadur Rat::Tasks4Ant 0.13 Reference Package 
org.apache.rat.anttasks</title>
                <link rel="stylesheet" type="text/css" 
href="../../../../stylesheet.css" title="style" />
        </head>
        <body>
@@ -68,7 +68,7 @@
        </div>
                                <hr />
                <div id="footer">
-                       Copyright &#169; 2006&#x2013;2016 <a 
href="http://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.
+                       Copyright &#169; 2006&#x2013;2018 <a 
href="https://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.
                </div>
        </body>
 </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/creadur-site/blob/9736b609/rat/apache-rat-tasks/xref-test/org/example/LicenseFamily.html
----------------------------------------------------------------------
diff --git a/rat/apache-rat-tasks/xref-test/org/example/LicenseFamily.html 
b/rat/apache-rat-tasks/xref-test/org/example/LicenseFamily.html
index a32c9f0..f664a47 100644
--- a/rat/apache-rat-tasks/xref-test/org/example/LicenseFamily.html
+++ b/rat/apache-rat-tasks/xref-test/org/example/LicenseFamily.html
@@ -34,6 +34,6 @@
 <a class="jxr_linenumber" name="L26" href="#L26">26</a>  }
 </pre>
 <hr/>
-<div id="footer">Copyright &#169; 2006&#x2013;2016 <a 
href="http://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.</div>
+<div id="footer">Copyright &#169; 2006&#x2013;2018 <a 
href="https://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.</div>
 </body>
 </html>

http://git-wip-us.apache.org/repos/asf/creadur-site/blob/9736b609/rat/apache-rat-tasks/xref-test/org/example/Matcher.html
----------------------------------------------------------------------
diff --git a/rat/apache-rat-tasks/xref-test/org/example/Matcher.html 
b/rat/apache-rat-tasks/xref-test/org/example/Matcher.html
index a439382..6c9ad2c 100644
--- a/rat/apache-rat-tasks/xref-test/org/example/Matcher.html
+++ b/rat/apache-rat-tasks/xref-test/org/example/Matcher.html
@@ -45,6 +45,6 @@
 <a class="jxr_linenumber" name="L37" href="#L37">37</a>  }
 </pre>
 <hr/>
-<div id="footer">Copyright &#169; 2006&#x2013;2016 <a 
href="http://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.</div>
+<div id="footer">Copyright &#169; 2006&#x2013;2018 <a 
href="https://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.</div>
 </body>
 </html>

http://git-wip-us.apache.org/repos/asf/creadur-site/blob/9736b609/rat/apache-rat-tasks/xref-test/org/example/package-frame.html
----------------------------------------------------------------------
diff --git a/rat/apache-rat-tasks/xref-test/org/example/package-frame.html 
b/rat/apache-rat-tasks/xref-test/org/example/package-frame.html
index e61cb1e..d91d0bf 100644
--- a/rat/apache-rat-tasks/xref-test/org/example/package-frame.html
+++ b/rat/apache-rat-tasks/xref-test/org/example/package-frame.html
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
        <head>
                <meta http-equiv="content-type" content="text/html; 
charset=UTF-8" />
-               <title>Apache Creadur Rat::Tasks4Ant 0.13-SNAPSHOT Reference 
Package org.example</title>
+               <title>Apache Creadur Rat::Tasks4Ant 0.13 Reference Package 
org.example</title>
                <link rel="stylesheet" type="text/css" 
href="../../stylesheet.css" title="style" />
        </head>
        <body>

http://git-wip-us.apache.org/repos/asf/creadur-site/blob/9736b609/rat/apache-rat-tasks/xref-test/org/example/package-summary.html
----------------------------------------------------------------------
diff --git a/rat/apache-rat-tasks/xref-test/org/example/package-summary.html 
b/rat/apache-rat-tasks/xref-test/org/example/package-summary.html
index f64c1ab..d8de99f 100644
--- a/rat/apache-rat-tasks/xref-test/org/example/package-summary.html
+++ b/rat/apache-rat-tasks/xref-test/org/example/package-summary.html
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
        <head>
                <meta http-equiv="content-type" content="text/html; 
charset=UTF-8" />
-               <title>Apache Creadur Rat::Tasks4Ant 0.13-SNAPSHOT Reference 
Package org.example</title>
+               <title>Apache Creadur Rat::Tasks4Ant 0.13 Reference Package 
org.example</title>
                <link rel="stylesheet" type="text/css" 
href="../../stylesheet.css" title="style" />
        </head>
        <body>
@@ -68,7 +68,7 @@
        </div>
                                <hr />
                <div id="footer">
-                       Copyright &#169; 2006&#x2013;2016 <a 
href="http://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.
+                       Copyright &#169; 2006&#x2013;2018 <a 
href="https://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.
                </div>
        </body>
 </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/creadur-site/blob/9736b609/rat/apache-rat-tasks/xref-test/overview-frame.html
----------------------------------------------------------------------
diff --git a/rat/apache-rat-tasks/xref-test/overview-frame.html 
b/rat/apache-rat-tasks/xref-test/overview-frame.html
index 767b8ed..8c24a50 100644
--- a/rat/apache-rat-tasks/xref-test/overview-frame.html
+++ b/rat/apache-rat-tasks/xref-test/overview-frame.html
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
        <head>
                <meta http-equiv="content-type" content="text/html; 
charset=UTF-8" />
-               <title>Apache Creadur Rat::Tasks4Ant 0.13-SNAPSHOT 
Reference</title>
+               <title>Apache Creadur Rat::Tasks4Ant 0.13 Reference</title>
                <link rel="stylesheet" type="text/css" href="stylesheet.css" 
title="style" />
        </head>
        <body>

http://git-wip-us.apache.org/repos/asf/creadur-site/blob/9736b609/rat/apache-rat-tasks/xref-test/overview-summary.html
----------------------------------------------------------------------
diff --git a/rat/apache-rat-tasks/xref-test/overview-summary.html 
b/rat/apache-rat-tasks/xref-test/overview-summary.html
index 8710e8d..b6a776d 100644
--- a/rat/apache-rat-tasks/xref-test/overview-summary.html
+++ b/rat/apache-rat-tasks/xref-test/overview-summary.html
@@ -3,7 +3,7 @@
 <html xml:lang="en" lang="en">
        <head>
                <meta http-equiv="content-type" content="text/html; 
charset=UTF-8" />
-               <title>Apache Creadur Rat::Tasks4Ant 0.13-SNAPSHOT 
Reference</title>
+               <title>Apache Creadur Rat::Tasks4Ant 0.13 Reference</title>
                <link rel="stylesheet" type="text/css" href="stylesheet.css" 
title="style" />
        </head>
        <body>
@@ -24,7 +24,7 @@
                </ul>
        </div>
                
-                       <h2>Apache Creadur Rat::Tasks4Ant 0.13-SNAPSHOT 
Reference</h2>
+                       <h2>Apache Creadur Rat::Tasks4Ant 0.13 Reference</h2>
 
                <table class="summary">
                <thead>
@@ -65,7 +65,7 @@
                
                <hr />
                <div id="footer">
-                       Copyright &#169; 2006&#x2013;2016 <a 
href="http://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.
+                       Copyright &#169; 2006&#x2013;2018 <a 
href="https://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.
                </div>
        </body>
 </html>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/creadur-site/blob/9736b609/rat/apache-rat-tasks/xref/index.html
----------------------------------------------------------------------
diff --git a/rat/apache-rat-tasks/xref/index.html 
b/rat/apache-rat-tasks/xref/index.html
index dcb396a..74b6eda 100644
--- a/rat/apache-rat-tasks/xref/index.html
+++ b/rat/apache-rat-tasks/xref/index.html
@@ -4,7 +4,7 @@
 <!-- this is a JXR report set -->
        <head>
                <meta http-equiv="content-type" content="text/html; 
charset=UTF-8" />
-               <title>Apache Creadur Rat::Tasks4Ant 0.13-SNAPSHOT 
Reference</title>
+               <title>Apache Creadur Rat::Tasks4Ant 0.13 Reference</title>
        </head>
     <frameset cols="20%,80%">
                <frameset rows="30%,70%">

http://git-wip-us.apache.org/repos/asf/creadur-site/blob/9736b609/rat/apache-rat-tasks/xref/org/apache/rat/anttasks/FullTextLicenseMatcher.html
----------------------------------------------------------------------
diff --git 
a/rat/apache-rat-tasks/xref/org/apache/rat/anttasks/FullTextLicenseMatcher.html 
b/rat/apache-rat-tasks/xref/org/apache/rat/anttasks/FullTextLicenseMatcher.html
index 85fac98..c54bd18 100644
--- 
a/rat/apache-rat-tasks/xref/org/apache/rat/anttasks/FullTextLicenseMatcher.html
+++ 
b/rat/apache-rat-tasks/xref/org/apache/rat/anttasks/FullTextLicenseMatcher.html
@@ -79,6 +79,6 @@
 <a class="jxr_linenumber" name="L71" href="#L71">71</a>  }
 </pre>
 <hr/>
-<div id="footer">Copyright &#169; 2006&#x2013;2016 <a 
href="http://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.</div>
+<div id="footer">Copyright &#169; 2006&#x2013;2018 <a 
href="https://www.apache.org";>Apache Software Foundation</a>. All rights 
reserved.</div>
 </body>
 </html>

Reply via email to