-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
Description
Initial debugging steps
Before creating a report, especially around exceptions being thrown when running Leiningen, please check if the error still occurs after:
- Updating to using the latest released version of Leiningen (
lein upgrade). - Moving your
~/.lein/profiles.clj(if present) out of the way. This contains third-party dependencies and plugins that can cause problems inside Leiningen. - Updating any old versions of plugins in your
project.clj, especially if the problem is with a plugin not working. Old versions of plugins like nREPL and CIDER (as well as others) can cause problems with newer versions of Leiningen. - (If you are using Java 9 or newer), updating your dependencies to their most recent versions. Recent JDK's have introduced changes which can break some Clojure libraries.
Describe the bug
Implicit javac Task Doesn't Receive Project Map as Produced by update-in.
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/timvisher/leiningen-bug-update-in-implicit-javac && cd leiningen-bug-update-in-implicit-javac- Ensure docker, curl, tar, and mktemp all are present.
- Run the command
./run_bug_repro - See that the final execution fails despite
update-inbeing used to correct:java-cmd.
Actual behavior
javac uses the original definition of :java-cmd rather than the updated definition.
Expected behavior
javac uses the update-ined definition of :java-cmd to use the correct install of javac.
Link to sample project
https://github.com/timvisher/leiningen-bug-update-in-implicit-javac
Environment
- Leiningen Version:
Leiningen 2.9.3 on Java 1.8.0_242 OpenJDK 64-Bit Server VM - Leiningen installation method: manual
- JDK Version:
openjdk version "1.8.0_242" OpenJDK Runtime Environment (Zulu 8.44.0.13-CA-linux64) (build 1.8.0_242-b20) OpenJDK 64-Bit Server VM (Zulu 8.44.0.13-CA-linux64) (build 25.242-b20, mixed mode) - OS: Ubuntu 18.04
- Anything else that might be relevant to your problem?
N/A
Additional context
N/A
Reactions are currently unavailable