Re: tasklist/checkstyle version dep

John Richardson <[email protected]> Fri, 13 Feb 2004 21:16:30 -0500
Newsgroups gmane.comp.java.netbeans.modules.tasklist.devel
Message-ID <[email protected]>
On Thu, 12 Feb 2004 11:56:51 +0100, Petr Kuzel wrote:

> Well, it needs to be measured and compared to PMD (there is big
> functionality overlap). Performance might be critical acceptance
> criterion.

Is the overlap that big?  My understanding is that they have different
core goals:
 - checkstyle focuses on consistent code style (brace positions,
   naming, indentation, etc...) while
 - PMD focuses on finding code which is valid source but could be a bug
   (something like lint for Java)

For example, when I pinged the PMD folks, they thought indentation
checking would find a better home in checkstyle than PMD.

>> I think they're still supporting JDK 1.3, so NIO might be out of the
>> question.
> 
> I'll test the temp file based solution.

Great.  

Personally I think a good long term plan would be to somehow
modify the netbeans parser so end users can create rules like those in
checkstyle or PMD.  Both PMD and checkstyle are inefficient since they
have to reparse, etc...  but unless it were completely separable from
netbeans, it might be difficult to find developers outside of sun.


> 
>   Cc.