buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Toulme (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (BUILDR-299) Adding an empty directory to the zip file created with the package task doesn't work
Date Fri, 20 May 2016 07:08:12 GMT

     [ https://issues.apache.org/jira/browse/BUILDR-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Antoine Toulme closed BUILDR-299.
---------------------------------
    Resolution: Auto Closed

> Adding an empty directory to the zip file created with the package task doesn't work
> ------------------------------------------------------------------------------------
>
>                 Key: BUILDR-299
>                 URL: https://issues.apache.org/jira/browse/BUILDR-299
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3.4
>         Environment: ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0]
>            Reporter: Antoine Toulme
>             Fix For: 1.5
>
>
> To reproduce the problem, try copying this code into a buildfile and run buildr package:
> define "a" do
>   project.version = "1.0.0"
>   project.group = 'a'
>   package(:zip).tap do |zipfile|
>       mkdir_p(_("target/tmpdir"))
>       zipfile.include(_("target/tmpdir"), :as => 'logs')
>   end
> end
> Expected: an empty directory should be present in the zip
> Actual: no directory is present in the zip



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message