release 1.3 preparation
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@3881 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
Version 1.3
|
||||
- Works with IDE newer than 4.1
|
||||
- Updated pmd to version 3.3
|
||||
- Works with IDE 5.0
|
||||
- Modified action shortcut
|
||||
- Progress now uses default NetBeans API
|
||||
- Added few rules specific to NetBeans that can be selected
|
||||
|
||||
Version 1.2
|
||||
|
@ -5,18 +5,18 @@ INSTALL
|
||||
------------------------
|
||||
|
||||
1) Start NetBeans
|
||||
2) Goto Tools --> Update Center
|
||||
3) Choose "Install Manually Downloaded Modules (.nbm Files).".
|
||||
4) Press Next
|
||||
5) Choose Add
|
||||
6) Goto the directory where you downloaded pmd-netbeans and choose the file "pmd.nbm".
|
||||
7) Press OK
|
||||
8) Press Next
|
||||
2) Goto Tools --> Module Manager
|
||||
3) Press Update
|
||||
4) Choose "Install Manually Downloaded Modules (.nbm Files).".
|
||||
5) Press Next
|
||||
6) Choose Add
|
||||
7) Goto the directory where you downloaded pmd-netbeans and choose the file "pmd.nbm".
|
||||
8) Press OK
|
||||
9) Press Next
|
||||
10) Press Accept
|
||||
11) Choose Include
|
||||
12) Press Finish
|
||||
13) Choose OK to restart, if so prompted
|
||||
10) Press Next
|
||||
11) Press Accept
|
||||
12) Choose Include and confirm to install an usined module
|
||||
13) Press Finish
|
||||
|
||||
------------------------
|
||||
USE
|
||||
@ -35,7 +35,7 @@ XXXXXXXXXXXXXXXXXXXXXXXX
|
||||
RULES
|
||||
------------------------
|
||||
1) Start NetBeans
|
||||
2) Goto Tools --> Options
|
||||
2) Goto Tools --> Options and click on Classic View
|
||||
3) Navigate to Options/IDE Configuration/Server And External Tool Settings/PMD Settings
|
||||
4) Click on "Rules"
|
||||
5) Click on the [...] button
|
||||
@ -47,7 +47,7 @@ RULES
|
||||
CUSTOM RULESETS
|
||||
------------------------
|
||||
1) Start NetBeans
|
||||
2) Goto Tools --> Options
|
||||
2) Goto Tools --> Options and click on Classic View
|
||||
3) Navigate to Options/IDE Configuration/Server And External Tool Settings/PMD Settings
|
||||
4) Click on the Expert tab
|
||||
5) Click on "Rulesets"
|
||||
@ -61,7 +61,7 @@ CUSTOM RULESETS
|
||||
REALTIME SCANNING
|
||||
------------------------
|
||||
1) Start NetBeans
|
||||
2) Goto Tools --> Options
|
||||
2) Goto Tools --> Options and click on Classic View
|
||||
3) Navigate to Options/IDE Configuration/Server And External Tool Settings/PMD Settings
|
||||
4) Click on "Enable scan"
|
||||
5) Choose true to enable scan, false otherwise.
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
<import file="nbproject/build-impl.xml"/>
|
||||
|
||||
<property name="pmd.jar" value="pmd-3.2.jar"/>
|
||||
<property name="VERSION" value="1.2"/>
|
||||
<property name="pmd.jar" value="pmd-3.3.jar"/>
|
||||
<property name="VERSION" value="1.3"/>
|
||||
|
||||
<property file="build.ant.properties"/>
|
||||
|
||||
@ -30,30 +30,29 @@
|
||||
<copy todir="${cluster}/modules/ext">
|
||||
<fileset dir="lib">
|
||||
<include name="${pmd.jar}"/>
|
||||
<include name="saxpath-1.0-fcs.jar"/>
|
||||
<include name="jakarta-oro-2.0.jar"/>
|
||||
<include name="jaxen-core-1.0-fcs.jar"/>
|
||||
<include name="jaxen-1.1-beta-7.jar"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<target depends="clean, nbm" description="Builds the distribution" name="distribution">
|
||||
<fail unless="VERSION" message="Must define VERSION property with the version number for this distribution!"/>
|
||||
<zip compress="true" destfile="build/pmd-netbeans40-${VERSION}-src.zip">
|
||||
<zip compress="true" destfile="build/pmd-netbeans50-${VERSION}-src.zip">
|
||||
<zipfileset dir=".">
|
||||
<include name="*.txt"/>
|
||||
<include name="manifest.mf"/>
|
||||
<include name="build.xml"/>
|
||||
<include name="nbproject/*.*"/>
|
||||
<include name="src/**/*"/>
|
||||
<include name="libsrc/**/*"/>
|
||||
<include name="lib/${pmd.jar}"/>
|
||||
<include name="lib/saxpath-1.0-fcs.jar"/>
|
||||
<include name="lib/jaxen-core-1.0-fcs.jar"/>
|
||||
<include name="lib/jaxen-1.1-beta-7.jar"/>
|
||||
<include name="lib/jakarta-oro-2.0.jar"/>
|
||||
</zipfileset>
|
||||
<zipfileset dir="." fullpath="pmd.nbm" includes="build/pmd.nbm"/>
|
||||
</zip>
|
||||
<zip compress="true" destfile="build/pmd-netbeans40-${VERSION}-bin.zip">
|
||||
<zip compress="true" destfile="build/pmd-netbeans50-${VERSION}-bin.zip">
|
||||
<zipfileset dir=".">
|
||||
<include name="*.txt"/>
|
||||
</zipfileset>
|
||||
|
BIN
pmd-netbeans/lib/jaxen-1.1-beta-7.jar
Normal file
BIN
pmd-netbeans/lib/jaxen-1.1-beta-7.jar
Normal file
Binary file not shown.
Binary file not shown.
45
pmd-netbeans/lib/jaxen-license.txt
Normal file
45
pmd-netbeans/lib/jaxen-license.txt
Normal file
@ -0,0 +1,45 @@
|
||||
/*
|
||||
$Id$
|
||||
|
||||
Copyright 2003 (C) The Werken Company. All Rights Reserved.
|
||||
|
||||
Redistribution and use of this software and associated documentation
|
||||
("Software"), with or without modification, are permitted provided
|
||||
that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain copyright
|
||||
statements and notices. Redistributions must also contain a
|
||||
copy of this document.
|
||||
|
||||
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 name "jaxen" must not be used to endorse or promote
|
||||
products derived from this Software without prior written
|
||||
permission of The Werken Company. For written permission,
|
||||
please contact bob@werken.com.
|
||||
|
||||
4. Products derived from this Software may not be called "jaxen"
|
||||
nor may "jaxen" appear in their names without prior written
|
||||
permission of The Werken Company. "jaxen" is a registered
|
||||
trademark of The Werken Company.
|
||||
|
||||
5. Due credit should be given to The Werken Company.
|
||||
(http://jaxen.werken.com/).
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE WERKEN COMPANY AND CONTRIBUTORS
|
||||
``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 WERKEN COMPANY 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.
|
||||
|
||||
*/
|
Binary file not shown.
BIN
pmd-netbeans/lib/pmd-3.3.jar
Normal file
BIN
pmd-netbeans/lib/pmd-3.3.jar
Normal file
Binary file not shown.
Binary file not shown.
@ -1,7 +1,6 @@
|
||||
extra.module.files=\
|
||||
modules/ext/jaxen-core-1.0-fcs.jar \
|
||||
modules/ext/pmd-3.2.jar \
|
||||
modules/ext/saxpath-1.0-fcs.jar \
|
||||
modules/ext/jaxen-1.1-beta-7.jar \
|
||||
modules/ext/pmd-3.3.jar \
|
||||
modules/ext/jakarta-oro-2.0.jar \
|
||||
modules/ext/nbpmdrules.jar
|
||||
nbm.distribution=http://pmd.sourceforge.net/
|
||||
|
@ -14,21 +14,15 @@
|
||||
</class-path-extension>
|
||||
<class-path-extension>
|
||||
<!-- Deployed path, relative to dir containing module: -->
|
||||
<runtime-relative-path>ext/jaxen-core-1.0-fcs.jar</runtime-relative-path>
|
||||
<runtime-relative-path>ext/jaxen-1.1-beta-7.jar</runtime-relative-path>
|
||||
<!-- Path of library in your own sources, relative to project basedir: -->
|
||||
<binary-origin>lib/jaxen-core-1.0-fcs.jar</binary-origin>
|
||||
<binary-origin>lib/jaxen-1.1-beta-7.jar</binary-origin>
|
||||
</class-path-extension>
|
||||
<class-path-extension>
|
||||
<!-- Deployed path, relative to dir containing module: -->
|
||||
<runtime-relative-path>ext/saxpath-1.0-fcs.jar</runtime-relative-path>
|
||||
<runtime-relative-path>ext/pmd-3.3.jar</runtime-relative-path>
|
||||
<!-- Path of library in your own sources, relative to project basedir: -->
|
||||
<binary-origin>lib/saxpath-1.0-fcs.jar</binary-origin>
|
||||
</class-path-extension>
|
||||
<class-path-extension>
|
||||
<!-- Deployed path, relative to dir containing module: -->
|
||||
<runtime-relative-path>ext/pmd-3.2.jar</runtime-relative-path>
|
||||
<!-- Path of library in your own sources, relative to project basedir: -->
|
||||
<binary-origin>lib/pmd-3.2.jar</binary-origin>
|
||||
<binary-origin>lib/pmd-3.3.jar</binary-origin>
|
||||
</class-path-extension>
|
||||
<class-path-extension>
|
||||
<!-- Deployed path, relative to dir containing module: -->
|
||||
@ -156,7 +150,7 @@
|
||||
<public-packages/>
|
||||
<extra-compilation-unit>
|
||||
<package-root>libsrc</package-root>
|
||||
<classpath>lib/pmd-3.2.jar</classpath>
|
||||
<classpath>lib/pmd-3.3.jar</classpath>
|
||||
<built-to>build/libclasses</built-to>
|
||||
<built-to>${cluster}/modules/ext/nbpmdrules.jar</built-to>
|
||||
</extra-compilation-unit>
|
||||
|
Reference in New Issue
Block a user