[ 
https://issues.apache.org/jira/browse/BUILDR-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Assaf Arkin resolved BUILDR-202.
--------------------------------

    Resolution: Won't Fix

> add ability for a project to have a before_define callback on subprojects
> -------------------------------------------------------------------------
>
>                 Key: BUILDR-202
>                 URL: https://issues.apache.org/jira/browse/BUILDR-202
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Core features
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>             Fix For: 1.3.4
>
>
> Sometimes it is useful to preconfigure subprojects of a project (the project 
> acts as a configuration context). However, there's no way for the project to 
> arrange things so that if it has a before_define method, it will be called 
> before each subproject definition. The point is not to create an Extension 
> that will be called for all projects in the buildfile, just for the sub 
> projects. 
> I think adding such a feature is possible, since each project registers its 
> callbacks in Project#initialize. Either then, or in Project#define, it can 
> locate its parent to find if it has a before_define method (or whatever other 
> mechanism)

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