Romain Pelisse
ebab5a0391
pmd (build): Move the pmd-build subproject out of PMD into its own separate project
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7535 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-06 18:23:51 +00:00
Romain Pelisse
ef23452043
pmd (build): Turn pmd-build into mvn plugin
...
Turning this set of classes into a Maven plugin
has been incredibly easy (less than 30 minutes
actually) and allow us to simplify a little bit
the pom.xml configuration.
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7534 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-06 18:18:35 +00:00
Romain Pelisse
219e3ba7f1
pmd (build): Bump compilation of tools to Java 1.6
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7533 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-06 18:17:48 +00:00
Romain Pelisse
bef556e899
pmd (build): Add a parameter to configure target's destination when generating site.xml
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7532 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-06 18:17:21 +00:00
Romain Pelisse
f0276471ec
pmd (build): Switch logger from info to debug
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7531 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-06 18:16:46 +00:00
Romain Pelisse
7b1ee1a5de
pmd (build): Update pmd-build's jar
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7530 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-06 18:16:07 +00:00
Romain Pelisse
6ecd260d25
pmd (build): Add a commodity method to printout a DOMSource
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7529 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-06 18:15:39 +00:00
Romain Pelisse
4b8caa5bfa
pmd (build): Fix bug in site's menu + logging
...
Fix a bug in the website generation leading all entries in the rulesets navigation
menu to be duplicated.
Also introduce Java Logging, instead of System.out, as a logger for the tools's
subproject. (Rationale behing that is - I hope, an easier integration with Maven later
on without making this code dependant of any librairies outside the JVM).
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7528 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-06 18:14:54 +00:00
Romain Pelisse
dbc4bb12f6
pmd (build): adapt build change to resources files refactoring
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7527 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-05 23:21:23 +00:00
Romain Pelisse
bad086a731
pmd(build): enhance website to display all rulesets on the navigation menu
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7526 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-05 23:20:59 +00:00
Romain Pelisse
27b3689b8a
pmd(build): Add missing classes from previous refactoring
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7525 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-05 23:19:56 +00:00
Romain Pelisse
3a22857498
pmd(build): Fix internal links in rules index pages
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7524 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-05 23:18:54 +00:00
Romain Pelisse
9e95c88b39
pmd(build): Remove useless comment strings and whitespaces
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7523 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-05 23:18:27 +00:00
Romain Pelisse
b34972eddc
pmd(build): Update pmd-build jarfile
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7522 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-05 23:17:49 +00:00
Romain Pelisse
5f2e919319
pmd (build): Enhance output from build
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7521 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-05 23:17:16 +00:00
Romain Pelisse
b4bae0969a
pmd(build): Rework ruleset's XSL for website to support new rulesets coming from new language support
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7520 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-05 23:16:52 +00:00
Romain Pelisse
71794decad
pmd (build): Refactor pmd-build code
...
The tools subproject was created over 2 years ago to simplify the build
process and enable both Maven 2 and Ant to easily do what maven 1 was
actually doing for us. The present refactoring has greatly clarified the
code and allow the build to process rulesets's directory recursively, in
order to cope with new rulesets directory layout.
Note: as we are now moving forward with using only mvn as our build system
this subproject will probably wrap into a regular mvn-plugin, and therefore
should be moved from the pmd/ directory to the root of our svn. Maven plugin
integration should reduced greatly the complexity of the pom.xml and remove
the pmd-build-*.jar from the repository... (however, it remains to be done).
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7519 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-05 23:16:11 +00:00
Romain Pelisse
53858e98a4
pmd: Add missing language attribute to unusedcode ruleset.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7518 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-05 23:15:18 +00:00
Romain Pelisse
78c795a362
pmd (build): Bump build tool version
...
- bump version to 0.4
- bump ant to 1.8.2
- bump jdk to 1.6
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7517 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-05 23:14:39 +00:00
Romain Pelisse
be76e8c414
pmd (build): Remove useless - and not maintened anymore, cpd.jnlp file
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7516 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-05 23:14:13 +00:00
Brian Remedios
e2fe6d1621
minor tweaks
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7515 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-05 10:18:10 +00:00
Brian Remedios
54554a5104
Initial Save & load report property settings, needs further cleanup.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7514 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-05 09:57:05 +00:00
Freddy Mallet
0c56454746
Move unit test resources to the standard src/test/resources directory
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7513 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-04 10:35:21 +00:00
Freddy Mallet
1397774c6f
Keep on migrating some files to src/main/resources and remove useless and empty directories
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7512 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-03 23:29:02 +00:00
Freddy Mallet
e3a371d1fe
Move the 'rulesets' direcctory into the standard src/main/resources directory
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7511 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-03 23:09:07 +00:00
Freddy Mallet
531d322cb1
Remove the root 'test' directory from the unit test packages
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7510 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-03 13:40:36 +00:00
Freddy Mallet
f4c833b3a5
Move the 'regress' unit test directory to the standard 'src/test/java' directory
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7509 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-03 12:59:00 +00:00
Freddy Mallet
0be54d04e0
Add the properties quiet='true' to the Ant delete tasks to be able to build the pmd project out-of-the-box without any required manual operations
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7508 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-03 12:38:09 +00:00
Brian Remedios
1b43936562
minor refactorings, tweak
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7507 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-02 07:50:29 +00:00
Romain Pelisse
0a65ddcc2f
pmd (build): Adapt build to new layout for xdocs files
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7506 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-01 09:39:29 +00:00
Romain Pelisse
f92f6f3447
pmd (build): Enhance pmd-build logging
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7505 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-01 09:38:59 +00:00
Romain Pelisse
67ea0dbd1a
pmd (build): Make path to rulesets configurable for java rulesets
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7504 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-01 09:38:06 +00:00
Romain Pelisse
74a5a652d1
pmd (build): Move all xdocs files to src/site/xdocs
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7503 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-01 09:37:28 +00:00
Romain Pelisse
d29cbda18c
pmd (build): whitespaces
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7502 51baf565-9d33-0410-a72c-fc3788e3496d
2011-12-01 09:32:17 +00:00
Romain Pelisse
d013e0472c
pmd: Minor refactoring - reduce code duplication
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7501 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-30 20:11:10 +00:00
Brian Remedios
ac925c4cac
Revised CSVRenderer to allow end user control over which columns are shown, a test implementation of the new property system on the renderers.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7500 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-28 05:05:10 +00:00
Brian Remedios
c350ab821c
Adaptations for file processor changes in PMD proper
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7499 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-28 03:53:34 +00:00
Brian Remedios
357dbe8ca3
Adaptations for file processor changes in PMD proper along with some warning suppression tags
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7498 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-28 03:52:16 +00:00
Brian Remedios
78a689e43a
bugfix for 'unselectable' language version comboboxes
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7497 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-28 03:44:54 +00:00
Brian Remedios
a490e89fd0
Formatting/indentations fixed, XPathRule adaptations
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7496 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-27 05:25:10 +00:00
Brian Remedios
fd62448b91
Various:
...
* IDE adaptations (see new interface and empty method in PMD, comments requested)
* Further refactoring of benchmark and processor classes
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7495 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-27 05:20:20 +00:00
Brian Remedios
7df1682f3f
bugfix for missing ruleset.properties in final jar
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7494 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-27 04:46:55 +00:00
Brian Remedios
3f4d8db8c3
minor XPathRule improvements
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7493 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-26 22:28:27 +00:00
Brian Remedios
72e1b5dd42
refactoring
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7492 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-26 17:23:19 +00:00
Steven Christou
c4e94219b4
pmd: Delete all old java source folders.
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7491 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-26 09:25:46 +00:00
Romain Pelisse
1691962338
pmd: Drop deprecated renderer mode
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7490 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-24 09:00:15 +00:00
Brian Remedios
872bcd1baa
Additional improvements to benchmark facility
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7489 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-23 16:25:49 +00:00
Brian Remedios
81f6a38641
Some overdue updates on benchmark facility:
...
* A separate package
* Modern enums for the various types
* Report interface for various output types (later)
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7488 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-23 11:21:57 +00:00
Brian Remedios
a873345452
Updated changelog with recent updates
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7487 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-23 10:38:47 +00:00
Brian Remedios
b12ad20878
minor refactoring
...
git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@7486 51baf565-9d33-0410-a72c-fc3788e3496d
2011-11-23 09:22:22 +00:00