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

Assaf Arkin resolved BUILDR-216.
--------------------------------

    Resolution: Fixed

Indeed.  I fixed the documentation to use an example that works.

Can also change the implementation, but I like that Buildr.settings.profile is 
namespaced, you might already have a setting variable in your buildfile

> Profiles do not work as documented
> ----------------------------------
>
>                 Key: BUILDR-216
>                 URL: https://issues.apache.org/jira/browse/BUILDR-216
>             Project: Buildr
>          Issue Type: Bug
>          Components: Core features
>    Affects Versions: 1.3.3
>         Environment: Mac OS X Leopard 10.5.5
>            Reporter: Shane Witbeck
>
> In the documentation: 
> http://incubator.apache.org/buildr/settings_profiles.html#profiles, it 
> specifies simply calling resources.from(_(:source, :main, profile['db'])). 
> This doesn't work unless you fully qualify the method. 
> resources.from(_(:source, :main, Buildr.settings.profile['db']))

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