changing "parent" component in layout  doesn't change child if already 
referenced
---------------------------------------------------------------------------------

                 Key: BUILDR-134
                 URL: https://issues.apache.org/jira/browse/BUILDR-134
             Project: Buildr
          Issue Type: Bug
    Affects Versions: 1.3.2
            Reporter: Ittay Dror
             Fix For: 1.3.3


Take this code:
  project.layout[:source :main] = project.layout.expand(:source, 'my_main')
  project.layout[:source] = 'my_source'

I would expect project.layout.expand(:source, :main) to then expand to 
my_source/my_main. It doesn't, it expands to source/my_main.

Obviously the above is just a toy example and can be solved by reordering the 
lines, however in a complex buildfile and extensions, this is not so easy.

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