Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-134

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.3.2
    • 1.3.3
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ittayd Ittay Dror
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: