Bug 1374887 - pmd package does not include executable script
Summary: pmd package does not include executable script
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: pmd
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-10 03:13 UTC by John Vandenberg
Modified: 2016-12-09 10:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-09 10:26:09 UTC
Type: Bug


Attachments (Terms of Use)

Description John Vandenberg 2016-09-10 03:13:30 UTC
Description of problem:
pmd provides a script to invoke pmd from the command line:
https://github.com/pmd/pmd/blob/master/pmd-dist/src/main/scripts/run.sh

It is not included in the released package.
coala static code analysis tool looks for "pmd" or "run.sh"
https://github.com/coala-analyzer/coala-bears/issues/804

Version-Release number of selected component (if applicable):
pmd-5.4.1-3.fc24 (latest build)

How reproducible:
Install pmd and try to run pmd

Steps to Reproduce:
1. Install pmd
2. Run $ pmd

Actual results:
Command not found

Expected results:
pmd runs.

Comment 1 John Vandenberg 2016-09-10 03:32:08 UTC
After the build is complete, run.sh can be found in the output at

pmd-dist/src/main/scripts/run.sh

and in the zip

pmd-dist/target/pmd-bin-5.5.2-SNAPSHOT.zip

When downloading the pre-build version, e.g. https://github.com/pmd/pmd/releases/download/pmd_releases%2F5.5.1/pmd-bin-5.5.1.zip as mentioned on http://pmd.github.io/ , the run.sh is included as

pmd-bin-5.5.1/bin/run.sh

Comment 2 Mikolaj Izdebski 2016-12-09 10:26:09 UTC
FTR: This package was retired in Fedora 26.


Note You need to log in before you can comment on or make changes to this bug.