[ 
http://issues.apache.org/jira/browse/HIVEMIND-178?page=comments#action_12425488 
] 
            
Knut Wannheden commented on HIVEMIND-178:
-----------------------------------------

Currently the contribution condition expressions as evaluated and applied at 
registry construction time. At this time the symbol sources have not been 
initialized and are hence not availiable. Thus your enhancement request would 
mean a rather big change.

As an alternative you might want to consider manually reading the file and 
setting corresponding system properties before constructing the registry. If 
this is satisfactory for your development/testing purposes we would probably 
close this issue for now.

> Allow Conditional Contributions based on symbols (from SymbolSources)
> ---------------------------------------------------------------------
>
>                 Key: HIVEMIND-178
>                 URL: http://issues.apache.org/jira/browse/HIVEMIND-178
>             Project: HiveMind
>          Issue Type: New Feature
>          Components: framework
>            Reporter: Paul Field
>
> Conditional Contributions are really handy during testing and I now have a 
> number of features that I can turn on or off during development/testing. 
> However, now there are several options, it's not particularly convenient to 
> configure them through system properties; it would be nicer to have a single 
> file containing all the flags.
> I can create this single file and expose it as a SymbolSource, but 
> conditional contributions cannot use the value of a symbol from a 
> SymbolSource.
> Please could you enhance the conditional contribution expressions to allow me 
> to specify the name of a symbol from a SymbolSource.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to