« Return to Thread: Some questions about using Filecontainer for Archives

Re: Some questions about using Filecontainer for Archives

by hdockter :: Rate this Message:

Reply to Author | View in Thread


On Jun 3, 2009, at 12:25 AM, Adam Murdoch wrote:

>
>
> Rene Groeschke wrote:
>> Hi there,
>> I've just added a new zip Task to my project. This task should  
>> create a zip with all third-party libs in the lib folder of that  
>> zip. actually my task looks like the following:
>>
>> task createBinZip(type: Zip) {
>>    classifier = 'bin'
>>        files(configurations.groovy)
>>            fileSet(dir: 'build'){
>>           include "**/*.jar"
>>       }
>>
>>        fileSet(dir: 'build/classes'){
>>        include "**/*.sh"
>>    }
>> }
>>
>> In the snippet above I add all files in the configuration groovy to  
>> my zip. but how can I put all these third party libs to a special  
>> folder in that zip for example called "libs".
>
> You can't easily do this yet. You need to copy them somewhere and  
> then use a zipfileset to include them in the 'libs' folder of the  
> archive.

Which is due to a limitation of the Ant task we are delegating to. As  
Adam has said, we want to improve this.

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org


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

    http://xircles.codehaus.org/manage_email


 « Return to Thread: Some questions about using Filecontainer for Archives