You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Peter Donald (JIRA)" <ji...@apache.org> on 2010/05/27 15:38:27 UTC

[jira] Created: (BUILDR-447) Path object do not include empty dirs in base directory

Path object do not include empty dirs in base directory
-------------------------------------------------------

                 Key: BUILDR-447
                 URL: https://issues.apache.org/jira/browse/BUILDR-447
             Project: Buildr
          Issue Type: Bug
          Components: Packaging
    Affects Versions: 1.4
            Reporter: Peter Donald
             Fix For: 1.4
         Attachments: EnsureEmptyDirInRootOfPathAreIncluded.patch

Path objects do not include empty dirs in base directory. And thus when you attempt include a directory that has a single empty dir (such as tmp) into an archive (i.e. a zip file), it will not be included.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-447) Path object do not include empty dirs in base directory

Posted by "Peter Donald (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Donald updated BUILDR-447:
--------------------------------

    Attachment: EnsureEmptyDirInRootOfPathAreIncluded.patch

Patch fixes problem

> Path object do not include empty dirs in base directory
> -------------------------------------------------------
>
>                 Key: BUILDR-447
>                 URL: https://issues.apache.org/jira/browse/BUILDR-447
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.4
>            Reporter: Peter Donald
>             Fix For: 1.4
>
>         Attachments: EnsureEmptyDirInRootOfPathAreIncluded.patch
>
>
> Path objects do not include empty dirs in base directory. And thus when you attempt include a directory that has a single empty dir (such as tmp) into an archive (i.e. a zip file), it will not be included.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-447) Path object do not include empty dirs in base directory

Posted by "Peter Donald (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Donald updated BUILDR-447:
--------------------------------

    Attachment: EnsureEmptyDirInRootOfPathAreIncluded2.patch

Attached patch includes specs and catches the same fault in another location

> Path object do not include empty dirs in base directory
> -------------------------------------------------------
>
>                 Key: BUILDR-447
>                 URL: https://issues.apache.org/jira/browse/BUILDR-447
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.4
>            Reporter: Peter Donald
>             Fix For: 1.4
>
>         Attachments: EnsureEmptyDirInRootOfPathAreIncluded.patch, EnsureEmptyDirInRootOfPathAreIncluded2.patch
>
>
> Path objects do not include empty dirs in base directory. And thus when you attempt include a directory that has a single empty dir (such as tmp) into an archive (i.e. a zip file), it will not be included.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (BUILDR-447) Path object do not include empty dirs in base directory

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873053#action_12873053 ] 

Antoine Toulme commented on BUILDR-447:
---------------------------------------

Do you have specs with that ?

> Path object do not include empty dirs in base directory
> -------------------------------------------------------
>
>                 Key: BUILDR-447
>                 URL: https://issues.apache.org/jira/browse/BUILDR-447
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.4
>            Reporter: Peter Donald
>             Fix For: 1.4
>
>         Attachments: EnsureEmptyDirInRootOfPathAreIncluded.patch
>
>
> Path objects do not include empty dirs in base directory. And thus when you attempt include a directory that has a single empty dir (such as tmp) into an archive (i.e. a zip file), it will not be included.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (BUILDR-447) Path object do not include empty dirs in base directory

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme reassigned BUILDR-447:
-------------------------------------

    Assignee: Antoine Toulme

> Path object do not include empty dirs in base directory
> -------------------------------------------------------
>
>                 Key: BUILDR-447
>                 URL: https://issues.apache.org/jira/browse/BUILDR-447
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.4
>            Reporter: Peter Donald
>            Assignee: Antoine Toulme
>             Fix For: 1.4
>
>         Attachments: EnsureEmptyDirInRootOfPathAreIncluded.patch, EnsureEmptyDirInRootOfPathAreIncluded2.patch
>
>
> Path objects do not include empty dirs in base directory. And thus when you attempt include a directory that has a single empty dir (such as tmp) into an archive (i.e. a zip file), it will not be included.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (BUILDR-447) Path object do not include empty dirs in base directory

Posted by "Antoine Toulme (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme resolved BUILDR-447.
-----------------------------------

    Resolution: Fixed

Fixed, thanks Peter!
18:51:48~/w/buildr>svn ci CHANGELOG spec lib/buildr/packaging/archive.rb -m "BUILDR-447 Path object do not include empty dirs in base directory (Peter Donald)"
Sending        CHANGELOG
Sending        lib/buildr/packaging/archive.rb
Sending        spec/java/packaging_spec.rb
Sending        spec/packaging/archive_spec.rb
Transmitting file data ....
Committed revision 951632.

> Path object do not include empty dirs in base directory
> -------------------------------------------------------
>
>                 Key: BUILDR-447
>                 URL: https://issues.apache.org/jira/browse/BUILDR-447
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.4
>            Reporter: Peter Donald
>            Assignee: Antoine Toulme
>             Fix For: 1.4
>
>         Attachments: EnsureEmptyDirInRootOfPathAreIncluded.patch, EnsureEmptyDirInRootOfPathAreIncluded2.patch
>
>
> Path objects do not include empty dirs in base directory. And thus when you attempt include a directory that has a single empty dir (such as tmp) into an archive (i.e. a zip file), it will not be included.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.