Liking cljdoc? Tell your friends :D
Clojure only.

badigeon.javac


is-java-file?clj

(is-java-file? path attrs)

javacclj

(javac source-dir)
(javac source-dir
       {:keys [compile-path javac-options] :or {compile-path "target/classes"}})

Compiles java source files found in the "source-dir" directory. Note that the badigeon.javac/javac functions triggers the start of Clojure agents. You might want to call clojure.core/shutdown-agents to close the agent thread pools.

  • source-dir: The path of a directory containing java source files.
  • compile-path: The path to the directory where .class file are emitted.
  • javac-options: A vector of the options to be used when invoking the javac command. Default to using a "-cp" argument computed using the project deps.edn file (without merging the system-level and user-level deps.edn maps) and a "-d" argument equal to the compile-path.
Compiles java source files found in the "source-dir" directory. Note that the badigeon.javac/javac functions triggers the start of Clojure agents. You might want to call clojure.core/shutdown-agents to close the agent thread pools.
- source-dir: The path of a directory containing java source files.
- compile-path: The path to the directory where .class file are emitted.
- javac-options: A vector of the options to be used when invoking the javac command. Default to using a "-cp" argument computed using the project deps.edn file (without merging the system-level and user-level deps.edn maps) and a "-d" argument equal to the compile-path.
raw docstring

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

× close