Skip to content
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

Support Eclipse SimRel 2018-09 #61

Merged
merged 1 commit into from
Sep 28, 2018
Merged

Support Eclipse SimRel 2018-09 #61

merged 1 commit into from
Sep 28, 2018

Conversation

jftsunami
Copy link

  • Remove org.apache.commons.io and org.apache.log4j from exports
  • Added above to dependencies for test project
  • Modification to test due to EOL conversions done by Git on Windows

* Remove org.apache.commons.io and org.apache.log4j from exports
* Added above to dependencies for test project
* Modification to test due to EOL conversions done by Git on Windows
@adangel adangel self-assigned this Sep 28, 2018
@adangel adangel changed the title Fix for issue #59 Support Eclipse SimRel 2018-09 Sep 28, 2018
Copy link
Member

@adangel adangel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! It looks good, not exporting log4j is ok. I guess, long term, pmd-eclipse-plugin should not use log4j at all.

I've changed the title of your PR, since it actually solves the problem with Eclipse SimRel 2018-09. I didn't run into the problem with log4j with Photon...

@adangel adangel merged commit adf1e0a into pmd:master Sep 28, 2018
adangel added a commit that referenced this pull request Sep 28, 2018
@jftsunami
Copy link
Author

I assume the Eclipse runtime has some sort of logging plug-in that can be depended on, but would just changing everything to log to slf4j be sufficient?

@adangel
Copy link
Member

adangel commented Sep 28, 2018

I didn't change the logging at all in the plugin. So, pmd-eclipse-plugin still uses internally log4j. The missing export would only be a problem for other plugins, that use log4j from pmd-eclipse-plugin without shipping their own version... which probably is anyway not the case.

The pmd-eclipse-plugin currently logs sometimes using log4j and sometimes using the eclipse platform (see https://wiki.eclipse.org/FAQ_How_do_I_use_the_platform_logging_facility%3F), which long-term should be resolved to be eclipse platform logging only.

@jftsunami
Copy link
Author

Got it (and thanks for that link)

@jftsunami jftsunami deleted the #59 branch September 28, 2018 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants