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

Fix windows problems (#472) #478

Merged
merged 1 commit into from
Oct 5, 2022
Merged

Fix windows problems (#472) #478

merged 1 commit into from
Oct 5, 2022

Conversation

fnqista
Copy link

@fnqista fnqista commented Oct 4, 2022

Based on Issue #472

Fixes for travis windows ci build

  • merging / merging fails in both in both 1.x and 2.x because we use System.getProperty(lineSeparator) and that causes the file to be written with CRLF endings in Windows. It can be fixed by using just \n
  • sbt-assembly / piecemeal fails in both in both 1.x and 2.x because of the wrong classpath syntax used by the jar runner in src/sbt-test/sbt-assembly/piecemeal/build.sbt. The separator for the classpath java -cp in Windows is ; instead of :
  • all other tests fail only in 2.x because of the error you reported in IllegalArgumentException: Illegal character in opaque part at index 11: jar:file:C:\... #472
  • There is another failure in 2.x, where we use System.getProperty(file.separator) for PathList.unapply, which we should not. We should just use / since every class file goes through the shader that converts all \ to /.

Note PR for including Windows in the Travis CI should be merged too

Copy link
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

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

Thanks, @fnqista!

@eed3si9n eed3si9n merged commit dbe137f into sbt:develop Oct 5, 2022
@fnqista
Copy link
Author

fnqista commented Oct 12, 2022

@eed3si9n Perhaps a new release candidate, or release, when you have time?

@eed3si9n
Copy link
Member

I think sufficient time has passed without any regressions, so I think we're good to go for the final.

@fnqista
Copy link
Author

fnqista commented Oct 18, 2022 via email

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.

2 participants