• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Configuring PMD on WSAD

 
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Dharmesh Chheda
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello
Actually i wanted to know what are the steps taken for integrating PMD in WSAD


regards
Dharmesh
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic