buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Assaf Arkin (JIRA)" <j...@apache.org>
Subject [jira] Created: (BUILDR-138) ScalaTest premature use of Buildr::Repositories inconsistent with customizing locations
Date Tue, 26 Aug 2008 07:45:44 GMT
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.


Mime
View raw message