lein-clr
lein-clr copied to clipboard
Sample project not compiling / running tests
I'm trying to run the sample project generated with lein new lein-clr clr_test
, and it looks like the clojure code isn't getting copied to the target
directory.
$ lein clr test
Running ClojureCLR tests
true
Unhandled Exception:
System.Exception: No namespace: clr-test.core-test found
...
$ lein clr compile :all
Compiling clr-test.core to /usr/src/app/target/clr/binSystem.Exception: namespace 'clr-test.core' not found after loading '/clr_test/core'
...
Closed via #14
Thanks!
Sorry, #14 was an unrelated pull request. It does not solve this issue for me.
Reopening the issue. Could you please share sample code to reproduce the issue?
The sample code is just the project template that lein-clr includes. Creating a project with lein new lein-clr clr_test
and running the above commands triggered these errors for me.
Can you try a project name without underscore? Maybe use a dash instead of underscore?
Ah! I created a project clrtest
and everything works fine. Perhaps the plugin could throw an error if the user tries to create / run a project with a name that .NET can't handle?
Good idea. Will try to fix it in some time, and of course a patch would be welcome.