You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Antoine Toulme (JIRA)" <ji...@apache.org> on 2010/07/21 01:16:49 UTC

[jira] Created: (BUILDR-485) Cannot set repositories when using the -E option

Cannot set repositories when using the -E option
------------------------------------------------

                 Key: BUILDR-485
                 URL: https://issues.apache.org/jira/browse/BUILDR-485
             Project: Buildr
          Issue Type: Bug
    Affects Versions: 1.4.1
            Reporter: Antoine Toulme
             Fix For: 1.4.2


When running this code:

buildr -E "repositories.release_to[:url] = 'http://example.com'"

Buildr complains that the repositories method is not defined. It should be possible to set the repositories in the piece of code right before loading the buildfile to allow for overriding settings.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (BUILDR-485) Cannot set repositories when using the -E option

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert resolved BUILDR-485.
----------------------------------

    Resolution: Invalid

> Cannot set repositories when using the -E option
> ------------------------------------------------
>
>                 Key: BUILDR-485
>                 URL: https://issues.apache.org/jira/browse/BUILDR-485
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>            Reporter: Antoine Toulme
>             Fix For: 1.4.2
>
>
> When running this code:
> buildr -E "repositories.release_to[:url] = 'http://example.com'"
> Buildr complains that the repositories method is not defined. It should be possible to set the repositories in the piece of code right before loading the buildfile to allow for overriding settings.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (BUILDR-485) Cannot set repositories when using the -E option

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BUILDR-485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Boisvert updated BUILDR-485:
---------------------------------


This works,

buildr -E "Buildr.repositories.release_to[:url] = 'http://example.com'"

The missing part was the prefix "Buildr."

> Cannot set repositories when using the -E option
> ------------------------------------------------
>
>                 Key: BUILDR-485
>                 URL: https://issues.apache.org/jira/browse/BUILDR-485
>             Project: Buildr
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>            Reporter: Antoine Toulme
>             Fix For: 1.4.2
>
>
> When running this code:
> buildr -E "repositories.release_to[:url] = 'http://example.com'"
> Buildr complains that the repositories method is not defined. It should be possible to set the repositories in the piece of code right before loading the buildfile to allow for overriding settings.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.