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

allow partial checkout

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • 1.5
    • Dependency management
    • None

    Description

      In a group environment, not all team members will be interested in all modules in the source tree. Also, building those modules may take long. An option is for each team member to checkout only those modules he is working on and take the rest from the repository. So when defining dependencies, if the project's source exist, use the project's packages tasks as dependencies (as today), but if the project was not checked out, use it as a repository artifact.

      The fix is simple in the method artifacts:
      when Project
      if not File.exists?(spec.base_dir)
      set |= artifacts("#

      {project.group}

      :#

      {project.name.split(':').last}

      :jar:#

      {project.version}

      )
      else
      set |= artifacts(spec.packages)
      ....

      Attachments

        Activity

          People

            toulmean Antoine Toulme
            ittayd Ittay Dror
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: