Hi,
Siva wrote:
Dear Committers,
please run the following sources against the cleanse-sources target and
commit,because
they all have improper line endings.
Sounds like we need a line in CVSROOT/commitinfo.
Something like:
org/apache/geronimo/* $CVSROOT/CVSROOT/checkJava
where CVSROOT/checkJava is something like this:
---------cut here----------
#!/bin/bash
dir=$1
shift
function checkAJavaFile {
# need something here
}
exitStatus=0
while [ $# -gt 0 ]; do
file="$1";
shift;
case "$file" in
*.java)
if ! checkAJavaFile $file; then
echo "Please run cleanse-sources target on $file" 1>&2;
fi;
;;
esac;
done
exit $exitStatus
---------cut here-----------
This also needs debugging. Please ask if you agree in principle
and need more help.
Jim Wright
--
Recently completed - Child Brain Injury Trust Admin System
http://cbitdemo.paneris.org/
Urgently seeking paid work
Java, Linux, XML and much more.
http://be.webz.cz/