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

neil_a_wilson
01.33.2007 af414ae3d110252d90e5505684408ce1ddcefc56
Update the CheckCopyrightDates utility to include lines starting with "rem"
(as used in Windows batch files) as comment lines. Also, update both the
CheckCopyrightDates and CheckEOLStyle configuration so that the shell scripts
in the resource/bin directory get checked even though they don't contain a
".sh" extension.
2 files modified
3 ■■■■■ changed files
opendj-sdk/opends/build-tools/src/org/opends/build/tools/CheckCopyrightDates.java 1 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/build.xml 2 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/build-tools/src/org/opends/build/tools/CheckCopyrightDates.java
@@ -283,6 +283,7 @@
        lowerLine.startsWith("*") ||
        lowerLine.startsWith("//") ||
        lowerLine.startsWith("#") ||
        lowerLine.startsWith("rem") ||
        lowerLine.startsWith("<!--") ||
        lowerLine.startsWith("!"))
    {
opendj-sdk/opends/build.xml
@@ -278,6 +278,7 @@
      <fileset dir="${basedir}" includes="**/*.bat" excludes="build/**/* " />
      <fileset dir="${basedir}" includes="**/*.ldif" excludes="build/**/*" />
      <fileset dir="${basedir}" includes="**/*.txt" excludes="build/**/*" />
      <fileset dir="${scripts.dir}" includes="**/*" />
    </checkcopyrightdates>
  </target>
@@ -307,6 +308,7 @@
      <fileset dir="${basedir}" includes="**/*.bat" excludes="build/**/* " />
      <fileset dir="${basedir}" includes="**/*.ldif" excludes="build/**/*" />
      <fileset dir="${basedir}" includes="**/*.txt" excludes="build/**/*" />
      <fileset dir="${scripts.dir}" includes="**/*" />
    </checkeolstyle>
  </target>