-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/16/12 12:10 PM, Andy Fingerhut wrote:
> Very cool stuff, Lee!  And my sincere thanks for all the work you
> are doing to make ClojureDocs.org even more useful than it is
> already.
> 
> I tried out clojuredocs on a project that depended on Clojure
> 1.3.0.  When I first tried "lein2 clojuredocs", I got an exception
> like this:
> 
> Exception in thread "main" java.lang.RuntimeException: Unable to
> resolve symbol: mapv in this context,
> compiling:(cadastre/analyzer.clj:58)
> 
> Looks like cadastre uses mapv, and so depends on Clojure 1.4.0 or
> later.
> 
> Then I tried adding the following line to my project.clj:
> 
> :eval-in :leiningen
> 
> and repeated "lein2 clojuredocs", and it all appeared to work.  I
> don't know what I'm doing here, just hacking based upon the
> documentation for creating a project.clj file for code that doesn't
> have one already (like Clojure's contrib libs, which have only a
> pom.xml file).
> 
> If that :eval-in line looks like a good thing to recommend for
> everyone using this, it would be good to add it to the README.md,
> right near the first mention of the "lein2 clojuredocs" command.
> It might even be a good idea to show the exception above with a
> note like "If you see this exception, remember to add the :eval-in
> line to project.clj.
> 
> Does anyone know if there would be undesirable side effects to
> someone adding that :eval-in to their project.clj long term, even
> if the initial reason they added it was to run 'lein2 clojurecocs'?
> If there are, it would be good to mention that the line should be
> removed after running clojuredocs.
> 
> Thanks, Andy

Hi Andy,

I don't know the long-term ramifications of using :eval-in :leiningen
for the project to get it to work; instead, I would recommend bumping
the clojure version of your project to clojure 1.4.0 to run the plugin
(then bumping it back down if need be).

In the meantime, I will work on making cadastre 1.3 compatible (I
believe it's just the mapv function holding it back).

Thanks for the feedback!

; Lee

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Darwin)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iQIcBAEBAgAGBQJQpncGAAoJEJ1kZdQ6zsrg6FcQAJ0EMH08s08vOjD1lLViohMm
J15QX6zABfQIsmMXtIJhvGBrHTZf57dgR6f53B87rpRP2/RprAJe/t1j6MhUeMA4
LzZ2xVwia8uVD14EU81yFiyuw2PO4tlQXqC7hkKWuizKl+J6SCtKDJJFcjw1qUs1
25KJbd65p6Vsoj/gfnvAkY5jajclYPMYaSnBzrBxgd+mp5/L9psFLP0fyOiL0VEy
ElCp9MGmau9bzoXfTfWcwHtQoP3K2kJ/Sp83qCRxUjj9d9HR8glmOvcbjUDVfYef
UiUHiqugd8Ya2icVBsxcmQcn4OcKnd5m2cG4EtmGlN20kqwhweoguxhkspPwbrwl
FCldrYgBrw0+HCzFvMJX053rOLFq0b0O+M0ZYEwCksxhYgLqskKGm4lDIE+6HJdo
1TKptsbfg4sYvkN6CRYyU01WhoZ4WPE1NIPifE9JTm5EvUQ+IpWk1nSYz7OdbWzN
kgUgZo0aWyvjM24XDEtnvxhQIiJzqcIXoot0bjK1lpPtDpvzFCTDU3XcrAvJM8uc
p9TSQ0cDqKpmTxte7zs00UblBPOLCq6F6vDjA9C/1D957iPs8aRtc4oC6j8tD0Kb
P5RhDlTHcfR0ZfakixzuzL/TfDIHOp66xyKFYep16Ya+2cy8SVcfoRclmZN90tcC
b+3zt1IaEdLRAdJa7UDJ
=HxkI
-----END PGP SIGNATURE-----

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

Reply via email to