You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Ittay Dror (JIRA)" <ji...@apache.org> on 2008/08/18 08:33:44 UTC
[jira] Updated: (BUILDR-134) changing "parent" component in layout
doesn't change child if already referenced
[ https://issues.apache.org/jira/browse/BUILDR-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ittay Dror updated BUILDR-134:
------------------------------
Issue Type: Improvement (was: Bug)
> 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: Improvement
> 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.