-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JavaPMDBear is not found #998
Comments
Interesting, which release? (coala -v) |
The last one (0.8.1). Finally, I have realized that CPDBear is the JavaPMDBear. Another related issue... and I do not know if it is the right place. I am trying to run coala, without asking feedback, and only showing the patches (without applying them). Reading the code.. default_actions = *: ShowPatchAction However, I get these messages: .... Can I contribute in any place to support that in the CPD bear? |
Hi, CPDBear is not JavaPMDBear. PMD essentially ships with two tools, one does analysis and the other one copy and paste dedection (CPD). I think none of them provide a way to automatically fix the issue. The default_actions setting is correct, we're planning on making "show the patch and show the results whenever a patch isn't available" the default behaviour for |
I think if you were to "add support for showing patches for CPDBear" you'd probably be close to solving the halting problem ;P |
Which OS are you on anyway? |
MacOS Ok, so..definitely, what I would like to do is to run the JavaPMDBear, and get a list of the printed issues. How could I proceed? Thanks a lot |
So to get the list of issues, just run |
Hi, Thanks a lot for the The output of
|
Ok, to fix this do a |
After that, which is 0.4.8
However, after reinstalling 0.4.9 it shows the
Another question (sorry if there are two much). There is a way to define a python component in the config to perform a given action when an issue is found (for example, to produce a report)? Or coala waits after everything is processed? |
actions are indeed modular, ATM though you have to put them into the coala source code and you can't "link them in dynamically" because there has not been demand for that. If you want to produce a report, I suggest running |
Ok I found the issue, when installing PMD via brew it provides a |
Ok thanks a lot |
I have a commit that should fix it, will push it within ~5mins. I hope we can merge it today so you can use the prerelease to get your stuff done! |
The binary differs. The very same change was already apploed to the CPDBear but people often forget this one. Fixes #998
The binary differs. The very same change was already apploed to the CPDBear but people often forget this one. Fixes #998
See #999 - in case you want to help getting this merged, review comments are appreciated :) |
The binary differs. The very same change was already apploed to the CPDBear but people often forget this one. Fixes #998
The binary differs. The very same change was already apploed to the CPDBear but people often forget this one. Fixes #998
The binary differs. The very same change was already apploed to the CPDBear but people often forget this one. Fixes coala#998
From @rpau on November 15, 2016 10:6
Hi,
When I run
coala --show-bears --filter-by-language java
The JavaPMDBear not appears in the list. Any suggestion?
CPDBear
CheckstyleBear
FilenameBear
InferBear
InvalidLinkBear
KeywordBear
LineCountBear
LineLengthBear
SpaceConsistencyBear
coalaBear
Copied from original issue: coala/bear-docs#21
The text was updated successfully, but these errors were encountered: