Ari writes:

>    1. How can I create a deployable jar or war manually (or at least in a 
>    less auto-magically way), i.e. without the lein-ring (or lien-war) plugin?

This is fairly straightforward, and it's my favourite way to package web
applications because it doesn't involve any behind-the-scenes magic.
Clojars just calls ring-jetty-adapter from its -main function:

https://github.com/ato/clojars-web/blob/master/src/clojars/main.clj

If you are only launching jetty it's even simpler than the Clojars
setup; you can do it in 3 lines or so. Just be sure to put :gen-class in
the ns form and have :main in project.clj point to it.

-Phil

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


Reply via email to