You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Peter Donald (JIRA)" <ji...@apache.org> on 2012/10/07 01:49:09 UTC
[jira] [Updated] (BUILDR-320) Bogus circular dependency error with
nested projects and relative references
[ https://issues.apache.org/jira/browse/BUILDR-320?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Donald updated BUILDR-320:
--------------------------------
Fix Version/s: 1.5
> Bogus circular dependency error with nested projects and relative references
> ----------------------------------------------------------------------------
>
> Key: BUILDR-320
> URL: https://issues.apache.org/jira/browse/BUILDR-320
> Project: Buildr
> Issue Type: Bug
> Components: Core features
> Affects Versions: 1.3.4
> Reporter: Rhett Sutphin
> Assignee: Antoine Toulme
> Priority: Minor
> Fix For: 1.5
>
>
> With the following buildfile, you will get a circular dependency error, even though there aren't any circular dependencies.
> define "whole" do
> define 'sub' do
> define 'C' do
> compile.with project('sub:B')
> end
>
> define 'A' do
> end
> define 'B' do
> compile.with project('sub:A')
> end
> end
> end
> The error is "Circular dependency detected: TOP => whole:sub => whole:sub:C => whole:sub". It happens in 1.3.4 and the current trunk, but not in 1.3.3.
> You can work around it by using the full names for the projects (e.g., project('whole:sub:A')) or by ordering the project definitions in their dependency order (A, B, C in this case).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira