Re: Clojure jar files.
On Fri, 2011-10-21 at 09:19 +0530, Baishampayan Ghose wrote: If you are going to upload your library to any Maven (or similar) repo that's accessible through Leiningen, then you may choose to not include a project.clj file; in any case, if you yourself are using Leiningen, you should include that file. FWIW, Leiningen can generate pom.xml files from project.clj as well. Moreover, Leiningen can deploy to Maven repos. So it is probably easier to accept whatever `lein jar', `lein install', or `lein deploy', depending on your preference, gives you, rather than reinventing that part of Leiningen. -- Stephen Compall ^aCollection allSatisfy: [:each|aCondition]: less is better -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Clojure jar files.
Clojure.jar does not have a project.clj file because it is all java code, right? If it is all java code then it's a (java) jar file. I found this convention of bundling a clojure jar file with a project.clj file - lein does this and that's all I know - so I was curious to know if every other build tool which people use does the same thing? -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Clojure jar files.
Manoj, On Fri, Oct 21, 2011 at 9:09 AM, mmwaikar mmwai...@gmail.com wrote: Clojure.jar does not have a project.clj file because it is all java code, right? If it is all java code then it's a (java) jar file. I found this convention of bundling a clojure jar file with a project.clj file - lein does this and that's all I know - so I was curious to know if every other build tool which people use does the same thing? Clojure has a lot of Clojure code as well! The only difference is that it doesn't use Leiningen for building the project, but instead uses Maven directly. If you are going to upload your library to any Maven (or similar) repo that's accessible through Leiningen, then you may choose to not include a project.clj file; in any case, if you yourself are using Leiningen, you should include that file. FWIW, Leiningen can generate pom.xml files from project.clj as well. Regards, BG -- Baishampayan Ghose b.ghose at gmail.com -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Clojure jar files.
Hi, Is it mandatory that a clojure jar file, no matter packaged using whichever tool (other than leiningen, for ex.), should have a project.clj file? Thanks, Manoj. -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en
Re: Clojure jar files.
Do whatever you want. Look inside clojure.jar - do you see a project.clj file? That said, I think it's polite to provide them if you're using lein or cake yourself, so that other users can read a config file that's not a POM. On Oct 19, 10:07 pm, mmwaikar mmwai...@gmail.com wrote: Hi, Is it mandatory that a clojure jar file, no matter packaged using whichever tool (other than leiningen, for ex.), should have a project.clj file? Thanks, Manoj. -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en