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

neil_a_wilson
01.33.2007 25b79ff135301c3319b4b8211c72673ab118c955
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
opends/build-tools/src/org/opends/build/tools/CheckCopyrightDates.java 1 ●●●● patch | view | raw | blame | history
opends/build.xml 2 ●●●●● patch | view | raw | blame | history
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("!"))
    {
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>