On Sunday, November 24, 2013 6:56:07 AM UTC-6, Shantanu Kumar wrote: > > I am trying to run some tests (that worked fine with Mono+ClojureCLR > 1.4.1) in Mono+ClojureCLR 1.5.0 from SourceForge and finding the below > exception: > > $ # CLOJURE_LOAD_PATH is configured properly > $ mono "/path/to/clojure-clr-1.5.0-Release-4.0/Clojure.Main.exe" -i > /tmp/intermediate-file -e "(use 'clojure.test) (run-tests > 'sqlrat.template-test 'sqlrat.entity-test)" > > FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An > exception was thrown by the type initializer for Clojure.CljMain ---> > System.TypeInitializationException: An exception was thrown by the type > initializer for clojure.lang.RT ---> > clojure.lang.Compiler+AssemblyInitializationException: Cannot find > initializer for clojure.core.clj, Version=0.0.0.0, Culture=neutral, > PublicKeyToken=null.clojure/core > >
I forgot that there was some #if-conditionalized mono vs .net code introduced in 1.5.0. That would have necessitated separate DLLs for mono and .net. I just changed that for a runtime check for the platform. Sourceforge has new zips, nuget has a new package, github 1.5.0 branch and master branch updated. And confirmation from Kumar that it works. -David -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.