-
-
Notifications
You must be signed in to change notification settings - Fork 179
-
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, putBOOT_EMIT_TARGET=no
in~/.boot/boot.properties
.For example, with
BOOT_EMIT_TARGET=no
, the commandboot aot -a
will aot-compile Clojure files, but it will not write them to the target path. To get that, append thetarget
task to the pipeline:boot aot -a target -d "build/classes"
. -
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 doesBOOT_EMIT_TARGET
mean?"
You can find other developers and users in the #hoplon
channel on freenode IRC or the boot slack channel.
If you have questions or need help, please visit the Discourse site.
- Environments
- Boot environment
- Java environment
- Tasks
- Built-ins
- Third-party
- Tasks Options
- Filesets
- Target Directory
- Pods
- Boot Exceptions
- Configuring Boot
- Updating Boot
- Setting Clojure version
- JVM Options
- S3 Repositories
- Scripts
- Task Writer's Guide
- Require inside Tasks
- Boot for Leiningen Users
- Boot in Leiningen Projects
- Repl reloading
- Repository Credentials and Deploying
- Snippets
- Troubleshooting
- FAQ
- API docs
- Core
- Pod
- Util