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

Revert fix #238 and correctly handle windows as it was only handling linux type line endings #297

Merged
merged 2 commits into from Jan 3, 2021

Conversation

hazendaz
Copy link
Member

@hazendaz hazendaz commented Jan 3, 2021

Original problem was C_ in target directory looking out of place. The change in #238 caused it to copy all resources into exact locations which under certain setup would cause source path to incorrectly be changed. After an integration test was added to confirm this, the logic was reverted here and subsequent change to handle windows in additional to linux. Now no more nested still but the add on jars like fb-contrib are copied into target. A separate ticket has been opened to address that as that seems wrong. All other copies seem appropriate.

This reverts commit 2e71189, reversing
changes made to bf0fbab.
…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 hazendaz self-assigned this Jan 3, 2021
@hazendaz hazendaz merged commit 21d6a0a into spotbugs:spotbugs Jan 3, 2021
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

1 participant