From cbf1a5ea4417855b2fc68f78273f580a55e20567 Mon Sep 17 00:00:00 2001 From: Ole-Martin Mork Date: Mon, 28 Oct 2002 22:36:20 +0000 Subject: [PATCH] Adding files to the project git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@1165 51baf565-9d33-0410-a72c-fc3788e3496d --- pmd-netbeans/LICENSE.txt | 24 ++++++++++++ pmd-netbeans/README.txt | 34 ++++++++++++++++ pmd-netbeans/build.xml | 83 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 141 insertions(+) create mode 100644 pmd-netbeans/LICENSE.txt create mode 100644 pmd-netbeans/README.txt create mode 100644 pmd-netbeans/build.xml diff --git a/pmd-netbeans/LICENSE.txt b/pmd-netbeans/LICENSE.txt new file mode 100644 index 0000000000..7264bd5e14 --- /dev/null +++ b/pmd-netbeans/LICENSE.txt @@ -0,0 +1,24 @@ +Copyright (c) 2002, Ole-Martin Mørk +All rights reserved. + +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. + +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 REGENTS 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. diff --git a/pmd-netbeans/README.txt b/pmd-netbeans/README.txt new file mode 100644 index 0000000000..d3c0008c26 --- /dev/null +++ b/pmd-netbeans/README.txt @@ -0,0 +1,34 @@ +PMD for netbeans. + +------------------------ +INSTALL +------------------------ + +Start netbeans and goto Tools\Update Center and choose +"Install Manually Downloaded Modules(.nbm Files). Press Next, Add... and go to +the directory where you downloaded pmd-netbeans and choose the file pmd.nbm. +Press Next, accept the license and choose to include the pmd module. Press +Finish, restart the IDE and you're done :) + + +------------------------ +USE +------------------------ + +Right click on a folder or a java file, choose tools, PMD and watch the tool +find your flawes. The tool is also located under the global tools menu. Double +click on the errormessages in the output pane to go to the line in the +java-file to correct the problem PMD discovered. + +------------------------ +OPTIONS +------------------------ + +Go to Options/IDE Configuration/Server And External Tool Settings/PMD Settings +to choose which rulesets to use. Go to the PMD documentation to learn more about +rulesets. + +------------------------ +KNOWN BUGS +------------------------ +NullPointers when double clicking on a output line and the editor is not open. \ No newline at end of file diff --git a/pmd-netbeans/build.xml b/pmd-netbeans/build.xml new file mode 100644 index 0000000000..a090c92eec --- /dev/null +++ b/pmd-netbeans/build.xml @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +