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.
(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`.
(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]].
(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.
(make-java-compiler & _)
Return the platform's default java compiler.
Return the platform's default java compiler.
(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.
(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]]
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close