[gradle-user] Any example on how to import dependencies from ivy.xml into Gradle at runtime at runtime?

2011-04-19 Thread davide.cavestro
Hi all I 'd like to use ivy deps into my gradle script. At http://jira.codehaus.org/browse/GRADLE-197?focusedCommentId=243496page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_243496 GRADLE-197 Hans Dockter said: it is easy to write your own adapter which imports the

[gradle-user] Re: Any example on how to import dependencies from ivy.xml into Gradle at runtime at runtime?

2011-04-19 Thread Peter Niederwieser
The issue doesn't accept new comments because Gradle's issue tracker has moved to http://issues.gradle.org. -- Peter Niederwieser  Developer, Gradle http://www.gradle.org Trainer Consultant, Gradleware http://www.gradleware.com Creator, Spock Framework http://spockframework.org -- View this

Re: [gradle-user] Create a top-level build that triggers build in each subproject?

2011-04-19 Thread Robert Fischer
Don't you have to do subprojects*.tasks*.build these days? For some reason, I've got it in my head that the direct project - task link was broken. ~~ Robert. On Tue, Apr 19, 2011 at 12:08 AM, Adam Murdoch adam.murd...@gradleware.com wrote: On 19/04/2011, at 12:01 PM, Howard Lewis Ship wrote:

[gradle-user] Re: Any example on how to import dependencies from ivy.xml into Gradle at runtime at runtime?

2011-04-19 Thread davide.cavestro
Oh, sorry. I am going to try there. Thanks a lot Peter :-) Cheers Davide -- View this message in context: http://gradle.1045684.n5.nabble.com/Any-example-on-how-to-import-dependencies-from-ivy-xml-into-Gradle-at-runtime-at-runtime-tp4312747p4313103.html Sent from the gradle-user mailing list

[gradle-user] Re: Create a top-level build that triggers build in each subproject?

2011-04-19 Thread Peter Niederwieser
Robert Fischer wrote: Don't you have to do subprojects*.tasks*.build these days? For some reason, I've got it in my head that the direct project - task link was broken. subprojects.build is enough (no .tasks, no *'s). -- Peter Niederwieser  Developer, Gradle http://www.gradle.org

Re: [gradle-user] Re: Execute command line task?

2011-04-19 Thread Ronen Narkis
Wouldn't adding the local tomcat install path as a classpath dependency allow to use the same local tomcat version? from the example given it seems that as long as the jars are added to the classpath it should work isn't it? buildscript { dependencies { def tomcatVersion = '6.0.29'

Re: [gradle-user] ANN: A gradle templates plugin.

2011-04-19 Thread Ronen Narkis
Very nice, Would you mind if I mirror this on github? Ronen On Mon, Apr 18, 2011 at 11:08 PM, Eric Berry elbe...@gmail.com wrote: Hey all, I've been working on a basic templates plugin which can help new Gradle users get up and running faster. I still have some work to do on the plugin,

[gradle-user] Re: Artifacts, repositories and version numbers

2011-04-19 Thread Alexander Kitaev
Hello Szczepan! Thank you for your reply! I didn't manage to explain my intentions properly. What I want to get (and mostly got by now) is the following: 1. Maven Repository (with normal Maven file names and versions) that is proxy for Central repository and also hosts all our company projects

[gradle-user] Re: Execute command line task?

2011-04-19 Thread StormeHawke
Adam Murdoch wrote: A typical approach is to use a custom plugin, which creates the deploy task and configures it appropriately. Your plugin would do something like: deploy.dependsOn war I'm trying to write a custom task as a temporary solution until somebody comes up with a better one

Re: [gradle-user] Re: Execute command line task?

2011-04-19 Thread Ronen Narkis
Cool, I'm planning to give this plugin a go also, we are using tomcat 5.5 which is installed locally, ill try to make it work against it and let you know how it went Ronen On Tue, Apr 19, 2011 at 5:30 PM, StormeHawke brian.trez...@intellidata.netwrote: Adam Murdoch wrote: A typical

[gradle-user] milestone 2 broke a task

2011-04-19 Thread Steve Appling
One of our tasks no longer works with milestone 2. Is anyone aware of an intentional change that would have broken this, or is this a bug. We have: task deploy(description: 'Deploys the war to the webserver', type: Sync, dependsOn:[war]) deploy.doFirst { println Deploying $war.baseName to

Re: [gradle-user] Re: Create a top-level build that triggers build in each subproject?

2011-04-19 Thread Howard Lewis Ship
Thanks! This seems to be working: task continuousIntegration(dependsOn: [subprojects.build, 'aggregateJavadoc']) That's very tight and clean ... I'm just a bit daunted because I'm not sure how I would have found that without asking on the list. On Tue, Apr 19, 2011 at 5:13 AM, Peter

Re: [gradle-user] Create a top-level build that triggers build in each subproject?

2011-04-19 Thread Jason Porter
On Tuesday, April 19, 2011, Howard Lewis Ship hls...@gmail.com wrote: Thanks!  This seems to be working: task continuousIntegration(dependsOn: [subprojects.build, 'aggregateJavadoc']) That's very tight and clean ... I'm just a bit daunted because I'm not sure how I would have found that

Re: [gradle-user] ANN: A gradle templates plugin.

2011-04-19 Thread Spencer Allain
Digging through, this looks like exactly what much of the community has been clamoring for. Couple it with the other enhancement request to be able to use -I/--init-script or -b/--build-file apply from a remote URL and bootstrapping a java/groovy project becomes very easy. So far, my only

Re: [gradle-user] ANN: A gradle templates plugin.

2011-04-19 Thread Eric Berry
Spencer, I like your suggestion. I'll change the task names. Thanks! Eric On Tue, Apr 19, 2011 at 12:44 PM, Spencer Allain spencer_all...@yahoo.comwrote: Digging through, this looks like exactly what much of the community has been clamoring for. Couple it with the other enhancement request

Re: [gradle-user] Create a top-level build that triggers build in each subproject?

2011-04-19 Thread Robert Fischer
You could have at least gotten to my solution by checking out the API JavaDoc on Project. ~~ Robert. On Tue, Apr 19, 2011 at 1:26 PM, Jason Porter lightguard...@gmail.com wrote: On Tuesday, April 19, 2011, Howard Lewis Ship hls...@gmail.com wrote: Thanks!  This seems to be working: task

Re: [gradle-user] ANN: A gradle templates plugin.

2011-04-19 Thread Ken Sipe
Eric, kudos... I think were different plans in place for templating... but they are obviously lower on the priority list. This is a good crutch until that day. +1 for Spencer's suggestion... also... here is what I would like to see (besides it on github :) The sourceset structures are

Re: [gradle-user] ANN: A gradle templates plugin.

2011-04-19 Thread Eric Berry
Hi Ken, On Tue, Apr 19, 2011 at 4:04 PM, Ken Sipe kens...@gmail.com wrote: Eric, kudos... I think were different plans in place for templating... but they are obviously lower on the priority list. This is a good crutch until that day. +1 for Spencer's suggestion... also... here is what