Dinesh Bolkensteyn
2654bbff4d
4.3.x Improved the PreserveStackTrace rule to support Java 7
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7413 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-01 14:24:17 +00:00
Dinesh Bolkensteyn
8bbca10f73
PMD 4.3.x Java 7 is now default and better 1.5 targetJdk handling
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7412 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-01 13:56:31 +00:00
Romain Pelisse
3dea951e0c
fix small typo on website (missing link content)
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7406 51baf565-9d33-0410-a72c-fc3788e3496d
2011-10-14 14:13:09 +00:00
Romain Pelisse
3cd12def47
Applied patch 4320938: CPD GUI Launcher script only supports Microsoft Windows, thanks to Tom Wheeler
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7405 51baf565-9d33-0410-a72c-fc3788e3496d
2011-10-14 14:12:49 +00:00
Romain Pelisse
ad3086eb2b
whitespaces
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7403 51baf565-9d33-0410-a72c-fc3788e3496d
2011-10-14 13:48:07 +00:00
Romain Pelisse
f2ac93a42d
Applied patch 2822131: Enhance SuspiciousEqualsMethodName, thanks to Andy Throgmorton
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7402 51baf565-9d33-0410-a72c-fc3788e3496d
2011-10-14 13:47:45 +00:00
Romain Pelisse
14cc641316
Applied patch 2822173: Fix false negative for UseArraysAsList when the array was passed as method parameter. Thanks to Andy Throgmorton.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7400 51baf565-9d33-0410-a72c-fc3788e3496d
2011-10-13 15:54:39 +00:00
Romain Pelisse
b60d442777
Generated source modifications (by javacc - due to change to support Java 7)
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7397 51baf565-9d33-0410-a72c-fc3788e3496d
2011-10-13 15:41:39 +00:00
Romain Pelisse
a050468aea
Applied patch 3411811: Java 7 support for PMD, thanks to Dinesh Bolkensteyn and SonarSource.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7396 51baf565-9d33-0410-a72c-fc3788e3496d
2011-10-13 15:40:35 +00:00
Andreas Dangel
85914a9a2c
renamed eclipse project to 4.3.x, using ANT_HOME/lib/ant.jar in build classpath
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7384 51baf565-9d33-0410-a72c-fc3788e3496d
2011-10-03 17:46:58 +00:00
Andreas Dangel
232eeb24f0
correct the default maven deploy repository
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7371 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-30 18:29:21 +00:00
Andreas Dangel
8cebc5dc84
Added license info to pom.xml, extended next release howto for maven
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7366 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-29 18:57:21 +00:00
Romain Pelisse
0496cc8fc5
Fix patch 3130615: fix xpath rule to consider the correct if-condition.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7362 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-29 14:52:46 +00:00
Romain Pelisse
66ef2399e3
Applied patch 3013807: DoNotCallSystemExit through Runtime. Thanks to Steven Christou.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7361 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-29 14:28:37 +00:00
Romain Pelisse
ee246222ae
add missing test file for new rule GuardDebugLogging
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7360 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-29 14:26:27 +00:00
Romain Pelisse
791ddbef0b
Applied patch 3130615: New Rule GuardDebugLogging for jakarta-commons logging. Thanks to Tammo van Lessen.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7359 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-29 13:59:25 +00:00
Romain Pelisse
d0f2ec451a
Applied patch 3155140: Exclude boolean getters (is*) from
...
TooManyMethods rule. Thanks to Riku Nykanen.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7353 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-25 20:05:52 +00:00
Romain Pelisse
9487afa38f
add last patch to changelog
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7352 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-25 20:05:07 +00:00
Romain Pelisse
ba1404de3f
applied patch 2828099 : Designer's bug 'Create XML Rule', thanks to Andy Throgmorton
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7339 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-24 19:33:07 +00:00
Romain Pelisse
c8da4a1c83
whitelines + reindent
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7338 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-24 19:32:41 +00:00
Romain Pelisse
5155cdd50d
add missing link to typeresolution rulesets
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7329 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-24 00:54:13 +00:00
Romain Pelisse
d0af1fc350
applied patch 2996539 : Add support for C# to CPD (simple parser)
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7327 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-24 00:29:17 +00:00
Romain Pelisse
94b5c9f797
sync credits webpage with trunk
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7325 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 23:57:40 +00:00
Romain Pelisse
fb32b871d8
adding Andy Throgmorton to the contributor list
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7324 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 23:57:23 +00:00
Romain Pelisse
1668a79f03
applied patch 2829888 : New rule: Calling Thread.run() - thanks to Andy Throgmorton
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7323 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 23:57:05 +00:00
Romain Pelisse
340e0f2583
apply patch 3084292: character reference in xml report - thanks to Seko
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7318 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 17:34:11 +00:00
Romain Pelisse
4155d94028
apply patch 3175832 from Cd-MaN: Add options to to the CPD command line task.
...
While applying the patch, I discover that properties where never really
used and not passed down to the language implementation. In order to fix
that and keep the loose coupling we currently have, I used the system
properties.
Also did isolate that in a separate function and did a (little) code
cleaning.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7317 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-23 17:33:41 +00:00
Romain Pelisse
d79bc38bd1
merge changes to release script from 4.3.x
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7301 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-21 17:57:34 +00:00
Romain Pelisse
3efe93295c
update 4.3.x branch with lastest modification from 4.2.x
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.3.x@7292 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-19 17:42:21 +00:00
Romain Pelisse
ad7c32bcff
add new rules to rulesets/releases/42.xml
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7258 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:47:19 +00:00
Romain Pelisse
6112861894
removing a bunch of old/unused files from etc folder...
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7257 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:19:04 +00:00
Romain Pelisse
ec289775c3
making script logging messages a tad more consistent
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7256 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:18:45 +00:00
Romain Pelisse
d10160ae45
rename generate_release script to simply release.sh
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7255 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:18:29 +00:00
Romain Pelisse
bbd2b945cf
enhance release script to support the a snapshot option, rendering the extra generate_snapshot script useless
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7254 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:18:11 +00:00
Romain Pelisse
866eb78393
make source release script more consistent with the binary release part
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7253 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:17:53 +00:00
Romain Pelisse
ba6485bdc7
use different folder for the bin and the src release to avoid confusion during the script execution
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7252 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:17:36 +00:00
Romain Pelisse
a40c07aeb2
remove unused script's variables
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7251 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:17:18 +00:00
Romain Pelisse
a37296d7b9
add a function to create root directory tree to harmonize script action between src release and binary release
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7250 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:17:03 +00:00
Romain Pelisse
260e0730b7
fix inconsistency in variable uses
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7249 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:16:46 +00:00
Romain Pelisse
384cfa8bcd
using mktemp() to have a temporary folder for each build make pointless the preventing rm -rf on the previous potential files...
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7248 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:16:30 +00:00
Romain Pelisse
3f39a04a58
move current_dir check in an earlier step of the script
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7247 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:16:14 +00:00
Romain Pelisse
a3393f4b13
remove dependency to asm in project.xml
...
As it seems that ASM is no longer available in Maven 1 repository, this dependency leads to
a build failure. As Maven 1 is ONLY used to generate the xdocs documenation, and has been removed
from the trunk, it does not seems relevant to try to fix this. Removing the depedency does allow
one to build the documentation, which what we need here...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7246 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:15:58 +00:00
Romain Pelisse
17442f2028
fix typos in xdocs (& to &)
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7245 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:15:42 +00:00
Romain Pelisse
c7933c9700
make docs.sh able to use svn or git to restore files
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7244 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:15:26 +00:00
Romain Pelisse
779e304d18
removes all copy of folder related to the pmd 1.4 compliant release
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7243 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:15:12 +00:00
Romain Pelisse
61498acc39
extract version number from pom.xml - makes -v optional, check if release script is executed from the 'etc' folder
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7242 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:14:54 +00:00
Romain Pelisse
12faf9023b
enhance release script to use getopt and support args - instead of interactive commands
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7241 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:14:35 +00:00
Romain Pelisse
46671ba8b8
set release script to stop on the first shell failure
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7240 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:14:17 +00:00
Romain Pelisse
d1c1863f07
remove retroweaver for build - it seems broken right now and having a Java 1.4 compliant version of PMD is somewhat less critical today...
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7239 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:14:01 +00:00
Romain Pelisse
75201a5a60
ensure that release script fails when ant build fails
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/branches/pmd/4.2.x@7238 51baf565-9d33-0410-a72c-fc3788e3496d
2011-09-11 19:13:45 +00:00