Re: Re: Tasklist with nb3.5

Tor Norbye <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.tasklist.devel
Organization Sun Microsystems, Inc
Message-ID <1055806456.1305.73.camel@proto>
Sorry abou the delay - I've been extremely busy with work
leading up to JavaOne.

Anyway, here's the story with pmd.

There's a tasklist-pmd module in the tasklist suite. It's hosted
on NetBeans.org and uses the SPL as its license.

However, it doesn't include PMD itself, it depends on it. The
tasklist-pmd module is basically a "pmd driver"; it connects
the editor buffer to pmd, and translates the rule violations
found by pmd into suggestion entries for the suggestion window.
(It also (and this is the majority of the code) has code for
autofixing pmd rules, such as removing duplicate imports.)

The PMD code itself is not licensed under SPL. I assume/hope
somebody is working on getting it through legal review; I believe
Ole-Martin (who did the PMD module) was going to look into this.

The problem is that tasklist-pmd depends on pmd.jar at build time,
which of course isn't available by default when the update center
modules are built, so that's why it's turned off.

If you download pmd, you can point the build.properties file
in tasklist/pmd/ to point to your pmd install, and it will
build tasklist-pmd.jar for you.

So that's the reason. I hope we get pmd integrated into netbeans
soon, such that the tasklist suite can default to including 
support for it!

-- Tor

On Mon, 2003-06-09 at 23:45, Vincent Brabant wrote:
> Martin, Daniel A wrote:
> > (I already sent this, but I think its being held for moderation because my
> > company changed my outgoing address.  Sorry if it double posts.)
> > 
> > The Tasklist modules from the Update Center don't include tasklist-pmd.jar.
> > My suggestion is to download 
> > http://tasklist.netbeans.org/servlets/ProjectDownloadList?action=download&dl
> > ID=321 
> > and use the tasklist-pmd.jar found in that distribution.  At least, that's
> > what I did today, and it is working perfectly.
> > 
> > I would love to know why the PMD integration isn't on the Update Center?
> > But I think I already know its because of licensing issues. 
> 
> the tasklist-pmd.jar is under SPL and hosted in netbeans.org.
> So, normally, it can't be a licensing issue.
> 
> But thanks for your suggestion.
> 
> > I just was
> > hoping that had been worked out.  The Tasklist PMD integration is truly one
> > of the biggest IDE benefits I get from using Netbeans.  It's disappointing
> > know so few people are getting that benefit, at least so far.
> > 
> > -Dan
> > 
> > 
> >>-----Original Message-----
> >>From: Vincent Brabant [mailto:[email protected]]
> >>Sent: Monday, June 09, 2003 4:59 PM
> >>To: [email protected]
> >>Subject: [tasklist] Tasklist with nb3.5
> >>
> >>
> >>Dear, I installed NB3.5 on my pc, and downloaded the tasklist module.
> >>But I can't see the Rule Checking nor the HTML Errors.
> >>I installed AFTER the PMD module. Restart it. But not yet 
> >>Rule Checking.
> >>I disable the module tasklist.
> >>Then, enable it.
> >>Not yet Rule Checking.
> >>
> >>So, can someone explain me how can I obtain the Rule Checking and the 
> >>HTML Errors.
> >>
> >>Thanks a lot.
> >>
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [email protected]
> >>For additional commands, e-mail: [email protected]
> >>
> > 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
-- 
Tor Norbye <[email protected]>
Sun Microsystems, Inc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.