You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Assaf Arkin (JIRA)" <ji...@apache.org> on 2008/08/28 04:54:44 UTC

[jira] Resolved: (BUILDR-138) ScalaTest premature use of Buildr::Repositories inconsistent with customizing locations

     [ https://issues.apache.org/jira/browse/BUILDR-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Assaf Arkin resolved BUILDR-138.
--------------------------------

    Resolution: Fixed

> 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.