From c032e5d7758d682fa2a4b552758617c7a74a0076 Mon Sep 17 00:00:00 2001
From: Ludovic Poitou <ludovic.poitou@forgerock.com>
Date: Mon, 06 Dec 2010 16:27:18 +0000
Subject: [PATCH] Update checkstyle ant task to work with both OpenDS and OpenDJ style of headers. Both are similar, but OpenDJ headers are pointing to CDDLv1 files (.txt or .html on ForgeRock web site) rather than OpenDS branded license files.

---
 opendj-sdk/opends/ext/checkstyle/opends-checkstyle.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/opendj-sdk/opends/ext/checkstyle/opends-checkstyle.xml b/opendj-sdk/opends/ext/checkstyle/opends-checkstyle.xml
index bd8582b..8797d72 100644
--- a/opendj-sdk/opends/ext/checkstyle/opends-checkstyle.xml
+++ b/opendj-sdk/opends/ext/checkstyle/opends-checkstyle.xml
@@ -9,8 +9,8 @@
     <property name="cacheFile" value="${basedir}/.checkstyle-cache/opends-checkstyle.cache" />
 
     <!-- Ensure that each source file starts with the appropriate header -->
-    <module name="Header">
-      <property name="headerFile" value="${basedir}/ext/checkstyle/opends.sourceheader" />
+    <module name="RegexpHeader">
+      <property name="headerFile" value="${basedir}/ext/checkstyle/opendj.sourceheader" />
     </module>
 
 

--
Gitblit v1.10.0