toddfast / mutagen-cassandra

Mutate your Cassandra schema for fun and profit.
Apache License 2.0
30 stars 31 forks source link

ResourceScanner is platform dependent #5

Open hgwood opened 9 years ago

hgwood commented 9 years ago

Java resources are identified by classpath paths, which are unix-style, but the ResourceScanner returns paths from the local file system, which can be of any style (and, in particular, Windows-style). This makes it hard to work with the results as they are inconsistent. All paths returned by the ResourceScanner probably should be valid resource identifiers (ie usable as parameters to Class.getResource()).