I think the problem is the following. When you specify the gss file in youre Resources as SomeStyle.gss and your file on the file system is named SomeStyle2.gss then you get an error, but when the file is someStyle.gss you do not get an error.
This means that the Compiler should als check for case sensitivity of the resource file names.