Liking cljdoc? Tell your friends :D

fr.jeremyschoffen.mbt.alpha.default.compilation.java

Higher level api to compile java files.

Higher level api to compile java files.
      
raw docstring

compile!clj

(compile! param)
Compile java files. Same as [[fr.jeremyschoffen.mbt.alpha.core/compile-java!]] with several parameters ensured by
default using [[fr.jeremyschoffen.mbt.alpha.default.compilation.java/ensure-compilation-args]].
sourceraw docstring

default-optionsclj

(default-options
  {classpath-abs :fr.jeremyschoffen.mbt.alpha.classpath/raw-absolute
   dest-dir :fr.jeremyschoffen.mbt.alpha.compilation.java/output-dir})

Make a vector of options to be used when making a compilation task.

Arg keys:

  • :classpath/raw-absolute: used to fill the -cp option of the compiler
  • :compilation.java/output-dir: used to fill the -d option of the compiler allowing to choose where the compiler outputs .class files.
Make a vector of options to be used when making a compilation task.

Arg keys:
- `:classpath/raw-absolute`: used to fill the `-cp` option of the compiler
- `:compilation.java/output-dir`: used to fill the `-d` option of the compiler allowing to choose
  where the compiler outputs .class files.
sourceraw docstring

ensure-compilation-argsclj

(ensure-compilation-args param)

Ensures several :compilation.java/XXX keys.

Ensures several `:compilation.java/XXX` keys.

- `:compilation.java/compiler`: provides a compiler using
  [[fr.jeremyschoffen.mbt.alpha.core/compilation-java-compiler]]
- `:compilation.java/file-manager`: provides a file manager using
  [[fr.jeremyschoffen.mbt.alpha.core/compilation-java-std-file-manager]]
- `:compilation.java/options`: prodide compiler options using
  [[fr.jeremyschoffen.mbt.alpha.default.compilation.java/default-options]]
- `:compilation.java/sources`: provide the project java sources using
  [[fr.jeremyschoffen.mbt.alpha.core/compilation-java-project-files]]
- `:compilation.java/compilation-unit`: make a compilation unit from the sources with
  [[fr.jeremyschoffen.mbt.alpha.core/compilation-java-unit]]
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close