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

artifact().from(task_dependency) should not trigger task_dependency if artifact exists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3.5
    • 1.4
    • Core features
    • None

    Description

      As discussed in this thread:
      http://markmail.org/thread/znfqqa45fxrpd4lg

      There's a problem with artifact().from() where if it's passed a task dependency (e.g. FileTask), then the file task will either

      1) always be invoked – even if the artifact already exists

      2) fail with an error such as,

      Buildr aborted!
      Don't know how to build task '/home/boisvert/tmp/buildr-zip2/target/zip/google-collect-1.0/google-collect-1.0.jar'

      if the FileTask.to_s returns a non-absolute pathname (which is the case for Rake's default FileTask, but not Buildr's file(...) method)

      Attachments

        1. BUILDR-383.txt
          3 kB
          Antoine Toulme
        2. BUILDR-383-patch.txt
          0.9 kB
          Alex Boisvert

        Activity

          People

            Unassigned Unassigned
            boisvert Alex Boisvert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: