-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explain profiles / deps in debug mode? #2703
Labels
Comments
I think this is a good idea if anyone wants to submit a patch to implement it. |
I am getting the same issue |
Removing the |
This workaround resolved my issue: #1477 (comment) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear Leiningen team, big thanks for all the great work you do.
I have a java source file in my codebase and I was playing around with
lein javac
.If I run it after
lein clean
it somehow pulls Clojure code that requires that java class from the source file. So it throws aClassNotFoundException
as the class isn't compiled yet.After lots of experimentation I managed to successfully run
lein with-profile base javac
. This, apparently doesn't pull and Clojure code, so javac compiles successfully.Maybe DEBUG mode could have been more helpful here if it told me which profiles it used.
Output from
lein with-profile base javac
looks like:Output from plain
lein javac
project.clj looks like
So, would be cool if instead of:
I would get a list of profiles and the merged deps / source-paths and ideally a reason why it is this way. And maybe a reference of a doc section to read.
I think this would be big for you as well as this eliminates lots of potential issues and fruitless discussions.
P.S. again – big thanks for your work. Using lein for many years, and so far was satisfied. I look forward to be supporting lein more in the future as soon as I'll have some income back again.
The text was updated successfully, but these errors were encountered: