Now there's an idea, read the latest docs!! :-) 

I hadn't realised that an up to date user guide was distributed with the
download! thanks for pointing this out. 



OreoC wrote:
> 
> I'm almost afraid of the 0.8 to 0.9 transition hah.
> 
> Roger
> 
> On Mar 2, 2010, at 8:35 AM, Peter Ledbrook wrote:
> 
>>> Is this the recommended 0.9 approach ?
>> 
>> This is from a recent snapshot of the 0.9 guide:
>> 
>> war {
>>    from 'src/rootContent' // adds a file-set to the root of the archive
>>    webInf { from 'src/additionalWebInf' } // adds a file-set to the
>> WEB-INF dir.
>>    classpath fileTree('additionalLibs') // adds a file-set to the
>> WEB-INF/lib dir.
>>    classpath configurations.moreLibs // adds a configuration to the
>> WEB-INF/lib dir.
>>    webXml = file('src/someWeb.xml') // copies a file to WEB-INF/web.xml
>> }
>> 
>> Looks like you can use the classpath() method.
>> 
>> Cheers,
>> 
>> Peter
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>> 
>>    http://xircles.codehaus.org/manage_email
>> 
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/adding-jars-to-the-WEB-INF-lib-of-a-war-gradle-0.9-tp27755915p27756080.html
Sent from the gradle-user mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email


Reply via email to