[ pmd-Feature Requests-2779322 ] Run PMD on file open and save only

View: New views
1 Messages — Rating Filter:   Alert me  

[ pmd-Feature Requests-2779322 ] Run PMD on file open and save only

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Feature Requests item #2779322, was opened at 2009-04-23 04:52
Message generated for change (Comment added) made by clay_shooter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=479924&aid=2779322&group_id=56262

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pmd-eclipse
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tom (coolbeans100)
Assigned to: Nobody/Anonymous (nobody)
Summary: Run PMD on file open and save only

Initial Comment:
Very often findbugs/checkstyle and pmd are used on very large projects. As such running these tools on the entire code base within Eclipse is simply unworkable.

FindBugs and CheckStyle have the facility to only run when you open and save a file in Eclipse. This functionality should be added to PMD.

Allowing PMD to run when a file is opened in Eclipse removes the need for a developer to remember to run it manually. Having the option to not run it across the entire code base will have significant performance gain.

Also it was spotted that when you click "Enable PMD" it then starts to run on the whole code base - this should be made optional.

----------------------------------------------------------------------

Comment By: clay_shooter (clay_shooter)
Date: 2009-11-01 09:08

Message:
I agree.  This is probably the biggest impediment to using PMD Eclipse
integration on a large project.  Checkstyle has the ability to only run
against open files.  Findbugs has the ability to only run after a file is
saved. (not quite as nice).  I haven't looked at how checkstyle or findbugs
implemented this but they could be used as examples.

Our application has 6000 java files and PMD currently doubles the build
time in Eclipse.  


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=479924&aid=2779322&group_id=56262

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Pmd-devel mailing list
Pmd-devel@...
https://lists.sourceforge.net/lists/listinfo/pmd-devel