Short version: Old version of the lib was on the classpath. Longer version: `lein with-profiles -user whatevertask` to disable the user profile apparently doesn't work.
I was using: export CLASSPATH=$(lein with-profiles -user classpath) java clojure.main Figured I had ruled out my tools, since I was explicitly using the builtin tools, but... When I hand crafted the class path, it all worked. Mumbled "dammit lein" to myself, and then tracked it down to a rogue shadow version of my namespace in one of the jars on the path. *grumble grumble*. It's also worth mentioning that this problem wasn't being caught because the newer version was earlier on the class path. Once you split a file up in to foo.clj and foo.cljc files, you run in to a risk of finding the two halves of foo.clj* out of two different jars! Thanks for the push to dig deeper, Alex! Cheers, Brandon On Saturday, May 2, 2015 at 8:13:57 PM UTC-7, Alex Miller wrote: > > There should be no ill effect from simply renaming from clj to cljc. What > error are you seeing? > > Please also consider whether something in your tool chain is at fault. For > example, if the cljc files are not getting properly packaged or included in > the classpath then there may need to be changed in the tools. While I've > tried several things successfully, there could easily be more to do. -- 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/d/optout.