debian/0000775000000000000000000000000012334414423007170 5ustar debian/checkstyle-doc.javadoc0000664000000000000000000000002512165061570013422 0ustar target/site/apidocs/ debian/wrappers/0000775000000000000000000000000012334414372011036 5ustar debian/wrappers/checkstyle0000775000000000000000000000042712334414372013125 0ustar #!/bin/sh # Include the wrappers utility script . /usr/lib/java-wrappers/java-wrappers.sh find_java_runtime default sunmin5 find_jars antlr commons-beanutils commons-collections3 guava commons-cli commons-logging checkstyle run_java com.puppycrawl.tools.checkstyle.Main "$@" debian/README.Debian0000664000000000000000000000125012165061570011232 0ustar checkstyle for Debian --------------------- USAGE: ------ Do not forget to set your CLASSPATH variable to match the correct requirements to use this library: antlrall.jar regexp.jar commons-collections.jar commons-cli.jar commons-beanutils.jar commons-logging.jar If you did install checkstyle, you already have the correct dependencies. You'll find all the necessary packages in '/usr/share/java'. -- Arnaud Vandyck , Fri Jun 4 13:39:14 2004 Wrapper was added in version 4.4+dfsg-2: /usr/bin/checkstyle [options] There is no need to set CLASSPATH manually anymore. -- Dominik Smatana Thu, 26 Mar 2009 19:52:23 +0100 debian/copyright0000664000000000000000000001152612165061570011133 0ustar This package was debianized by Arnaud Vandyck on Fri, 6 Feb 2004 20:49:32 +0100. It was downloaded from http://checkstyle.sourceforge.net/ Upstream Authors: Oliver Burn , Lars Kühne , Oleg Sukhodolsky , Rick Giles . Files: * Copyright: © 2001-2010, Oliver Burn License: LGPL-2.1 The full text of the GNU Lesser General Public License is distributed in /usr/share/common-licenses/LGPL-2.1 on Debian systems. Files: contrib/checkstyle-frames-errors.xsl, contrib/checkstyle-frames.xsl Copyright: © The Apache Software Foundation. License: Apache-1.1 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. The end-user documentation included with the redistribution, if any, must include the following acknowlegement: "This product includes software developed by the Apache Software Foundation (http://www.apache.org/)." Alternately, this acknowlegement may appear in the software itself, if and wherever such third-party acknowlegements normally appear. 4. The names "The Jakarta Project", "Ant", and "Apache Software Foundation" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact apache@apache.org. 5. Products derived from this software may not be called "Apache" nor may "Apache" appear in their names without prior written permission of the Apache Group. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: contrib/usage/src/checkstyle/com/puppycrawl/tools/checkstyle/checks/usage/transmogrify/* Copyright: © 2001, ThoughtWorks, Inc. License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - Neither the name of the ThoughtWorks, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: © 2004, Arnaud Vandyck , © 2005-2006, Wolfgang Baer , © 2005-2009, Michael Koch , © 2007, Paul Cager , © 2008-2009, Dominik Smatana , © 2010, Torsten Werner , © 2010-2011, Miguel Landaeta License: LGPL-2.1 The full text of the GNU Lesser General Public License is distributed in /usr/share/common-licenses/LGPL-2.1 on Debian systems. debian/maven.publishedRules0000664000000000000000000000000112207421111013170 0ustar debian/classpath0000664000000000000000000000030212165061570011073 0ustar debian/checkstyle/usr/share/java/checkstyle.jar /usr/share/java/antlr.jar /usr/share/java/commons-beanutils.jar /usr/share/java/commons-cli.jar /usr/share/java/guava.jar /usr/share/java/ant.jar debian/changelog0000664000000000000000000001775712334414423011063 0ustar checkstyle (5.6-2ubuntu0.1) trusty; urgency=medium * Update the wrapper script to include the libcommons-collections3 jar library (LP: #1308794) * Add libcommons-collection3-java as a dependency -- Saikrishna Arcot Wed, 16 Apr 2014 21:58:42 -0400 checkstyle (5.6-2build1) trusty; urgency=medium [ Leo Iannacone ] * Rebuild against new ant (LP: #1275286). -- Dmitry Shachnev Sun, 09 Mar 2014 13:56:05 +0400 checkstyle (5.6-2) unstable; urgency=low * Disabled tests that require internet access, which may not be available on the build machines. Thanks to Andreas Moog. (Closes: #714109, LP: #1217909) -- Emmanuel Bourg Wed, 28 Aug 2013 18:26:59 +0200 checkstyle (5.6-1) unstable; urgency=low * New upstream release * Refreshed the patch * Replaced the dependency on Google Collections by Guava * Removed the build dependency on libmaven-cobertura-plugin-java * Removed the build dependency on libmaven-exec-plugin-java * Updated Standards-Version to 3.9.4 (no changes) * debian/rules: Changed the get-orig-source target to fetch the current version instead of the most recent version * Use canonical URLs for the Vcs-* fields -- Emmanuel Bourg Mon, 17 Jun 2013 11:29:36 +0200 checkstyle (5.4-2) unstable; urgency=low * Fix FTBFS bug by adding --java-lib flag on m-d-h. (Closes: #652232). * Remove Michael Koch from Uploaders list. Thanks for your work on this package. (Closes: #654002). * Bump Standards-Version to 3.9.3. No changes were required. -- Miguel Landaeta Sat, 09 Jun 2012 20:44:27 -0430 checkstyle (5.4-1) unstable; urgency=low [ tony mancill ] * Adjust java-wrappers invocation (Closes: #620868). [ Miguel Landaeta ] * New upstream release. * Fix FTBFS due to changes introduced with Ant 1.8.2. (Closes: #634574). * Add optional dependency on java5-runtime-headless. * Refresh patches. * Bump Standards-Version to 3.9.2. No changes were required. -- Miguel Landaeta Wed, 20 Jul 2011 19:33:52 -0430 checkstyle (5.3-2) unstable; urgency=low * Upload to unstable. * Add Build-Depends on default-jdk-doc and link javadoc to system javadocs. * Update copyright dates. -- Miguel Landaeta Sat, 12 Feb 2011 15:59:42 -0500 checkstyle (5.3-1) experimental; urgency=low * New upstream release. (Closes: #554610). * Remove inactive maintainers and add myself to Uploaders. Thanks to previous maintainers for the work on this package. * Switch build system from Ant to Maven + Javahelper. * Rework Build-Depends and Depends. * Bump Standards-Version to 3.9.1. No changes were required. * Bump debhelper compatibility level to 7. * Set debian package source format to 3.0 (quilt). * Add dependencies to classpath. (Closes: #557673). * Update watch file. * Add manpage. * Remove patches since they are no longer necessary. * Update copyright file. * Update description. (Closes: #554606). * Put Javadoc and examples files in a separate package. -- Miguel Landaeta Sun, 12 Dec 2010 20:21:01 -0430 checkstyle (5.0+dfsg-1) UNRELEASED; urgency=low * New upstream version. * Reworked Build-Depends. * Cleaned up debian/rules. * Remove automatic update feature from watch file. -- Michael Koch Sun, 27 Sep 2009 11:25:29 +0200 checkstyle (4.4+dfsg-5) unstable; urgency=high * Switch to fromdos and todos which fixes a FTBFS. (Closes: #569424) -- Torsten Werner Thu, 11 Feb 2010 21:48:55 +0100 checkstyle (4.4+dfsg-4) unstable; urgency=low [ Dominik Smatana ] * debian/control - fixed override disparity (Section: java) [ Michael Koch ] * Build-Depend on libjdom1-java instead of libjdom0-java. (Closes: #543069). * Added '${misc:Depends}' to Depends of checkstyle. * Updated Standards-Version to 3.8.3. -- Michael Koch Sun, 06 Sep 2009 23:15:01 +0200 checkstyle (4.4+dfsg-2) unstable; urgency=low [ Dominik Smatana ] * Added wrapper for checkstyle.jar (closes: #512149) * Updated to standards version 3.8.0 [ Michael Koch ] * Fixed watch file to match current version scheme also. * Use uscan sf.net helper for SourceForge. Fixes upstream checking. -- Dominik Smatana Thu, 26 Mar 2009 20:10:10 +0100 checkstyle (4.4+dfsg-1) unstable; urgency=low * New upstream release. * Updated to standards version 3.7.3 -- Paul Cager Sat, 29 Dec 2007 21:14:13 +0000 checkstyle (4.3+dfsg1-2) unstable; urgency=low * Include sun_checks.xml and checkstyle_checks.xml (Closes: #451802) * Use Vcs-Browser and Vcs-Svn fields. -- Paul Cager Sun, 18 Nov 2007 21:41:24 +0000 checkstyle (4.3+dfsg1-1) unstable; urgency=low [ Paul Cager ] * New upstream release. (Closes: #433350) * FTBFS: Illegal class or package name. Now built with GIJ and new Ant. (Closes: #432540) * New version of checkstyle compatible with antlr 2.7.6 (see upstream change log). (Closes: #305325) * Added Homepage, XS-Vcs-Svn and XS-Vcs-Browser tags. * Ships additional files. (Closes: #434316) * compat version 5 (no changes necessary). [ Michael Koch ] * Updated watch file. -- Michael Koch Fri, 12 Oct 2007 07:31:11 +0200 checkstyle (4.1+dfsg-1) unstable; urgency=high * Removed third-party Jars in the orig source tarball (Closes #383791). * Added myself to uploaders. * Added dos2unix conversion for build.xml (as patches are stored in svn, and so lose CrLf line terminators). tofrodos added to Build-Depends-Indep. -- Paul Cager Thu, 1 Feb 2007 23:41:01 +0000 checkstyle (4.1-1) unstable; urgency=low * New upstream release. - Updated debian/patches/00_build_xml.patch. * Updated watch file. -- Michael Koch Wed, 25 Jan 2006 08:53:26 +0000 checkstyle (3.4-9) unstable; urgency=low * libant1.6-java to ant transition * Increased debhelper dependency to make linda happy * Removed explicit dependencies to gjdoc, jikes - handled by kaffe * Added myself to uploaders * Fixed FSF address in copyright * Standards-Version 3.6.2 (no changes) -- Wolfgang Baer Sat, 01 Oct 2005 19:22:52 +0200 checkstyle (3.4-8) unstable; urgency=low * Include checkstyle-optional.jar (Closes: #270959). * Fixed watch file. -- Michael Koch Mon, 4 Apr 2005 05:31:08 +0000 checkstyle (3.4-7) unstable; urgency=low * Build-Depend on cdbs (Closes: #301471). -- Michael Koch Sat, 26 Mar 2005 16:33:02 +0000 checkstyle (3.4-6) unstable; urgency=low * Build-Depend on >= gjdoc 0.7.2. * Use unversioned com-sun-javadoc.jar. * Build-Depend and Depend on kaffe >= 2:1.1.4.PRECVS8-2. -- Michael Koch Wed, 9 Mar 2005 15:59:08 +0000 checkstyle (3.4-5) unstable; urgency=low * Fixed debian/patches/00_build_xml.patch to call native2ascii correctly. -- Michael Koch Sat, 5 Mar 2005 12:55:28 +0000 checkstyle (3.4-4) unstable; urgency=low * Moved to main. * Build package with kaffe. * Cleaned up Build-Depends. * Use libant1.6-java for building instead of libant1.5 and ant. * Added debian/patches/00_build_xml.patch. * Revisited debian/README.Debian. * Added myself to Uploaders. -- Michael Koch Tue, 1 Mar 2005 07:57:45 +0000 checkstyle (3.4-3) unstable; urgency=low * change the install script/file, now /usr/share/java/checkstyle-3.4.jar is no more a directory (closes: #265657). * debian/watch: added. -- Arnaud Vandyck Sun, 15 Aug 2004 02:24:22 +0200 checkstyle (3.4-2) unstable; urgency=low * added a better description -- Arnaud Vandyck Sun, 20 Jun 2004 12:50:50 +0200 checkstyle (3.4-1) unstable; urgency=low * Initial Release (closes: #221892). -- Arnaud Vandyck Fri, 4 Jun 2004 14:29:46 +0200 debian/rules0000775000000000000000000000115412165061570010254 0ustar #!/usr/bin/make -f # debian/rules for checkstyle (uses CDBS) # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/maven.mk JAVA_HOME := /usr/lib/jvm/default-java DEB_COMPRESS_EXCLUDE_ALL := .xsl .java .xml DEB_MAVEN_DOC_TARGET := javadoc:javadoc build/checkstyle:: pod2man -c '' -r '' debian/checkstyle.pod > target/checkstyle.1 install/checkstyle:: jh_classpath jh_installjavadoc clean:: jh_clean -rm -rf debian/null get-orig-source: uscan --verbose --rename --force-download --download-version $(DEB_UPSTREAM_VERSION) debian/checkstyle-doc.examples0000664000000000000000000000004112165061570013627 0ustar contrib/examples/* contrib/hooks debian/clean0000664000000000000000000000003612165061570010177 0ustar mvn-build target/checkstyle.1 debian/source/0000775000000000000000000000000012165061570010473 5ustar debian/source/format0000664000000000000000000000001412165061570011701 0ustar 3.0 (quilt) debian/maven.rules0000664000000000000000000000060612207421111011343 0ustar antlr antlr jar s/2\..*/2.x/ * * commons-beanutils commons-beanutils jar s/.*/debian/ * * junit junit jar s/4\..*/4.x/ * * commons-beanutils s/commons-beanutils-core/commons-beanutils/ * s/.*/debian/ * * org.apache.ant s/ant-nodeps/ant/ * s/.*/debian/ * * s/ant/org.apache.ant/ * * s/.*/debian/ * * s/com.google.collections/com.google.guava/ s/google-collections/guava/ * s/.*/debian/ * * debian/control0000664000000000000000000000521712334414372010603 0ustar Source: checkstyle Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Miguel Landaeta , Emmanuel Bourg Build-Depends: ant-optional, cdbs, debhelper (>= 7), default-jdk, javahelper Build-Depends-Indep: antlr (>= 2.7.6), default-jdk-doc, junit4 (>= 4.8), libantlr-maven-plugin-java, libcommons-beanutils-java (>= 1.5), libcommons-collections3-java, libcommons-cli-java, libguava-java, libmaven-antrun-plugin-java (>= 1.6), libmaven-enforcer-plugin-java, libmaven-javadoc-plugin-java, maven-debian-helper (>= 1.0), maven-repo-helper (>= 1.1) Standards-Version: 3.9.4 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/checkstyle Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/checkstyle Homepage: http://checkstyle.sourceforge.net Package: checkstyle Architecture: all Depends: antlr, default-jre-headless | java7-runtime-headless, java-wrappers (>= 0.1.6), libcommons-beanutils-java (>= 1.5), libcommons-cli-java, libcommons-logging-java, libguava-java (>= 1.0~rc2), ${misc:Depends} Suggests: ant-optional, junit4, ${maven:OptionalDepends} Description: checks Java source against a coding standard Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. It automates the process of checking Java code to spare humans of this boring (but important) task. This makes it ideal for projects that want to enforce a coding standard. . Checkstyle is highly configurable and can be made to support almost any coding standard. An example configuration file is supplied supporting the Sun Code Conventions. Package: checkstyle-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: default-jdk-doc Description: Documentation for Checkstyle Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. It automates the process of checking Java code to spare humans of this boring (but important) task. This makes it ideal for projects that want to enforce a coding standard. . Checkstyle is highly configurable and can be made to support almost any coding standard. An example configuration file is supplied supporting the Sun Code Conventions. . This package contains the Javadoc files and some examples to illustrate how use the Checkstyle tool. debian/maven.cleanIgnoreRules0000664000000000000000000000000112207421111013437 0ustar debian/checkstyle.pod0000664000000000000000000000233012165061570012033 0ustar =head1 NAME checkstyle - static code analysis tool to check if Java source code complies with coding rules =head1 SYNOPSIS checkstyle -c configurationFile [options] [file] =head1 OVERVIEW Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. It automates the process of checking Java code to spare humans of this boring (but important) task. This makes it ideal for projects that want to enforce a coding standard. Checkstyle is highly configurable and can be made to support almost any coding standard. For information about Checkstyle, it can be found at http://checkstyle.sourceforge.net/. =head1 OPTIONS =over 2 =item B> Specify the Java source code file to check. =item B<-c I> Specify the file that configures the checks to apply. =item B<-f I> Specify the output format. Options are "plain" for the DefaultLogger and "xml" for the XMLLogger. Defaults to "plain". =item B<-p I> Specify a properties file to use. =item B<-o I> Specify the file to output to. =item B<-r I> Specify the directory to traverse for Java source files. =back =head1 SEE ALSO http://checkstyle.sourceforge.net/cmdline.html debian/install0000664000000000000000000000027312165061570010566 0ustar checkstyle_checks.xml usr/share/checkstyle/ contrib/*.xsl usr/share/checkstyle/xsl/ debian/wrappers/checkstyle usr/bin/ sun_checks.xml usr/share/checkstyle/ debian/manpages0000664000000000000000000000002412165061570010705 0ustar target/checkstyle.1 debian/compat0000664000000000000000000000000212165061570010371 0ustar 7 debian/watch0000664000000000000000000000011512165061570010221 0ustar version=3 http://sf.net/checkstyle/checkstyle-([\d+\.]+)-src\.tar\.gz debian debian/docs0000664000000000000000000000000712165061570010043 0ustar README debian/patches/0000775000000000000000000000000012207422036010615 5ustar debian/patches/01_link_to_system_javadocs.diff0000664000000000000000000000113512165061570016671 0ustar Description: Link javadocs to default-jdk-doc Author: Miguel Landaeta Forwarded: no Last-Update: 2011-07-19 --- a/pom.xml +++ b/pom.xml @@ -400,6 +400,12 @@ 2.8 1.5 + + + file:///usr/share/doc/default-jdk-doc/api/ + file:///usr/share/doc/default-jdk-doc/api/ + + debian/patches/series0000664000000000000000000000012512207420532012027 0ustar 01_link_to_system_javadocs.diff 02_ignore_tests_requiring_internet_connectivity.diff debian/patches/02_ignore_tests_requiring_internet_connectivity.diff0000664000000000000000000000137012207422036023251 0ustar Description: Disables the tests requiring an Internet connectivity and causing a build failure on disconnected machines. Author: Emmanuel Bourg Forwarded: not-needed Bug-Debian: http://bugs.debian.org/714109 --- a/src/tests/com/puppycrawl/tools/checkstyle/filters/SuppressionsLoaderTest.java +++ b/src/tests/com/puppycrawl/tools/checkstyle/filters/SuppressionsLoaderTest.java @@ -56,6 +56,7 @@ } @Test + @org.junit.Ignore public void testLoadFromURL() throws CheckstyleException { final FilterSet fc = SuppressionsLoader.loadSuppressions("http://checkstyle.hg.sourceforge.net/hgweb/checkstyle/checkstyle/raw-file/055e288619a5/src/testinputs/com/puppycrawl/tools/checkstyle/suppressions_none.xml"); debian/maven.ignoreRules0000664000000000000000000000031412207421111012503 0ustar org.apache.maven.plugins maven-eclipse-plugin * * * * org.apache.maven.plugins maven-linkcheck-plugin * * * * org.codehaus.mojo cobertura-maven-plugin * * * * org.codehaus.mojo exec-maven-plugin * * * * debian/checkstyle.poms0000664000000000000000000000317312207421111012221 0ustar # List of POM files for the package # Format of this file is: # [option]* # where option can be: # --ignore: ignore this POM and its artifact if any # --ignore-pom: don't install the POM. To use on POM files that are created # temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] # --no-parent: remove the tag from the POM # --package=: an alternative package to use when installing this POM # and its artifact # --has-package-version: to indicate that the original version of the POM is the same as the upstream part # of the version for the package. # --keep-elements=: a list of XML elements to keep in the POM # during a clean operation with mh_cleanpom or mh_installpom # --artifact=: path to the build artifact associated with this POM, # it will be installed when using the command mh_install. [mh_install] # --java-lib: install the jar into /usr/share/java to comply with Debian # packaging guidelines # --usj-name=: name to use when installing the library in /usr/share/java # --usj-version=: version to use when installing the library in /usr/share/java # --no-usj-versionless: don't install the versionless link in /usr/share/java # --dest-jar=: the destination for the real jar. # It will be installed with mh_install. [mh_install] # --classifier=: Optional, the classifier for the jar. Empty by default. # --site-xml=: Optional, the location for site.xml if it needs to be installed. # Empty by default. [mh_install] # pom.xml --no-parent --java-lib