On Wed, Jul 8, 2009 at 2:11 PM, thierry henrio <[email protected]>wrote:

> Hi all, our company produce various and unstandardized assemblies :
> tar.bz2,
> zip
> each assembly has its own layout, and mainly consist in jar files
> there is no standardized repository to host jar files
>
> it is a real pain to make a runnable package, and yet it is required
> our customer are puzzled and so am I
>
> so, I would like to make a package made of bits of tar, zip, jar, text
> files
> I have no (more) java source to compile
>
> Following specification could apply
>
> given
> foo-1.1.tar.bz2 containing [foo-core-0.9.jar, foo-foo-1.1.jar]
> moo-2.3.zip containing [lib/moo-2.3.jar]
> when I package foomoo-2.3.1.zip
> then content is [lib-foo/foo-core-0.9.jar,
> lib-foo/foo-foo-1.1.jar, lib-moo/moo-2.3.jar]
>
> I failed to find in documentation whereas this is possible with buildr at
> this time


You can use the merge method to include the contents of one zip inside
another, but there's no support for merging tarballs into zips:

http://buildr.apache.org/packaging.html

Assaf


>
>
> Do you think buildr should be able to do that ?
> If not, do you know of any other library that could implement it ?
> If not, would you give some advice for code that could give me hints of
> implementation ?
>
> I hope this post is not totally irrelevant to this list
>
> Regards,
> Thierry
>

Reply via email to