I haven't tried it or looked at the code yet but feel free to file a bug...

alex


On Mon, Jul 27, 2009 at 6:32 AM, Antoine Toulme <[email protected]>wrote:

> Should I file a bug ?
>
> On Fri, Jul 24, 2009 at 14:15, Antoine Toulme <[email protected]
> >wrote:
>
> > While packaging my application, I need to add an entry to the zip
> > representing an empty folder.
> > Ideally I would want to create that new folder on the fly, so I did this:
> >
> > package(:zip).tap do |zipfile|
> >     mkdir_p(_("target/tmpdir"))
> >     zipfile.include(_("target/tmpdir"), :as => 'logs')
> >     [...]
> > end
> >
> > However the logs folder is missing from the resulting archive.
> >
> > I attach to this email a buildfile to reproduce the issue, just run:
> > buildr package
> > then try unpacking the resulting zip, you'll see it is empty.
> >
> > I use buildr 1.3.4.
> >
> > Let me know if I should write up a bug, I'll be happy to do that.
> >
> > Thanks,
> >
> > Antoine
> >
> >
> >
>

Reply via email to