On 20 Dec 2013, at 16:35, Vijay Kiran <[email protected]> wrote:

> 
> If you cloned the repo - using lein install should make the snapshot 
> available via dependencies.

Ah ok, `lein install` did add om to my ~/.m2, it just didn't tell me it was 
doing it :-)

OK, so that seems to get things working - I can now compile a .cljs file that 
requires om without any compile errors.

I think I get why I was seeing the issues before. As I had symlinked om from my 
cljs-src directory which is part of the path that cljsbuild is scanning for 
.cljs files to compile, cljsbuild was trying to compile the .cljs files within 
om seemingly when some dependencies weren't available.

I also figured out that I don't need to `lein install` om into my ~/.m2 
directory, I can just symlink it from my standard Clojure src directory - 
provided that directory isn't on the list of dirs for cljsbuild to scan. I 
think I prefer this approach as it means that any updates that David pushes to 
om are just a `git pull` away, and I don't need to build any intermediate jar 
files and put them in my ~/.m2 directory for the changes to be available in my 
project.

Thanks to everyone for all their help and patience with me. It must be 
frustrating to try and help someone so clearly in the dark :-)

Sam


---
http://sam.aaron.name

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to