You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Shane Witbeck (JIRA)" <ji...@apache.org> on 2008/11/17 00:18:52 UTC

[jira] Created: (BUILDR-216) Profiles do not work as documented

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.


[jira] Resolved: (BUILDR-216) Profiles do not work as documented

Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
     [ 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.