mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Ludovic Poitou
06.27.2010 c032e5d7758d682fa2a4b552758617c7a74a0076
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.
1 files added
1 files modified
26 ■■■■■ changed files
opendj-sdk/opends/ext/checkstyle/opendj.sourceheader 22 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/ext/checkstyle/opends-checkstyle.xml 4 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/ext/checkstyle/opendj.sourceheader
New file
@@ -0,0 +1,22 @@
^/\*$
^ \* CDDL HEADER START$
^ \*$
^ \* The contents of this file are subject to the terms of the$
^ \* Common Development and Distribution License, Version 1.0 only$
^ \* \(the "License"\).  You may not use this file except in compliance$
^ \* with the License.$
^ \*$
^ \* You can obtain a copy of the license at$
^ \* trunk/opends/resource/legal-notices/(OpenDS.LICENSE|CDDLv1_0.txt)$
^ \* or (https://OpenDS.dev.java.net/OpenDS.LICENSE|http://forgerock.org/license/CDDLv1.0.html).$
^ \* See the License for the specific language governing permissions$
^ \* and limitations under the License.$
^ \*
^ \* When distributing Covered Code, include this CDDL HEADER in each$
^ \* file and include the License file at$
^ \* trunk/opends/resource/legal-notices/(OpenDS.LICENSE|CDDLv1_0.txt).  If applicable,$
^ \* add the following below this CDDL HEADER, with the fields enclosed$
^ \* by brackets "\[\]" replaced with your own identifying information:$
^ \*      Portions Copyright \[yyyy\] \[name of copyright owner\]$
^ \*$
^ \* CDDL HEADER END$
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>