Skip to content
Gregg Reynolds edited this page Feb 10, 2016 · 5 revisions

Boot Frequently Asked Questions

  1. What does BOOT_EMIT_TARGET mean?

    This Java environment variable controls automatic (implicit) synchronization of fileset to target path. This synchronization occurs automatically upon completion of pipeline processing, but it is deprecated. The preferred way to synchronize is to explicitly add the target task to the pipeline. (See "Target is a Task" in Boot 2.5: Slow is smooth, smooth is fast.) In future, the default will be to not synchronize automatically on pipeline completion; in the meantime, BOOT_EMIT_TARGET can be used to turn automatic synchronization off. To make this the default for all of your projects, put BOOT_EMIT_TARGET=no in ~/.boot/boot.properties.

    For example, with BOOT_EMIT_TARGET=no, the command boot aot -a will aot-compile Clojure files, but it will not write them to the target path. To get that, append the target task to the pipeline: boot aot -a target -d "build/classes".

  2. What does "Implicit target dir is deprecated, please use the target task instead." mean?

    You'll get this message when you run boot if you have not set BOOT_EMIT_TARGET=no. See FAQ 1, "What does BOOT_EMIT_TARGET mean?"

Clone this wiki locally