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 schröder (JIRA)" <ji...@apache.org> on 2009/12/21 21:37:18 UTC

[jira] Created: (BUILDR-357) exclude does not work as documented

exclude does not work as documented
-----------------------------------

                 Key: BUILDR-357
                 URL: https://issues.apache.org/jira/browse/BUILDR-357
             Project: Buildr
          Issue Type: Bug
          Components: Packaging
    Affects Versions: 1.4
            Reporter: peter schröder
            Priority: Minor
         Attachments: exclude_spec.diff

exclude with pattern like

 .exclude('*.{ext}')

does not work as documented.

i attached a spec for that.

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


[jira] Commented: (BUILDR-357) exclude does not work as documented

Posted by "peter schröder (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794644#action_12794644 ] 

peter schröder commented on BUILDR-357:
---------------------------------------

i think that it can be removed. nobody had noticed it yet ;-)

> exclude does not work as documented
> -----------------------------------
>
>                 Key: BUILDR-357
>                 URL: https://issues.apache.org/jira/browse/BUILDR-357
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.4
>            Reporter: peter schröder
>            Priority: Minor
>         Attachments: exclude_spec.diff
>
>
> exclude with pattern like
>  .exclude('*.{ext}')
> does not work as documented.
> i attached a spec for that.

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


[jira] Resolved: (BUILDR-357) exclude does not work as documented

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

Alex Boisvert resolved BUILDR-357.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

Fixed documentation.
Sending        doc/packaging.textile
Transmitting file data .
Committed revision 902474.


> exclude does not work as documented
> -----------------------------------
>
>                 Key: BUILDR-357
>                 URL: https://issues.apache.org/jira/browse/BUILDR-357
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.4
>            Reporter: peter schröder
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: exclude_spec.diff
>
>
> exclude with pattern like
>  .exclude('*.{ext}')
> does not work as documented.
> i attached a spec for that.

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


[jira] Updated: (BUILDR-357) exclude does not work as documented

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

peter schröder updated BUILDR-357:
----------------------------------

    Attachment: exclude_spec.diff

> exclude does not work as documented
> -----------------------------------
>
>                 Key: BUILDR-357
>                 URL: https://issues.apache.org/jira/browse/BUILDR-357
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.4
>            Reporter: peter schröder
>            Priority: Minor
>         Attachments: exclude_spec.diff
>
>
> exclude with pattern like
>  .exclude('*.{ext}')
> does not work as documented.
> i attached a spec for that.

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


[jira] Updated: (BUILDR-357) Fix documentation for exclude() -- doesnt' support glob substitution groups *.{foo,bar}

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

Alex Boisvert updated BUILDR-357:
---------------------------------

    Summary: Fix documentation for exclude() -- doesnt' support glob substitution groups *.{foo,bar}  (was: exclude does not work as documented)

> Fix documentation for exclude() -- doesnt' support glob substitution groups *.{foo,bar}
> ---------------------------------------------------------------------------------------
>
>                 Key: BUILDR-357
>                 URL: https://issues.apache.org/jira/browse/BUILDR-357
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.4
>            Reporter: peter schröder
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: exclude_spec.diff
>
>
> exclude with pattern like
>  .exclude('*.{ext}')
> does not work as documented.
> i attached a spec for that.

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


[jira] Commented: (BUILDR-357) exclude does not work as documented

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12794206#action_12794206 ] 

Alex Boisvert commented on BUILDR-357:
--------------------------------------

The reason it doesn't work is because exclude() uses File.fnmatch() which doesn't support {}

http://ruby-doc.org/core/classes/File.html#M002519

So either we update the documentation (remove examples with {}) or we add support for it.

> exclude does not work as documented
> -----------------------------------
>
>                 Key: BUILDR-357
>                 URL: https://issues.apache.org/jira/browse/BUILDR-357
>             Project: Buildr
>          Issue Type: Bug
>          Components: Packaging
>    Affects Versions: 1.4
>            Reporter: peter schröder
>            Priority: Minor
>         Attachments: exclude_spec.diff
>
>
> exclude with pattern like
>  .exclude('*.{ext}')
> does not work as documented.
> i attached a spec for that.

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