support for extra languages in cpd.sh

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@5994 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Xavier Le Vourch
2008-04-08 23:44:19 +00:00
parent 84cad6c1c4
commit e4fa5f88fe
3 changed files with 7 additions and 5 deletions

4
pmd/bin/cpd.sh Executable file → Normal file
View File

@ -55,8 +55,8 @@ case "$HEAPSIZE" in
esac
case "$LANGUAGE" in
cpp|c) ;;
*) echo "Language '$LANGUAGE' unknown (try: cpp, c)"
c|cpp|fortran|java|jsp|php|ruby) ;;
*) echo "Language '$LANGUAGE' unknown (try: c, cpp, fortran, java, jsp, php, ruby)"
exit 1
esac

View File

@ -5,7 +5,9 @@ Fixed bug 1928009 - Error using migration ruleset in PMD 4.2
Fixed bug 1932242 - EmptyMethodInAbstractClassShouldBeAbstract false +
ruleset.dtd and ruleset_xml_schema.xsd added to jar file in rulesets directory
Update RuleSetWriter to handle non-Apache TRAX implementations, add an option to not use XML Namespaces
bin and java14/bin scripts:
retroweaver version was not correct in java14/bin scripts
support for extra languages in cpd.sh
March 25, 2008 - 4.2:

View File

@ -63,8 +63,8 @@ case "$HEAPSIZE" in
esac
case "$LANGUAGE" in
cpp|c) ;;
*) echo "Language '$LANGUAGE' unknown (try: cpp, c)"
c|cpp|fortran|java|jsp|php|ruby) ;;
*) echo "Language '$LANGUAGE' unknown (try: c, cpp, fortran, java, jsp, php, ruby)"
exit 1
esac