Track the added dependencies, so that we can query for addition to project.clj
Can not create a classloader with a jar inside a jar http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4388202
Track the added dependencies, so that we can query for addition to project.clj Can not create a classloader with a jar inside a jar http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4388202
(add-dep-jars still dep-jars)
Add any non-conflicting dependency jars. Returns the sequence of dependency jar maps of the loaded jars.
Add any non-conflicting dependency jars. Returns the sequence of dependency jar maps of the loaded jars.
(add-dependencies still
dependencies
repositories
{:keys [verbose proxy] :as opts :or {verbose true}})
Add dependencies to the classpath. Returns a sequence of maps, each
containing a :coords
vector, a :jar
path and possibly a
:current-version
string. If the optional parameter :verbose is
true (the default), then WARN messages will be printed to the console
if a version of a library is requested and the classpath already
contains a different version of the same library.
Add dependencies to the classpath. Returns a sequence of maps, each containing a `:coords` vector, a `:jar` path and possibly a `:current-version` string. If the optional parameter :verbose is true (the default), then WARN messages will be printed to the console if a version of a library is requested and the classpath already contains a different version of the same library.
(alembic-classloader)
Return a classloader for alembic to use to resolve dependencies
Return a classloader for alembic to use to resolve dependencies
(classpath-urls)
Return the current classpath.
Return the current classpath.
(conflicting-version? {:keys [coords current-version]})
Predicate to check for a conflicting version.
Predicate to check for a conflicting version.
(conflicting-versions)
(conflicting-versions still)
Return a sequence of possibly conflicting versions of jars required for dependencies by the still).
Return a sequence of possibly conflicting versions of jars required for dependencies by the still).
(coords->ids [artifact version :as coords])
Convert coords to a map of :group-id and :artifact-id.
Convert coords to a map of :group-id and :artifact-id.
(distill dependencies
&
{:keys [repositories still verbose proxy]
:or {still the-still verbose true}
:as options})
Add dependencies to the classpath.
dependencies
can be a coordinate vector, or a sequence of such vectors.
:repositories
: specify a map of leiningen style repository definitions to be used when
resolving. Defaults to the repositories specified in the current lein
project.
:still
: specifies an alembic still to use. This would be considered advanced
usage (see the tests for an example).
:verbose
: specifies whether WARN messages should be printed to the console if
a version of library is requests and there is already a different
version of the same library in the classpath. Defaults to true
:proxy
: proxy configuration map (the host scheme and type must match).
If not specified (or nil), the proxy configuration is read from
environment variables (http_proxy, http_no_proxy, no_proxy).
:host - proxy hostname
:type - http (default) | http | https
:port - proxy port
:non-proxy-hosts - The list of hosts to exclude from proxying, may be null
:username - username to log in with, may be null
:password - password to log in with, may be null
:passphrase - passphrase to log in wth, may be null
:private-key-file - private key file to log in with, may be null
Add dependencies to the classpath. `dependencies` can be a coordinate vector, or a sequence of such vectors. `:repositories` : specify a map of leiningen style repository definitions to be used when resolving. Defaults to the repositories specified in the current lein project. `:still` : specifies an alembic still to use. This would be considered advanced usage (see the tests for an example). `:verbose` : specifies whether WARN messages should be printed to the console if a version of library is requests and there is already a different version of the same library in the classpath. Defaults to true `:proxy` : proxy configuration map (the host scheme and type must match). If not specified (or nil), the proxy configuration is read from environment variables (http_proxy, http_no_proxy, no_proxy). :host - proxy hostname :type - http (default) | http | https :port - proxy port :non-proxy-hosts - The list of hosts to exclude from proxying, may be null :username - username to log in with, may be null :password - password to log in with, may be null :passphrase - passphrase to log in wth, may be null :private-key-file - private key file to log in with, may be null
(distill* dependencies
{:keys [repositories still verbose proxy]
:or {still the-still verbose true}})
Add dependencies to the classpath. Returns a sequence of dependency maps.
dependencies
can be a coordinate vector, or a sequence of such
vectors.
:repositories
: specify a map of leiningen style repository definitions to be used when
resolving. Defaults to the repositories specified in the current lein
project.
:still
: specifies an alembic still to use. This would be considered advanced
usage (see the tests for an example).
:verbose
: specifies whether WARN messages should be printed to the console if
a version of library is requests and there is already a different
version of the same library in the classpath. Defaults to true
:proxy
: proxy configuration map (the host scheme and type must match).
If not specified (or nil), the proxy configuration is read from
environment variables (http_proxy, http_no_proxy, no_proxy).
:host - proxy hostname
:type - http (default) | http | https
:port - proxy port
:non-proxy-hosts - The list of hosts to exclude from proxying, may be null
:username - username to log in with, may be null
:password - password to log in with, may be null
:passphrase - passphrase to log in wth, may be null
:private-key-file - private key file to log in with, may be null
Add dependencies to the classpath. Returns a sequence of dependency maps. `dependencies` can be a coordinate vector, or a sequence of such vectors. `:repositories` : specify a map of leiningen style repository definitions to be used when resolving. Defaults to the repositories specified in the current lein project. `:still` : specifies an alembic still to use. This would be considered advanced usage (see the tests for an example). `:verbose` : specifies whether WARN messages should be printed to the console if a version of library is requests and there is already a different version of the same library in the classpath. Defaults to true `:proxy` : proxy configuration map (the host scheme and type must match). If not specified (or nil), the proxy configuration is read from environment variables (http_proxy, http_no_proxy, no_proxy). :host - proxy hostname :type - http (default) | http | https :port - proxy port :non-proxy-hosts - The list of hosts to exclude from proxying, may be null :username - username to log in with, may be null :password - password to log in with, may be null :passphrase - passphrase to log in wth, may be null :private-key-file - private key file to log in with, may be null
(extract-jar jar-path)
Extract a jar on the classpath to the filesystem, returning its URL.
Extract a jar on the classpath to the filesystem, returning its URL.
(lein-apply args {:keys [still verbose] :as options})
Invoke lein
Invoke lein
(load-project)
(load-project project)
(load-project
project-file
&
{:keys [still verbose proxy] :or {still the-still verbose true} :as options})
Load project.clj dependencies. Prints the dependency jars that are loaded, and those that were not loaded due to conflicts.
:proxy
: proxy configuration map (the host scheme and type must match).
If not specified (or nil), the proxy configuration is read from
environment variables (http_proxy, http_no_proxy, no_proxy).
:host - proxy hostname
:type - http (default) | http | https
:port - proxy port
:non-proxy-hosts - The list of hosts to exclude from proxying, may be null
:username - username to log in with, may be null
:password - password to log in with, may be null
:passphrase - passphrase to log in wth, may be null
:private-key-file - private key file to log in with, may be null
Load project.clj dependencies. Prints the dependency jars that are loaded, and those that were not loaded due to conflicts. `:proxy` : proxy configuration map (the host scheme and type must match). If not specified (or nil), the proxy configuration is read from environment variables (http_proxy, http_no_proxy, no_proxy). :host - proxy hostname :type - http (default) | http | https :port - proxy port :non-proxy-hosts - The list of hosts to exclude from proxying, may be null :username - username to log in with, may be null :password - password to log in with, may be null :passphrase - passphrase to log in wth, may be null :private-key-file - private key file to log in with, may be null
(load-project* project-file {:keys [still verbose proxy] :as options})
Load project.clj dependencies. Returns a vector of jars required for the dependencies. Loads any of the jars that are not conflicting with versions already on the classpath.
Load project.clj dependencies. Returns a vector of jars required for the dependencies. Loads any of the jars that are not conflicting with versions already on the classpath.
(make-still classloader)
Create an still that that can distill jars into the specified classloader.
Create an still that that can distill jars into the specified classloader.
(meta-inf-properties-url still coords)
Return a URL for the META-INF properties file for the given coords
.
Return a URL for the META-INF properties file for the given `coords`.
(meta-inf-version still coords)
Return a version string for the currently loaded version of the given
coords
.
Return a version string for the currently loaded version of the given `coords`.
(print-coords deps)
Pretty print the dependency coordinates of a sequence of dependencies.
Pretty print the dependency coordinates of a sequence of dependencies.
(project-repositories)
(project-repositories still)
(project-repositories still project-file)
Load project repositories from leiningen.
Load project repositories from leiningen.
(reset-still)
(reset-still still)
Reset the alembic classloader in the still. Can be used to reset the classpath of the still, in case of conflicts, e.g. between lein plugins.
Reset the alembic classloader in the still. Can be used to reset the classpath of the still, in case of conflicts, e.g. between lein plugins.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close