Luca Guzzon wrote:
>
> PS You just forgot the copy { ... } section
>
I didn't forget it. Actually it's wrong to include it because then the
copying will again take place at configuration time, and even if the task
isn't invoked.
The solution I gave seems fine and works for me.
--
Peter Niederwieser
Principal Engineer, Gradleware
http://gradleware.com
Creator, Spock Framework
http://spockframework.org
Twitter: @pniederw
Luca Guzzon wrote:
>
> Thanks,
> here the solution that work for me (tested on Linux and Windows) based on
> your hint:
>
> "
> task copyRuntimeLibraries(type: Sync){
> def webAppLibDirName = 'war/WEB-INF/lib'
> description = "Copies runtime libraries to $webAppLibDirName."
> copy{
> from configurations.runtime
> into webAppLibDirName
> }
> }
> "
>
> PS
> You just forgot the copy { ... } section
>
> Luca
>
--
View this message in context:
http://gradle.1045684.n5.nabble.com/Error-using-build-gradle-in-Gaelyk-in-Ubuntu-11-04-Error-naming-copying-jars-to-WEB-INF-lib-tp4686802p4694001.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