Hi,  here is one solution:

add (:gen-class) to the main namespace, add something in your project.clj

  :aot [rssminer.main, rssminer.admin]
  :main rssminer.main
  :uberjar-name "rssminer-standalone.jar"


lein uberjar

Package up the project files and all dependencies into a jar file

java -jar rssminer-standalone.jar

Starts your application



On Thursday, February 14, 2013 12:47:11 AM UTC+8, Ari wrote:
>
> Hi,
>
> In my limited experience with Clojure based web apps that are comprised of 
> jetty + ring + compojure I've used the lein-ring plugin to create jars or 
> wars depending on deployment needs. I'm curious to learn:
>
>    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?
>    2. How can I create a deployable jar or war -- with or without 
>    lein-ring/lein-war -- when the app relies on an alternative adapter such 
> as 
>    aleph, http-kit, etc? 
>    
> Thanks.
>
> -Ari
>

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