Brilliant! worked perfectly for me... found the magic you were referring to in load-deps ( https://github.com/kumarshantanu/lein-servlet/blob/master/plugin/src/leiningen/servlet.clj#L35 ) and the pomegranate/add-dependencies call ( https://github.com/cemerick/pomegranate/blob/master/src/main/clojure/cemerick/pomegranate.clj#L57 )
Thanks so much for sharing... btw, how does that require work for the pomegranate when it isn't listed in your project.clj dependencies. seems like some chicken and egg type problem -Chris On Thursday, July 11, 2013 12:19:03 AM UTC-7, Shantanu Kumar wrote: > > > > On Thursday, 11 July 2013 12:24:34 UTC+5:30, Chris Kuttruff wrote: >> >> Eg: >> >> I have a leiningen plugin I'm building that calls some jdbc stuff, but >> the specific driver would be specified in the project that brings in my >> plugin as a dependency. >> > > Can you describe your use case with an example maybe? I am not sure if > it's similar to what you want, but some time back I wrote a plugin called > lein-servlet that can fetch a user-specified dependency (in project.clj) > from Clojars. Checking out the sample project.clj is pretty easy -- run the > following at command line: > > $ lein new lein-servlet foo > $ cd foo > $ lein servlet run # Ctrl+C to stop > $ # see the project.clj that uses Jetty by default > > The plugin is here: > > https://github.com/kumarshantanu/lein-servlet > > Shantanu > -- -- 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.