buildr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ittay Dror <ittay.d...@gmail.com>
Subject circular dependency
Date Wed, 16 Jul 2008 11:40:33 GMT
Hi,

I have the following build file:
define 'proj' do
  define 'A' do
    project('B')
  end

  define 'B' do
    project('A')
  end
end


running buildr, i get the message:
Circular dependency detected: TOP => proj:A => proj:B => proj:A

this is done (i think) because the 'project' method invokes the project 
task. project('B') invokes 'B' which then has 'project('A')' which 
invokes A.

is there a way to avoid this? (I actually need it to get properties from 
the project, it doesn't need to take any action)

thank you,
ittay

-- 
--
Ittay Dror <ittay.dror@gmail.com>



Mime
View raw message