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

                 Key: BUILDR-138
                 URL: https://issues.apache.org/jira/browse/BUILDR-138
             Project: Buildr
          Issue Type: Bug
    Affects Versions: 1.3.2
            Reporter: Assaf Arkin
            Priority: Critical
             Fix For: 1.3.3


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to