aspose file tools*
The moose likes Websphere and the fly likes Configuring PMD on WSAD Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Configuring PMD on WSAD" Watch "Configuring PMD on WSAD" New topic
Author

Configuring PMD on WSAD

Dharmesh Chheda
Ranch Hand

Joined: May 08, 2001
Posts: 204
Hello
Can anyone help me with the configuration of PMD (the source code analyzer) with WSAD 5.1.1
The PMD help says that there is a menu option Help>Software Updates>Find and Install .. but i cant see anything like that

regards
Dharmesh


regards,<br />Dharmesh Chheda
Dharmesh Chheda
Ranch Hand

Joined: May 08, 2001
Posts: 204
Hello
Actually i wanted to know what are the steps taken for integrating PMD in WSAD


regards
Dharmesh
Naveen Gopi
Greenhorn

Joined: Sep 24, 2007
Posts: 3
Hi,

Please find how to install PMD plugin in Websphere Studio Application Developer 5.1 (WSAD v 5.1)

Configure WSAD for access to Internet
1)Go to Window -> Preferences -> Install/Update.
2)For each set Proxy address and Proxy Port.

PMD for WSAD install instructions
1. Start WSAD.
2. Start the installation procedure : select the Help -> Software Updates - >Update manager
3. We have a Feature Updates Window.
4. Inside it right click on Sites to visit -> New -> Site Bookmark´┐Ż
5. In New Site Bookmark window enter the following details
Name: PMD (AnyName)
Address as: http://pmd.sourceforge.net/eclipse
Book Mark Type as: Eclipse Update Site
6. We get a PMD icon. Expanding it reveals two: PMD for Eclipse 2 and PMD \
for Eclipse 3.
7. PMD Eclipse 3 is not supported and hence select PMD Eclipse 2.
8. Now Install PMD in WSAD.
9. Accept the terms of the license agreements and click Next.
10. A warning appears telling the feature is not signed. Ignore and click
Install to continue.
11. Accept to restart the workbench to load PMD into the workbench.

WSAD is restarted and the PMD plug-in is correctly installed.

How to run PMD tool?
1) In Package Explorer right click on any java file and we can see PMD ->
Check Code With PMD.
2) Similarly this can be done for an entire project too.

Please note that WSAD v 5.1 doesn't support PMD for eclipse 3. It has support only for eclipse 2.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Configuring PMD on WSAD