You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Assaf Arkin (JIRA)" <ji...@apache.org> on 2009/03/12 23:58:50 UTC

[jira] Resolved: (BUILDR-185) exception if using artifact names with dash

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

Assaf Arkin resolved BUILDR-185.
--------------------------------

    Resolution: Fixed

> exception if using artifact names with dash
> -------------------------------------------
>
>                 Key: BUILDR-185
>                 URL: https://issues.apache.org/jira/browse/BUILDR-185
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>             Fix For: 1.3.4
>
>         Attachments: 01_spec_for_buildr-185.patch, 02_fix_for_buildr-185.patch
>
>
> i use:
> artifact_ns do |ns|
>   ns.use :'spring-osgi-core' => ....
> end
> :'spring-osgi-core' is a valid symbol. and i use it since this is the maven artifact name. the same thing will happen when dots appear in the name
> in #fetch, it is tested with /^\w+$/ which is false (dash is a word separator) and so it tries to call #unversioned_spec which fails (amongst other things, it assumes that spec is separated with ':'). 

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