On Mon, May 3, 2010 at 20:47, James Carr <[email protected]> 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> http://jira.codehaus.org/browse/GRADLE-927
<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

Reply via email to