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 2011/06/22 12:11:04 UTC
[jira] [Closed] (BUILDR-184) when creating a sub project, extend it
with the parent's methods
[ https://issues.apache.org/jira/browse/BUILDR-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Donald closed BUILDR-184.
-------------------------------
> when creating a sub project, extend it with the parent's methods
> ----------------------------------------------------------------
>
> Key: BUILDR-184
> URL: https://issues.apache.org/jira/browse/BUILDR-184
> Project: Buildr
> Issue Type: Wish
> Affects Versions: 1.3.2
> Reporter: Ittay Dror
>
> sometimes it is required to override methods in Project. my use case is that I'd like to override 'id' from package
> i think it would be nice if i could do:
> define 'base'
> def id
> ...
> end
> define 'sub'
> end
> end
> so that 'sub' inherits the redifinition of id.
> it will also have benefits for utility methods since it means i can just call it directly, not through 'parent' (or parent.parent in case of more level of nesting)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira