Making things work on Windows
Closed this issue · 0 comments
CeylonMigrationBot commented
[@quintesse] Hi,
I made a couple of simple changes to make the tests run correctly on Windows:
- first the generated compiler source uses platform specific line endings while the file to compare them to are UNIX format
- second the conversion from package name to folder path used File.separator which on Windows is \ which is a special char when used in String.replace() functions and has to be escaped
- and finally, and maybe a change that will break something, a conversion from file name to File object in the compiler which breaks on Windows. I tested the change on my Linux system as well and things still seem to work.
[Migrated from ceylon/ceylon-compiler#2]
[Closed at 2011-06-12 11:27:55]