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

transitive method does not work for projects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 1.3.2
    • 1.3.4
    • Dependency management
    • None

    Description

      when passing a Project object to #transitive it matches the Project clause in 'case' , it then calls itself recursively with the packages of the project. these fall in the 'when Rake::Task' clause. If they are "spec" packages, the method again recursively calls itself. this time the clause is /([^:]+

      {2,4}

      / which then tries to load the pom from the repository. there's no reason why there will be a pom there. if the packages are 'file' packages, they are used as-is.

      in both cases, there is no transitivity of dependencies.

      suggestion:

      • add :project attribute to package tasks
      • in Rake::Task clause, if the artifact responds to :project, then call recursively with the project
      • in Project clause, add the packages to the result set and call recursively with spec.compile.dependencies (which can then be artifacts or packages)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: