You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Ittay Dror (JIRA)" <ji...@apache.org> on 2008/10/22 14:56:44 UTC

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

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


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.


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

Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Joel Muzzerall (JIRA)" <ji...@apache.org>.
     [ 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.


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

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

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

    Attachment: 01_spec_for_buildr-185.patch

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