Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-185

exception if using artifact names with dash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.2
    • 1.3.4
    • None
    • None

    Description

      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 ':').

      Attachments

        1. 01_spec_for_buildr-185.patch
          0.6 kB
          Joel Muzzerall
        2. 02_fix_for_buildr-185.patch
          1 kB
          Joel Muzzerall

        Activity

          People

            Unassigned Unassigned
            ittayd Ittay Dror
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: