« Return to Thread: a quick and dirty wrapper for the grails-app build

Re: a quick and dirty wrapper for the grails-build

by Peter Ledbrook :: Rate this Message:

Reply to Author | View in Thread

Hi Helmut,

> what could be done IMO from the gradle-perspective is a
> quick&dirty solution, that can be useful as long as grails
> doesnt come out with something better.

What each Gradle task of the plugin needs to do is instantiate the class:

  org.codehaus.groovy.grails.cli.support.GrailsBuildHelper

set the compile, test, and runtime classpaths, and then execute the
appropriate Grails command/script (via the above class). The Grails
Ant task (grails.ant.GrailsTask) is an example of how the process
works.

The key is to pass the dependencies from Gradle to the
GrailsBuildHelper instance.

Hope that helps,

Peter

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

    http://xircles.codehaus.org/manage_email


 « Return to Thread: a quick and dirty wrapper for the grails-app build