« Return to Thread: Fragility vis war generation

Re: Fragility vis war generation

by astachel :: Rate this Message:

Reply to Author | View in Thread

I think my understanding was that these libraries would still be relative to $GRAILS_HOME/lib, however I stumbled across a JIRA item that mentioned that this value can be a closure that contains a fileset.  I'll try that option.

Peter Ledbrook-2 wrote:
On 21/04/2008, astachel <adam@cantinaconsulting.com> wrote:
>
>  +1
>
>  Additionally, I've had a bear of a time integrating a Grails application
>  into an existing continuous build environment that is based primarily on a
>  lot of Ant scripts.  The scripts also manage constructing dependencies (not
>  based on Ivy or Maven), and I have not yet seen a good way to integrate this
>  process with Grails yet, as the the $GRAILS_HOME/lib JARs are hardcoded into
>  War.groovy.  I'd love it if I could construct my own set of libs for war
>  generation, and have the script use that.

Provide the following setting in Config.groovy:

  grails.war.dependencies = [ ... ]

This allows you to customise which libraries go into the war file.

Cheers,

Peter

--
Software Engineer
G2One, Inc.
http://www.g2one.com/

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

    http://xircles.codehaus.org/manage_email

 « Return to Thread: Fragility vis war generation

LightInTheBox - Buy quality products at wholesale price