From a82f103c5920e16b7b840036a3c031c2ffd089fd Mon Sep 17 00:00:00 2001 From: markt Date: Sat, 11 Dec 2010 20:38:42 +0000 Subject: [PATCH] Add import-control checks to Checkstyle (these found the recent dependency issues) Move checkstyle config to res/checkstyle to stop it cluttering up the root git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1044710 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 14 +++- checkstyle.xml => res/checkstyle/checkstyle.xml | 0 res/checkstyle/javax-checkstyle.xml | 33 ++++++++ res/checkstyle/javax-import-control.xml | 50 ++++++++++++ res/checkstyle/org-checkstyle.xml | 33 ++++++++ res/checkstyle/org-import-control.xml | 102 ++++++++++++++++++++++++ 6 files changed, 231 insertions(+), 1 deletion(-) rename checkstyle.xml => res/checkstyle/checkstyle.xml (100%) create mode 100644 res/checkstyle/javax-checkstyle.xml create mode 100644 res/checkstyle/javax-import-control.xml create mode 100644 res/checkstyle/org-checkstyle.xml create mode 100644 res/checkstyle/org-import-control.xml diff --git a/build.xml b/build.xml index 06a22aa60..6c1a85c0d 100644 --- a/build.xml +++ b/build.xml @@ -424,7 +424,7 @@ - + @@ -438,6 +438,18 @@ + + + + + + + + + + + + diff --git a/checkstyle.xml b/res/checkstyle/checkstyle.xml similarity index 100% rename from checkstyle.xml rename to res/checkstyle/checkstyle.xml diff --git a/res/checkstyle/javax-checkstyle.xml b/res/checkstyle/javax-checkstyle.xml new file mode 100644 index 000000000..23d510132 --- /dev/null +++ b/res/checkstyle/javax-checkstyle.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/checkstyle/javax-import-control.xml b/res/checkstyle/javax-import-control.xml new file mode 100644 index 000000000..2150ae208 --- /dev/null +++ b/res/checkstyle/javax-import-control.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/checkstyle/org-checkstyle.xml b/res/checkstyle/org-checkstyle.xml new file mode 100644 index 000000000..12da6656e --- /dev/null +++ b/res/checkstyle/org-checkstyle.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/res/checkstyle/org-import-control.xml b/res/checkstyle/org-import-control.xml new file mode 100644 index 000000000..ea23ff999 --- /dev/null +++ b/res/checkstyle/org-import-control.xml @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- 2.11.0