Liking cljdoc? Tell your friends :D

fr.jeremyschoffen.mbt.alpha.core.compilation.java

Minimal api wrapping some of the java.tools apis providing java compilation utilities.

Minimal api wrapping some of the `java.tools` apis providing java compilation utilities.
      
raw docstring

compile!clj

(compile!
  {compiler :fr.jeremyschoffen.mbt.alpha.compilation.java/compiler
   file-manager :fr.jeremyschoffen.mbt.alpha.compilation.java/file-manager
   out :fr.jeremyschoffen.mbt.alpha.compilation.java/compiler-out
   diagnostic-listener
     :fr.jeremyschoffen.mbt.alpha.compilation.java/diagnostic-listener
   options :fr.jeremyschoffen.mbt.alpha.compilation.java/options
   classes :fr.jeremyschoffen.mbt.alpha.compilation.java/compiler-classes
   compilation-unit
     :fr.jeremyschoffen.mbt.alpha.compilation.java/compilation-unit})

Compile java files. This function makes a compilation task with compiler.getTask and immediatly calls .call on it.

See: javax.tool.JavaCompiler.

Compile java files. This function makes a compilation task with `compiler.getTask` and immediatly calls `.call on
it`.

See: `javax.tool.JavaCompiler`.
sourceraw docstring

external-filesclj

(external-files {i :fr.jeremyschoffen.mbt.alpha.classpath/index})

Use an indexed classpath to find all .java files from src directories located outside the working directory. These would be namespaces from local deps or directly from a git repo.

See:

Use an indexed classpath to find all .java files from src directories located outside the working directory.
These would be namespaces from local deps or directly from a git repo.

See:
- [[fr.jeremyschoffen.mbt.alpha.core.classpath/indexed-classpath]].
sourceraw docstring

jar-filesclj

(jar-files {i :fr.jeremyschoffen.mbt.alpha.classpath/index})
source

make-compilation-unitclj

(make-compilation-unit
  {file-manager :fr.jeremyschoffen.mbt.alpha.compilation.java/file-manager
   sources :fr.jeremyschoffen.mbt.alpha.compilation.java/sources})

Make a compilation unit to give a compilation task using a file manager.

Make a compilation unit to give a compilation task using a file manager.
sourceraw docstring

make-java-compilerclj

(make-java-compiler & _)

Return the platform's default java compiler.

Return the platform's default java compiler.
sourceraw docstring

make-standard-file-managerclj

(make-standard-file-manager
  {compiler :fr.jeremyschoffen.mbt.alpha.compilation.java/compiler
   opts :fr.jeremyschoffen.mbt.alpha.compilation.java.file-manager/options})

Make a standard file manager from a java compiler.

Make a standard file manager from a java compiler.
sourceraw docstring

project-filesclj

(project-files {i :fr.jeremyschoffen.mbt.alpha.classpath/index})

Use an indexed classpath to find all .java files src directories from inside the working directory.

See:

Use an indexed classpath to find all .java files src directories from inside the working directory.

See:
- [[fr.jeremyschoffen.mbt.alpha.core.classpath/indexed-classpath]]
sourceraw docstring

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

× close