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

ScalaTest premature use of Buildr::Repositories inconsistent with customizing locations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.3.2
    • 1.3.3
    • None
    • None

    Description

      test_frameworks.rb, line 314:
      ENABLED = DEPENDS.all?

      { |d| File.exist?(Buildr::Repositories.instance.locate(d)) }

      This statement gets evaluated when the Buildr code loads, before Buildr.application.run, so before any customization is loaded to determine where the local repository is (build.yml, setting.yml, buildr.rb, etc). As a result Buildr will fail to load build.yml if not run from the project's root directory, and worse, create the wrong buildfile task, breaking IDE tasks.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              assafarkin Assaf Arkin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: