Skip to content
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

AOT compilations in `lein jar' ignored by jar users #24

Closed
S11001001 opened this issue Mar 9, 2010 · 3 comments
Closed

AOT compilations in `lein jar' ignored by jar users #24

S11001001 opened this issue Mar 9, 2010 · 3 comments

Comments

@S11001001
Copy link
Contributor

.class files and .clj files in a jar generated by `lein jar' all have the same timestamp. As such, the compiler and loader will not use the .class files when loading modules.

This can be confirmed by depending on a project with a Leiningen-built jar, e.g. clojure-csv from clojars, running `lein compile', and seeing that com.davidsantiago.csv is compiled into the classes/ directory.

@S11001001
Copy link
Contributor Author

Fixed in my fork, branch lein-jar-use-aot.

@S11001001
Copy link
Contributor Author

Committed to trunk in c99d28e.

@technomancy
Copy link
Owner

Thanks; closing.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants