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.
| | |
| | | lowerLine.startsWith("*") || |
| | | lowerLine.startsWith("//") || |
| | | lowerLine.startsWith("#") || |
| | | lowerLine.startsWith("rem") || |
| | | lowerLine.startsWith("<!--") || |
| | | lowerLine.startsWith("!")) |
| | | { |
| | |
| | | <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> |
| | | |
| | |
| | | <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> |
| | | |