buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Muzzerall (JIRA)" <j...@apache.org>
Subject [jira] Updated: (BUILDR-185) exception if using artifact names with dash
Date Wed, 17 Dec 2008 01:10:44 GMT

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

Joel Muzzerall updated BUILDR-185:
----------------------------------

    Attachment: 02_fix_for_buildr-185.patch

with this patch . and - are now legal characters for artifact names in the use case described.

> 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.


Mime
View raw message