Quick caveat: don't trust me - I'm only starting to get my head around all this 
stuff. However...

It's my understanding that checkouts are a lein functionality and lein 
currently focusses on standard Clojure projects. Therefore, adding stuff to 
checkouts will only add the projects to the JVM classpath and make them 
available to the JVM. This is an entirely separate process to the Google 
Closure compiler which handles the cljs side of things (despite Closure running 
in the JVM too). I believe it's the cljsbuild plugin for lein which handles the 
configuration of the Closure compiler which should be seen as separate from 
standard lein.

Luckily cljsbuild has a method of adding multiple directories which seems 
similar to lein's checkout functionality: simply add more directories to the 
:source-paths key within the value of the :cljsbuild key itself. See:

https://github.com/emezeske/lein-cljsbuild/blob/1.0.1/sample.project.clj#L69

Sam

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

On 20 Dec 2013, at 17:57, Tim Visher <[email protected]> wrote:

> On Thu, Dec 19, 2013 at 8:42 AM, Sven Richter <[email protected]> wrote:
>> I am trying to integrate one cljs project into the other one during 
>> development time on my windows machine.
>> For this I use the checkouts feature and I just cannot get it working.
>> 
>> I setup a minimal "not-working" example on github:
>> https://github.com/sveri/cljs-checkout-example
>> 
>> The goal is that appone uses cljs from apptwo.
>> 
>> For this I added a checkouts folder in appone (which is not visible in the 
>> github source) and made a link to apptwo.
>> Then I added a dependency entry in the project.clj from appone and did a 
>> lein install of apptwo.
>> 
>> Is there a doc or something on how to set this up correctly? Or maybe you 
>> can tell me what I am missing here?
> 
> I didn't think checkouts worked with cljs projects.
> 
> --
> 
> In Christ,
> 
> Timmy V.
> 
> http://blog.twonegatives.com/
> http://five.sentenc.es/ -- Spend less time on mail
> 
> -- 
> 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.

-- 
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