James Carr | 4 May 2010 04:47
Picon
Gravatar

More info on tweets?

Where can find some more info on the following tweets made by GradleOrg today?

* Gradle has now native support for executing commands and Java code.
It's integrated with the dependency management and the logging system.

* Gradle provides now support for parallel test execution.

Thanks,
James

Jason Porter | 4 May 2010 08:11
Picon
Gravatar

Re: More info on tweets?



On Mon, May 3, 2010 at 20:47, James Carr <james.r.carr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Where can find some more info on the following tweets made by GradleOrg today?

* Gradle has now native support for executing commands and Java code.
It's integrated with the dependency management and the logging system.

<hans> There are now two tasks:
<hans> task exec(type: Exec) { ... }
<lg_jp> Which ticket is that from?
<hans> task java(type: Javaexec) { classpath = configurations.compile ... }
<hans> As well as methods:
<hans> exec { ... } and javaexec { ... }
<lg_jp> Awesome, we needed those tasks.  Are they added to the Java plugin then?
<hans> Yes.
<lg_jp> task java(type: Javaexec) { classpath = configurations.compile ... } shouldn't that be configurations.runtime ?
<hans> It usually should :)
<lg_jp> :)
<lg_jp> You're right.
<lg_jp> Hm... I wonder if this will make plugins easier in some cases.
<lg_jp> Maybe not because most of the things have ant tasks
<lg_jp> Do these fork into their own JVM process?
<hans> Yes.
<hans> It is just more convenient then the Ant tasks.
<hans> Specially the handling of the output.
<lg_jp> Sure.
<lg_jp> Ah, very true.
<hans> With Ant you had to use the output properties of the Ant task.
<hans> With the new stuff by default standard out is shown on the console.
<hans> But you can redirect it to any other log level easily.

 
* Gradle provides now support for parallel test execution.

Don't have any info on this one, sorry.  Best I've got is http://jira.codehaus.org/browse/GRADLE-926 which isn't of much help at all.  I'm sure Adam can shed some more light on it though.
 
Thanks,
James

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email





--
Jason Porter

Software Engineer
Open Source Advocate

PGP key id: 926CCFF5
PGP key available at: keyserver.net, pgp.mit.edu
Hans Dockter | 4 May 2010 08:12

Re: More info on tweets?



On Tue, May 4, 2010 at 4:47 AM, James Carr <james.r.carr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Where can find some more info on the following tweets made by GradleOrg today?

So far only in the Javadoc of master. Our nightly latest docs update is not working currently. So you need to look in the code.
 

* Gradle has now native support for executing commands and Java code.
It's integrated with the dependency management and the logging system.

* Gradle provides now support for parallel test execution.

See the get/setMaxParallelPorts in http://github.com/gradle/gradle/blob/master/subprojects/gradle-plugins/src/main/groovy/org/gradle/api/tasks/testing/Test.java

- Hans

--
Hans Dockter
Founder, Gradle
http://www.gradle.org, http://twitter.com/gradleorg
CEO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz
Hans Dockter | 4 May 2010 08:13

Re: More info on tweets?



On Tue, May 4, 2010 at 8:12 AM, Hans Dockter <hans <at> gradle.biz> wrote:


On Tue, May 4, 2010 at 4:47 AM, James Carr <james.r.carr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Where can find some more info on the following tweets made by GradleOrg today?

So far only in the Javadoc of master. Our nightly latest docs update is not working currently. So you need to look in the code.
 

* Gradle has now native support for executing commands and Java code.
It's integrated with the dependency management and the logging system.

* Gradle provides now support for parallel test execution.

I mean  get/setMaxParallelForks :)

- Hans

--
Hans Dockter
Founder, Gradle
http://www.gradle.org, http://twitter.com/gradleorg
CEO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz

James Carr | 4 May 2010 15:47
Picon
Gravatar

Re: More info on tweets?

Thanks... amusingly I built gradle from source this morning so I can
play around with these two features today... I use the ant.java task
often for test runners (Scala SpecS, Fitnesse, JBehave, etc) so this
will improve my build scripts a great deal. :)

Thanks,
james

On Tue, May 4, 2010 at 1:13 AM, Hans Dockter <hans@...> wrote:
>
>
> On Tue, May 4, 2010 at 8:12 AM, Hans Dockter <hans@...> wrote:
>>
>>
>> On Tue, May 4, 2010 at 4:47 AM, James Carr <james.r.carr@...> wrote:
>>>
>>> Where can find some more info on the following tweets made by GradleOrg
>>> today?
>>
>> So far only in the Javadoc of master. Our nightly latest docs update is
>> not working currently. So you need to look in the code.
>>
>>>
>>> * Gradle has now native support for executing commands and Java code.
>>> It's integrated with the dependency management and the logging system.
>>
>> See the tasks:
>>
>>
>> http://github.com/gradle/gradle/blob/master/subprojects/gradle-core/src/main/groovy/org/gradle/api/tasks/JavaExec.java
>>
>> http://github.com/gradle/gradle/blob/master/subprojects/gradle-core/src/main/groovy/org/gradle/api/tasks/Exec.java
>>
>> And the methods exec and javaexec in
>> http://github.com/gradle/gradle/blob/master/subprojects/gradle-core/src/main/groovy/org/gradle/api/Project.java
>>
>>>
>>> * Gradle provides now support for parallel test execution.
>>
>> See the get/setMaxParallelPorts in
>> http://github.com/gradle/gradle/blob/master/subprojects/gradle-plugins/src/main/groovy/org/gradle/api/tasks/testing/Test.java
>
> I meanĀ  get/setMaxParallelForks :)
>
> - Hans
>
> --
> Hans Dockter
> Founder, Gradle
> http://www.gradle.org, http://twitter.com/gradleorg
> CEO, Gradle Inc. - Gradle Training, Support, Consulting
> http://www.gradle.biz
>
>


Gmane