On Thu, 2009-08-06 at 06:12 -0700, Kimble wrote:
> Why are there no 'run' task in the Java or Groovy plugin? It would be nice to
> define the project's main class in the build.gradle file and run the project
> similar to Maven's exec:java. 

I agree it is good to have a "run" capability, but I note two things:

1.  Maven doesn't have a "run" capability by default, you have to use
the Codehaus Mojo Exec plugin -- its an extra.

2.  Unlike Maven, but like Ant and Gant, Gradle allows you to define new
tasks at will.  I would have thought writing a run task would take about
5s.

:-)

-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: [email protected]
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:[email protected]
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to