I haven't used checkout dependencies with lein-cljsbuild myself, but my 
understanding is that lein will put the "checkouts" directory earlier in 
the classpath than other dependencies, so things in there will be found 
first.  The clojurescript compiler runs inside an "eval-in-project" in 
Leiningen.  I would have assumed that the checkout dependencies would be 
available "in-project", but your testing would seem to indicate that 
they're not.

Feel free to open a lein-cljsbuild case for this; I'll be able to help 
investigate in a few days. Of course, if you track down the problem and fix 
it, I'd happily accept a pull request!  :)

-Evan

On Wednesday, April 4, 2012 8:59:35 PM UTC-7, Dave Sann wrote:
>
> Correction - the code does not compile in simple mode and above because 
> the checkouts do not appear to be found.
>
> On Thursday, 5 April 2012 13:31:51 UTC+10, Dave Sann wrote:
>>
>> Can anyone confirm whether lein cljsbuild can support use of the 
>> "checkouts" directory?
>>
>> I have tried this with a simple test. The code compiles without error but 
>> the checkouts dependencies are not included.
>>
>> I know that you can jar the cljs files but it is good to be able to work 
>> without doing this for small edits.
>>
>> I currently use a modified version of cljs-watch that does this - but I 
>> would like to switch to a more "standard" build path
>>
>> If not supported I will add this as an enhancement request.
>>
>> Cheers
>>
>> Dave
>>
>>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to