Re: aot resolve question

2015-01-23 Thread Michael Blume
Not sure what to tell you. If you can post code we can use to reproduce the problem, that would help. Alternately, put some println statements into load-sym so you can be sure it's getting the values you think it is? On Tue Jan 20 2015 at 11:45:34 PM bob wrote: > Hi, > > I have a function > > (d

aot resolve question

2015-01-20 Thread bob
Hi, I have a function (defn load-sym [s] (require (symbol (namespace s))) (resolve s)) There is no problem if not using the uberjar. when using the uberjar, (common/load-sym 'web/app-routes) // it can work {:route web/app-routes} //an edn file I read the edn file and put the value o