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 of :route to the common/load-sym, it 
return nil. quite wired, I have used this approach for many place, only one has 
this problem.


Thanks at advanced.



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

Reply via email to