Re: "Late provide error" in compiling clojurescript files

2012-01-04 Thread Praki Prakash
Thanks for your response Benjamin. I was leaning towards cyclic dependency myself. I couldn't get closurebuilder.py (which apparently detects cyclic dependencies) but couldn't get it to run on my source. After your response, I did a dependency analysis by hand and found no cycles. However, I narrow

Re: "Late provide error" in compiling clojurescript files

2012-01-04 Thread Benjamin Teuber
Hi, I just had the same problem and discovered it was a cyclic dependency - maybe you want to check for that, too.. Regards Benjamin On Jan 3, 9:19 am, Praki wrote: > Hi, > > I have a silly problem compiling my cljs files. I have to run the > cljsc command twice in succession to generate javasc

"Late provide error" in compiling clojurescript files

2012-01-03 Thread Praki
Hi, I have a silly problem compiling my cljs files. I have to run the cljsc command twice in succession to generate javascript source. The first compilation results in: ERROR: JSC_LATE_PROVIDE_ERROR. required "foo.bar" namespace not provided yet at /home/.../src/../target/classes/public/js/core.j