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 2011/06/22 12:11:17 UTC

[jira] [Closed] (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 ]

Peter Donald closed BUILDR-185.
-------------------------------


> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira