Ok, I have solved the first of the three points (note to self: RTFM (ok, did that), don't think you understood it and RTFM again). The problem was that I didn't declare all dependencies required to _compile_ the project. Transitive in Maven gets you the transitive ones for compilation also, which can muddy the waters. And finding a good JMS jar is always a problem.
The other issues are still open. Cheers, Daniel PS: As a help for Maven deserters please add highlighted boxes for transitioning to the guide. This one will bug many first time Gradle users coming from Maven. On Tue, May 26, 2009 at 12:01 AM, Daniel <dan.in.a.bot...@gmail.com> wrote: > (potential double post: xircles doesn't handle aliased email addresses from > gmail (gmail's fault)) > > I'm trying to get a small project on Gradle 0.6. Without too much success > so far unfortunately. > > I could try to describe what I actually have right now, but I guess better > would be if you check the source that's failing. A minimal set is at > http://gist.github.com/117570 (can be viewed with the browser if you don't > have git installed). > > The current issues are: > * Transitive Dependencies from 'org.apache.activemq:activemq-core:5.2.0' > (just for test purposes) > I cannot figure out how to get Gradle to resolve the dependencies. I tried > many things, but without success so far. > > * Adding local Maven cache to help with dependency resolution > (${user.home}/.m2/repo) > I don't have very fast/stable internet access. So I would love to reuse my > local ~/.m2/repo if possible. > > * Download artifacts that are not in a maven repo ( > http://downloads.sourceforge.net/jython/jython_installer-2.5rc2.jar) > * Preprocess these non standard artifacts (java -jar > jython_installer-2.5rc2.jar -s -d artifact -t standalone -v) > I'm trying to mix Java code with Python/Jython code in one build. But I'd > like to use jython 2.5rc2 and do some preprocessing on it (because it's an > installer and not the actual dependency. (disclaimer: I didn't work much on > this issue yet, because of the transitive download didn't work, it might be > simple and/or well documented). > > I'm coming from a Maven background, so I'm very used to Mavens workflow. I > did work with Ant long time ago and I have know some things about Ivy, but > never used it. I guess it's just a simple thing, but I'm a bit lost. > > Any help deeply appreciated. > > Cheers, > Daniel > > PS: Oh, and thanks for Gradle. As mentioned, I did a lot of Maven stuff, > but there are issues with maven. Not the least of them is that it can be > very annoying to do something that's not really supported by Maven (like my > interaction with Jython, that uses and preprocesses a non standard > dependency). > > PPS: below is my runtime environment and the gist on github contains the > output of a 'gradle -d compile' > > ------------------------------------------------------------ > Gradle 0.6 > ------------------------------------------------------------ > > Gradle buildtime: Wednesday, May 20, 2009 2:58:00 PM CEST > Groovy: 1.5.6 > Ant: Apache Ant version 1.7.0 compiled on December 13 2006 > Ivy: 2.1.0-rc1 > Java: 1.6.0_07 > JVM: 1.6.0_07-b06-57 > JVM Vendor: Apple Inc. > OS Name: Mac OS X >