caribou / caribou-core

Core functionality for Caribou
44 stars 3 forks source link

Win compat #20

Closed noisesmith closed 10 years ago

noisesmith commented 11 years ago

The file-separator was being used for resources inside jars, and the jvm does not like "\" as a path separator.

Since Windows is already flexible about using "/" as a file separator, we can fix the template not found issues by ignoring the system path separator.

I have verified that templates are now being found, and image upload and serving of images to the client do not regress with this change.

Recommended for immediate merge.

prismofeverything commented 10 years ago

Merged. Thanks! The windows people are grateful.