FlexPMD and 'pmd' plugin
Hello,
I was wondering if anyone was able to get FlexPMD to work with the gradle pmd plugin? Just wanted to know before I simply use the flex pmd ant task.
Thanks
Nicolas
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Nicolas Estrada on 28 May, 2013 11:15 AM
I was unable to get the built it gradle 'pmd' plugin to work with the flexPMD libraries so I simply created my own task. If anyone has any suggestions on how I make it better I would love you hear your thoughts
Support Staff 2 Posted by Maxime Cowez on 28 May, 2013 09:54 PM
Looks great! You could make it better by making it a "pull request" though ;)
May I ask where you're downloading that library from? I guess it's on your own Nexus or something similar because I just went to Adobe's opensource site and I couldn't even find a simple download. The "download" link points to the subversion repo...
3 Posted by Nicolas Estrada on 29 May, 2013 01:46 PM
I'm not a big open source contributor, I would like to be but I don't know exactly how a 'pull request' is made (link for beginners?)
As for the FlexPMD dependencies, I'm using an OSS artifactory here and I added this repository to it (checking only the 'Handle Releases' checkbox)
http://opensource.adobe.com/svn/opensource/flexpmd/maven-repository/release
I will need to clean things up a bit in order to pmd both the source and the test sourceSets however. When I get a cleaned up version with Flex CPD I'll let you know ;)
Cheers :)
Support Staff 4 Posted by Maxime Cowez on 29 May, 2013 09:06 PM
Right, so the download was in the subversion repo after all :-/ Very intuitive, Adobe.
I wasn't contributing much myself before I started helping out with GradleFx. Yennick was kind enough to help me take the first "pull request" hurdle. If you're interested I'll gladly walk you through it too.
Bear in mind that integrating with GradleFx will require a little more work. For instance I think the PMD support should be in a separate subplugin for those interested. But we can talk about the implementation details later.
I don't think this project would be very high on Yennick's priority list though, so it'll be up to you if you want to make it part of GradleFx ;)