swannodette / mies

Minimal ClojureScript project template
Eclipse Public License 1.0
369 stars 49 forks source link

Issue with dot in project name #6

Closed AlBaker closed 9 years ago

AlBaker commented 10 years ago

There's something going on in the project.clj file generated by mies. On Windows 7, run "create new mies tester.cljs"

The resulting project.clj file then has the resulting error when attempting to be compiled:

Caused by: java.lang.RuntimeException: Unsupported escape character: \c, compiling:(c:\workspaces\ws.clj\tester.cljs\project.clj:16:37)

Looks like the output-dir results in an escape character, e.g.:

tester\cljs.js

swannodette commented 10 years ago

A patch is most welcome for this edge case.

swannodette commented 9 years ago

@AlBaker this just seems like an edge case in template generation itself. I would avoid using . in project names.