Hey guys,

I am currently trying to use my specs for a library I am working on as a 
resource specifically from a resource folder,
I've attached a screen shot of my project file/folder layout to explain 
what I mean,
and I am having some varying issues occurring.

First issue is when attempting to import the specs via require, under 
[specs.html :as html], as seen the second screenshot I get a cannot find 
file on class path.
I had tried using leiningens :resource-paths ["resources/specs"] (or 
[""resources/specs/html.clj"]) to no avail.

Second issue is that calling a spec such as the following :html/void-tags , 
::html/void-tags , or :transmogrify.html/void-tags results in a cannot find 
spec "_" especially if the above seems to pass. As for the last one 
:transmogrify.html/void-tags I've found can work occasionally using after 
loading, closing, and reloading a REPL/namespace a few times but I feel 
this maybe a hack or caching fix of sorts.

So in essence what I am trying to do is have the spec in the 
resources/specs folder outside of the src folder, but taking 
:resource-paths into account it expects the resource folder to be inside 
the src folder from the documentation I believe.

Lastly I would like to note I am using nightcode IDE (currently version 
2.3.3) where the 'run with repl' option occasionally fails while the 
'instarepl' almost always seems to fail then magically works after like 
5-6+ attempts.

I apologise in advanced if it isn't clear I am writing this in the middle 
of the night and feeling quite sleepy at that but would like to state that 
this has been an on going issue for me for weeks with this specific project.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to