immutant.dev

Functions useful for repl based development inside an Immutant container. They
shouldn't be used in production.

add-dependencies!

function
Usage: (add-dependencies! & deps)
Adds the given dependencies into the currently active project's dependency set
and resets the application's class loader to provide the paths and dependencies from that
project (via reload-project!). Each dep can either be a lein coordinate ('[foo-bar "0.1.0"])
or a path (as a String) to be added to :source-paths. Returns the project map. This should
never be used in production. (beta)
Source

current-project

function
Usage: (current-project)
Returns the map representing the currently active leiningen project.
This will be the last project reloaded by reload-project!, or the map read
from project.clj when the application was deployed reload-project! has yet
 to be called.
Source

reload-project!

function
Usage: (reload-project!)
       (reload-project! project)
Resets the application's class loader to provide the paths and dependencies in the
from the given project. If no project is provided, the project.clj for the appplication
is loaded from disk. If used under clojure > 1.3.0, this will also make any new data
readers from the dependencies available. Returns the project map. This should never
be used in production. (beta)
Source

remove-lib

function
Usage: (remove-lib lib)
Borrowed from tools.namespace
Source
Based on a site design by Tom Hickey.
Clojure auto-documentation system by Tom Faulhaber.