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

Use file api for reading parsing artifact names, Fix #34 #238

Merged
merged 1 commit into from Jul 8, 2020
Merged

Use file api for reading parsing artifact names, Fix #34 #238

merged 1 commit into from Jul 8, 2020

Conversation

tkalmar
Copy link

@tkalmar tkalmar commented Jul 8, 2020

THis helps loading artifacts under Windows, where separator is not '/' , Fixes #34

@tkalmar tkalmar changed the title Use correct separator char on windows, Fix #34 Use file api for reading parsing artifact names, Fix #34 Jul 8, 2020
@hazendaz hazendaz merged commit 2e71189 into spotbugs:spotbugs Jul 8, 2020
@hazendaz
Copy link
Member

hazendaz commented Jul 8, 2020

@tkalmar Thanks!

hazendaz added a commit to hazendaz/spotbugs-maven-plugin that referenced this pull request Jan 3, 2021
This reverts commit 2e71189, reversing
changes made to bf0fbab.
hazendaz added a commit to hazendaz/spotbugs-maven-plugin that referenced this pull request Jan 3, 2021
…ding up with long c_ path to jar files

Fix on spotbugs#238 only resulted in cleaning up unnecessary copies but made other processing worse.  As a result, spotbugs#238 is being reverted.  This patch is to make windows usage behave like linux usage.  It still expected to copy the jar files (even if unnecessary) but not nexted into a deep folder structure, rather just the artifact name.  The original logic did not handle windows at all.  It now does but is still not a great solution.
@hazendaz
Copy link
Member

hazendaz commented Jan 3, 2021

@tkalmar I had to revert this. Please see #281. I did modify support to handle windows properly as it was only working with *nix setup as originally designed. It still fixes the deeply nested c path under target but doesn't address unnecessary copying of the jar files for plugin addons (fb-contrib, etc).

hazendaz added a commit that referenced this pull request Jan 3, 2021
Revert fix #238 and correctly handle windows as it was only handling linux type line endings
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.

spotbugs or findsecbugs create directory in target which it shouldnt
2 participants