[GRADLE-632] PMD Ant task error when using rules from rulesets directory Created: 11/Sep/09 Updated: 04/Jan/13 Resolved: 24/Nov/10 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 0.9-rc-1 |
Type: | Bug | ||
Reporter: | Tomek Kaczanowski | Assignee: | Adam Murdoch |
Resolution: | Fixed | Votes: | 0 |
Attachments: | pmd.zip |
Description |
PMD comes with a lot of predefined rule files. They are included So, while running PMD Ant task from Gradle build this should work: As you can see, PMD tries to open the file that is provided by Attached is the project that illustrates this behaviour. – |
Comments |
Comment by Alex Antonov [ 05/Jan/10 ] |
Same problem exists on a 0.9 snapshots as well. |
Comment by Hans Dockter [ 12/Jan/10 ] |
We have changed the classloading behavior. See commit from Jan 7: http://github.com/gradle/gradle/commit/144847883d28134345be5e32bd2bcd8ba6303a2f I get the following output now for the attached project: :pmd Running PMD static code analysis No problems found! BUILD SUCCESSFUL Total time: 2.887 secs |
Comment by Tomek Kaczanowski [ 22/Feb/10 ] |
checked on the latest version (Gradle 0.9-20100222190125+0300) it works fine |