You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WARNING: You have $CLASSPATH set, probably by accident.
It is strongly recommended to unset this before proceeding.
This is from the Leiningen script which checks if this is set. It then sets the CLASSPATH before launching the JVM. When lein-modules builds sub-modules, it does so by executing the leiningen command script in a shell via leiningen.core.eval/sh. Leiningen picks up the current environment (unless overridden by a dynamic binding) which has the CLASSPATH set in it now, hence the warnings.
I think that adding a new binding before executing the shell should solve the issue, but I wanted to ask before making a PR:
When setting up simple modules, they each report:
This is from the Leiningen script which checks if this is set. It then sets the
CLASSPATH
before launching the JVM. Whenlein-modules
builds sub-modules, it does so by executing the leiningen command script in a shell vialeiningen.core.eval/sh
. Leiningen picks up the current environment (unless overridden by a dynamic binding) which has the CLASSPATH set in it now, hence the warnings.I think that adding a new binding before executing the shell should solve the issue, but I wanted to ask before making a PR:
Lines 194-197
The text was updated successfully, but these errors were encountered: