clojure - How do you specify the classpath with Leiningen? -


in clojure, have leiningen project source in

/src/project/core.clj 

i want add subdirectory this. eg.

/src/project/examples/example-one.clj 

in core.clj file try pull in

project.examples.example-one 

but lein compile still tells me

could not locate project/examples/example_one__init.class or project/examples/example_one.clj on classpath:  

do have explicitly update project.clj file if add subdirectory main code directory? (i don't see main code directory given there explicitly.)

if namespace contains dashes, corresponding file should contain underscores instead of dashes. can read reason in here:

why-does-clojure-convert-dashes-in-names-to-underscores-in-the-filesystem

unless add different source codes java, groovy etc... default lein include namespaces in src folder.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -