Re: clj-gradle – a Clojure Plugin for Gradle
Hi, On Oct 15, 2:12 am, Mark Derricutt m...@talios.com wrote: Does Gradle have a release plugin? Thats one of the most compelling reasons for maven usage I find (personally). I don't really know what the maven release plugin does. And since I'm not a professional software developer I also don't really know what it's supposed to do. With gradle you define a task (uploadArchives) which specifies repositories, where the resulting artifacts are supposed to be published. For maven repos it generates a pom.xml, for Ivy it generates an ivy.xml and for a simple ftp site it just puts the file there. At least this is my understanding how it works. For me this is sufficient. One can also have multiple archive definitions containing differents sets of artifacts with different upload tasks. So there is also some flexibility if necessary. My main concern with ant, is that you can't really control what happens. For the eg. VimClojure installation I have to know the systems, because directories are named differently on Unix and Windows. In ant this is a real problem (if I go with stock ant). Or for contrib: In my Ivy-enabled fork I generate build.xmls for the different components, because you can't really do it in build.xml. In gradle (and lancet for that matter), I can define a function (lancet: macro) to set up a component and then simply iterate over the component definitions. As soon as lancet integrates with ivy I will probably happily switch over since I still prefer Clojure over Groovy. But for now Gradle just does the trick for me. Sincerely Meikel --~--~-~--~~~---~--~~ 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: clj-gradle – a Clojure Plugin for Gradle
The maven release plugin does pretty much that, only it doesn't do any ivy stuff. However, it also checks: * No uncommitted files * No files in working copy that are not under VCS * Automatically tags (and optionally branches) the code at time of release * Automatically incremements your version numbers Its very handy. -- Pull me down under... On Thu, Oct 15, 2009 at 7:30 PM, Meikel Brandmeyer m...@kotka.de wrote: I don't really know what the maven release plugin does. And since I'm not a professional software developer I also don't really know what it's supposed to do. With gradle you define a task (uploadArchives) which specifies repositories, where the resulting artifacts are supposed to be published. For maven repos it generates a pom.xml, for Ivy it generates an ivy.xml and for a simple ftp site it just puts the file there. At least this is my understanding how it works. For me this is sufficient. One can also have multiple archive definitions containing differents sets of artifacts with different upload tasks. So there is also some flexibility if necessary. --~--~-~--~~~---~--~~ 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: clj-gradle – a Clojure Plugin for Gradle
On Oct 13, 9:16 pm, Meikel Brandmeyer m...@kotka.de wrote: Hi, I'd like to announce the first release of a Clojure plugin for Gradle. It features integration in the Gradle build and configuration system and automatic namespace discovery for compilation. It is targeted for Gradle 0.8. An example of use is included in the README. http://bitbucket.org/kotarak/clj-gradle If you are interested in a more dynamic build script than ant (and maybe maven?) allows have look and let me know what you think. To build the plugin set the GRADLE_HOME environment variable to the directory, where you installed Gradle. Put the clojure.jar in the lib subdirectory and adjust the version information in the build.gradle file. The file should be named clojure-version.jar. The plugin is tested with clojure 1.0 but post-1.0 should also work. Issues can be reported on the bitbucket issue tracker ('Issues' tab at above link). Just wondering: how does it compare to Lancet? ( http://github.com/stuarthalloway/lancet ) Raphaël PS: Stu, is Lancet maintained or was it just an illustration for the book? Sincerely Meikel smime.p7s 3KViewDownload --~--~-~--~~~---~--~~ 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: clj-gradle – a Clojure Plugin for Gradle
On Oct 14, 9:27 am, rb raphi...@gmail.com wrote: Just wondering: how does it compare to Lancet? (http://github.com/stuarthalloway/lancet I was just wondering the same thing after reading the following point in the Gradle doc 8) -Ant tasks and builds as first class citizens. Anybody out there using Lancet on a real project? I wonder if Relevance is using it. --~--~-~--~~~---~--~~ 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: clj-gradle – a Clojure Plugin for Gradle
Hi, On Oct 14, 3:34 pm, Jeff Heon jfh...@gmail.com wrote: Just wondering: how does it compare to Lancet? (http://github.com/stuarthalloway/lancet I was just wondering the same thing after reading the following point in the Gradle doc 8) -Ant tasks and builds as first class citizens. From a I want to get my work done today point of view, lancet cannot compete with Gradle at the moment. Gradle provides dependency handling, archive creation, deployment etc. which have to implement with lancet first. Once this is done, there probably won't be a big difference. Besides that, there is also the strange idea, that every programming languages needs its own make clone. Just a bit of devil's advocate: why not make the language interface easily with existing build systems and use those? Eg. Gradle can be extended with a Clojure frontend (instead of Groovy). In theory. Don't know whether it still viable in practice. Sincerely Meikel --~--~-~--~~~---~--~~ 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: clj-gradle – a Clojure Plugin for Gradle
Nor would lancet compete with maven, and clojure-maven-plugin which also does everything you mention :) Does Gradle have a release plugin? Thats one of the most compelling reasons for maven usage I find (personally). -- Pull me down under... On Thu, Oct 15, 2009 at 3:15 AM, Meikel Brandmeyer m...@kotka.de wrote: From a I want to get my work done today point of view, lancet cannot compete with Gradle at the moment. --~--~-~--~~~---~--~~ 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: clj-gradle – a Clojure Plugin for Gradle
Relevance is not using Lancet. We use rake (mostly) and ant (a little). I still think Lancet is a good idea, just don't have time to work with it right now. Conjure (http://github.com/macourtney/Conjure) uses Lancet. Stu On Oct 14, 9:27 am, rb raphi...@gmail.com wrote: Just wondering: how does it compare to Lancet? (http://github.com/stuarthalloway/lancet I was just wondering the same thing after reading the following point in the Gradle doc 8) -Ant tasks and builds as first class citizens. Anybody out there using Lancet on a real project? I wonder if Relevance is using it. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
clj-gradle – a Clojure Plugin for Gradle
Hi, I'd like to announce the first release of a Clojure plugin for Gradle. It features integration in the Gradle build and configuration system and automatic namespace discovery for compilation. It is targeted for Gradle 0.8. An example of use is included in the README. http://bitbucket.org/kotarak/clj-gradle If you are interested in a more dynamic build script than ant (and maybe maven?) allows have look and let me know what you think. To build the plugin set the GRADLE_HOME environment variable to the directory, where you installed Gradle. Put the clojure.jar in the lib subdirectory and adjust the version information in the build.gradle file. The file should be named clojure-version.jar. The plugin is tested with clojure 1.0 but post-1.0 should also work. Issues can be reported on the bitbucket issue tracker ('Issues' tab at above link). Sincerely Meikel smime.p7s Description: S/MIME cryptographic signature
Re: clj-gradle – a Clojure Plugin for Gradle
Hi again, Am 13.10.2009 um 21:16 schrieb Meikel Brandmeyer: To build the plugin set the GRADLE_HOME environment variable to the directory, where you installed Gradle. Put the clojure.jar in the lib subdirectory and adjust the version information in the build.gradle file. The file should be named clojure-version.jar. The plugin is tested with clojure 1.0 but post-1.0 should also work. The plugin jar will end up in build/libs. Sincerely Meikel smime.p7s Description: S/MIME cryptographic signature
Re: clj-gradle – a Clojure Plugin for Gradle
Hello, is the automatic namespace discovery for compilation something that could be shared ? How smart is it right now ? Cheers, -- Laurent 2009/10/13 Meikel Brandmeyer m...@kotka.de Hi, I'd like to announce the first release of a Clojure plugin for Gradle. It features integration in the Gradle build and configuration system and automatic namespace discovery for compilation. It is targeted for Gradle 0.8. An example of use is included in the README. http://bitbucket.org/kotarak/clj-gradle If you are interested in a more dynamic build script than ant (and maybe maven?) allows have look and let me know what you think. To build the plugin set the GRADLE_HOME environment variable to the directory, where you installed Gradle. Put the clojure.jar in the lib subdirectory and adjust the version information in the build.gradle file. The file should be named clojure-version.jar. The plugin is tested with clojure 1.0 but post-1.0 should also work. Issues can be reported on the bitbucket issue tracker ('Issues' tab at above link). Sincerely Meikel --~--~-~--~~~---~--~~ 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: clj-gradle – a Clojure Plugin for Gradle
Hi, Am 13.10.2009 um 21:34 schrieb Laurent PETIT: is the automatic namespace discovery for compilation something that could be shared ? How smart is it right now ? Very similar to c.c.find-namespaces. Gradle hands over a list of source files. This list is traversed. The first form is read. If it has a ns or clojure.core/ns as first element the second is returned. Otherwise the file is ignored. So nothing really new. (The whole Java/Groovy thing is file based, so it has to handle the passed files somehow.) http://bitbucket.org/kotarak/clj-gradle/src/tip/src/main/java/de/kotka/gradle/ClojureCompile.java Sincerely Meikel smime.p7s Description: S/MIME cryptographic signature
Re: clj-gradle – a Clojure Plugin for Gradle
Ok, thanks for the insight, cu, -- laurent 2009/10/13 Meikel Brandmeyer m...@kotka.de Hi, Am 13.10.2009 um 21:34 schrieb Laurent PETIT: is the automatic namespace discovery for compilation something that could be shared ? How smart is it right now ? Very similar to c.c.find-namespaces. Gradle hands over a list of source files. This list is traversed. The first form is read. If it has a ns or clojure.core/ns as first element the second is returned. Otherwise the file is ignored. So nothing really new. (The whole Java/Groovy thing is file based, so it has to handle the passed files somehow.) http://bitbucket.org/kotarak/clj-gradle/src/tip/src/main/java/de/kotka/gradle/ClojureCompile.java Sincerely Meikel --~--~-~--~~~---~--~~ 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: clj-gradle – a Clojure Plugin for Gradle
Thank you SO much for writing this. We use gradle for our groovy stuff. Now we can intergrate clojure into the build process. On Oct 13, 2009, at 3:16 PM, Meikel Brandmeyer m...@kotka.de wrote: Hi, I'd like to announce the first release of a Clojure plugin for Gradle. It features integration in the Gradle build and configuration system and automatic namespace discovery for compilation. It is targeted for Gradle 0.8. An example of use is included in the README. http://bitbucket.org/kotarak/clj-gradle If you are interested in a more dynamic build script than ant (and maybe maven?) allows have look and let me know what you think. To build the plugin set the GRADLE_HOME environment variable to the directory, where you installed Gradle. Put the clojure.jar in the lib subdirectory and adjust the version information in the build.gradle file. The file should be named clojure-version.jar. The plugin is tested with clojure 1.0 but post-1.0 should also work. Issues can be reported on the bitbucket issue tracker ('Issues' tab at above link). Sincerely Meikel --~--~-~--~~~---~--~~ 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: clj-gradle – a Clojure Plugin for Gradle
Hi, On Oct 14, 12:32 am, Wilson MacGyver wmacgy...@gmail.com wrote: Thank you SO much for writing this. We use gradle for our groovy stuff. Now we can intergrate clojure into the build process. Good to hear, you find it useful. But be aware that this plugin is not really tested. I don't really have a clue about Gradle, yet. So if something doesn't work correctly, please let me know. I plan to extend the plugin slowly with test integration and more general clojure specific options. Eg. *warn-on-reflection*. But for now only plain compilation is supported. Any feedback and ideas are appreciated. Sincerely Meikel --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---