Packaging/Deploying Web App

2013-02-13 Thread Ari
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

Re: Packaging/Deploying Web App

2013-02-13 Thread Phil Hagelberg
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

Re: Packaging/Deploying Web App

2013-02-13 Thread Feng Shen
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