-
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
default "lein new" overrides lein-newnew #415
Comments
@technomancy Any idea? ^ |
I can reproduce this, but I cannot understand it. The classpath clearly has lein-newnew ahead of the self-install jar. |
The problem is the .class files from lein's built-in task are of a newer date than the lein-newnew plugin. I don't think there's a fix for this other than a new release of lein-newnew. |
Would it make sense to name lein-newnew's task something other than lein new? I know it matches because this functionality will be in Leiningen 2.0, but perhaps a new release of |
I'd really hate to do that. I don't want people instructing users to use 'generate' because of "some nutty bug". |
I wonder if I could fake out the timestamps on the .class files for future leiningen releases to be artificially old. This is normally a good feature of Clojure. |
I'm trying to instantiate a template w/
lein-newnew
on Leiningen 1.7.0, but the defaultlein new
task seems to be catching everything. Here's a test:lein templates
now produces:but running
lein new template helperproject
generates a new project called "helperproject" with ahelper.core.clj
file. I guess user level plugins are getting squashed?The text was updated successfully, but these errors were encountered: