vloothuis / leiningen-war Goto Github PK
View Code? Open in Web Editor NEWThis project forked from alienscience/leiningen-war
Leiningen war plugin
This project forked from alienscience/leiningen-war
Leiningen war plugin
Leiningen war plugin ==================== This plugin is available at http://clojars.org/ :dev-dependencies [[uk.org.alienscience/leiningen-war "0.0.5"]] An example application using the plugin is at: http://github.com/maacl/lein-war-test This plugin adds two commands to leiningen: lein war -------- Create a $PROJECT-$VERSION.war file containing the following directory structure: destination default source project.clj --------------------------------------------------------------------- WEB-INF/web.xml src/web.xml :webxml WEB-INF/appengine-web.xml src/appengine-web.xml :appengine-webxml WEB-INF/classes classes :compile-path / src/html :web-content WEB-INF/classes resources :resources-path WEB-INF/classes src :source-path lein uberwar ------------ Create a $PROJECT-$VERSION.war file containing the following directory structure: destination default source project.clj ---------------------------------------------------------------------------- WEB-INF/web.xml src/web.xml :webxml WEB-INF/appengine-web.xml src/appengine-web.xml :appengine-webxml WEB-INF/classes classes :compile-path WEB-INF/lib lib :library-path / src/html :web-content WEB-INF/classes resources :resources-path WEB-INF/classes src :source-path Artifacts listed in :dev-dependencies will not copied into the war file Simple Example ============== (defproject example "0.0.1" :dependencies [[org.clojure/clojure "1.1.0"] [org.clojure/clojure-contrib "1.1.0"]] :dev-dependencies [[uk.org.alienscience/leiningen-war "0.0.5"] [leiningen/lein-swank "1.0.0-SNAPSHOT"] [autodoc "0.7.0"]]) lein war will create a war file with the following structure: WEB-INF/ WEB-INF/web.xml <--- taken from src/web.xml WEB-INF/classes <---- taken from classes index.html <---- taken from src/html/index.html lein uberwar will create a similar directory structure with the addition: WEB-INF/lib <---- taken from lib Overiding Defaults ================== (defproject example "0.0.1" :dependencies [[org.clojure/clojure "1.1.0"] [org.clojure/clojure-contrib "1.1.0"]] :dev-dependencies [[uk.org.alienscience/leiningen-war "0.0.5"] [leiningen/lein-swank "1.0.0-SNAPSHOT"] [autodoc "0.7.0"]] :webxml "war/example.xml" :compile-path "build" :library-path "libs" :web-content "html" :resources-path "war/resources") lein war will create a war file with the following structure: WEB-INF/ WEB-INF/web.xml <--- taken from war/example.xml WEB-INF/classes <---- taken from build index.html <---- taken from html/index.html WEB-INF/classes/templates <---- taken from war/resources/templates lein uberwar will create a similar directory structure with the addition: WEB-INF/lib <---- taken from libs Google App Engine ================= You can optionally include a src/appengine-web.xml file or specify one as :appengine-webxml in the project.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.