wbuchanan / brewscheme

Stata package for creating user-defined scheme files using research-based color palettes
http://wbuchanan.github.io/brewscheme
27 stars 9 forks source link

filesys.ado throwing java exception #34

Closed wbuchanan closed 8 years ago

wbuchanan commented 8 years ago

Based on comment https://github.com/wbuchanan/brewscheme/issues/21#issuecomment-173261527

User reported:

. filesys `c(sysdir_personal)'b, attr dis 
java.lang.UnsupportedOperationException
at sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:192)
at java.nio.file.Files.readAttributes(Files.java:1737)
at org.paces.Stata.FileCreated.setPosixAttributes(FileCreated.java:178)
at org.paces.Stata.FileCreated.(FileCreated.java:121)
at org.paces.Stata.StataFileSystem.fileCreated(StataFileSystem.java:24)
wbuchanan commented 8 years ago

Fixed error in filesys.ado that caused the program to set the OS string to POSIX on Windoze systems.