pmd question

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

pmd question

rgtlyl
 Hello:
     how to use the options "linkPrefix".
  

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Pmd-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pmd-devel
Reply | Threaded
Open this post in threaded view
|

Re: pmd question

Java PMD - Dev mailing list

Hi,

this depends on how you are calling PMD: Are you calling PMD from Commandline, via ANT, via maven or via gradle?

For general command line options, see https://pmd.github.io/pmd-5.8.1/usage/running.html

The "linkPrefix" is a property of the "html" formatter, you specify it via the "property" command line option. This should work:


./run.sh pmd -R java-basic -d src -f html -property linkPrefix="../doc-folder/src"



Regards,

Andreas



Am 03.07.2017 um 07:18 schrieb [hidden email]:
 Hello:
     how to use the options "linkPrefix".
  


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Pmd-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pmd-devel

-- 
Andreas Dangel
https://github.com/adangel
skype: andreas_dangel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Pmd-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/pmd-devel