You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Ittay Dror (JIRA)" <ji...@apache.org> on 2008/10/20 20:11:44 UTC

[jira] Created: (BUILDR-178) when generating buildfile from pom.xml, ~/buildr.rb is ignored

when generating buildfile from pom.xml, ~/buildr.rb is ignored
--------------------------------------------------------------

                 Key: BUILDR-178
                 URL: https://issues.apache.org/jira/browse/BUILDR-178
             Project: Buildr
          Issue Type: Bug
          Components: Core features
    Affects Versions: 1.3.2
            Reporter: Ittay Dror


In my ~/buildr.rb I have a non-standard location for the local repository. When I use buildr to generate a buildfile from pom.xml, this file is not loaded, and so the setting is ignored resulting in buildr trying to download poms for all artifacts found in pom.xml 

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


[jira] Commented: (BUILDR-178) when generating buildfile from pom.xml, ~/buildr.rb is ignored

Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641127#action_12641127 ] 

Assaf Arkin commented on BUILDR-178:
------------------------------------

We have three ways for relocating the local repository: symlinks, env variables, settings.yml.  I think that's enough options and variance, and it's easier to test these three because you're only testing one method, so it's easier to make sure these three work with the buildfile generator or anywhere else we need global settings before loading the buildfile.

> when generating buildfile from pom.xml, ~/buildr.rb is ignored
> --------------------------------------------------------------
>
>                 Key: BUILDR-178
>                 URL: https://issues.apache.org/jira/browse/BUILDR-178
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>
> In my ~/buildr.rb I have a non-standard location for the local repository. When I use buildr to generate a buildfile from pom.xml, this file is not loaded, and so the setting is ignored resulting in buildr trying to download poms for all artifacts found in pom.xml 

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


[jira] Commented: (BUILDR-178) when generating buildfile from pom.xml, ~/buildr.rb is ignored

Posted by "Assaf Arkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641120#action_12641120 ] 

Assaf Arkin commented on BUILDR-178:
------------------------------------

We should start deprecating buildr.rb and use ~/.buildr/settings.yml instead.  The buildfile generator should be able to work with the local repository specified there, since Windows doesn't have good support for symlinks.

In the meanwhile, you can set the environment variable M2_REPO to point to your local repository.

> when generating buildfile from pom.xml, ~/buildr.rb is ignored
> --------------------------------------------------------------
>
>                 Key: BUILDR-178
>                 URL: https://issues.apache.org/jira/browse/BUILDR-178
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>
> In my ~/buildr.rb I have a non-standard location for the local repository. When I use buildr to generate a buildfile from pom.xml, this file is not loaded, and so the setting is ignored resulting in buildr trying to download poms for all artifacts found in pom.xml 

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


[jira] Updated: (BUILDR-178) when generating buildfile from pom.xml, ~/buildr.rb is ignored

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

Assaf Arkin updated BUILDR-178:
-------------------------------

    Component/s:     (was: Core features)
                 Dependency management

> when generating buildfile from pom.xml, ~/buildr.rb is ignored
> --------------------------------------------------------------
>
>                 Key: BUILDR-178
>                 URL: https://issues.apache.org/jira/browse/BUILDR-178
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>
> In my ~/buildr.rb I have a non-standard location for the local repository. When I use buildr to generate a buildfile from pom.xml, this file is not loaded, and so the setting is ignored resulting in buildr trying to download poms for all artifacts found in pom.xml 

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


[jira] Commented: (BUILDR-178) when generating buildfile from pom.xml, ~/buildr.rb is ignored

Posted by "Ittay Dror (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641126#action_12641126 ] 

Ittay Dror commented on BUILDR-178:
-----------------------------------

the benefit of buildr.rb is that it's ruby script, and i do some other settings there that can't be done declaratively 

fwiw, the main advantage of buildr is that the buildfile is ruby code, so i can do everything a real language allows me. why force me to the constraints of a yaml syntax (declarative) in the personal settings file? 

> when generating buildfile from pom.xml, ~/buildr.rb is ignored
> --------------------------------------------------------------
>
>                 Key: BUILDR-178
>                 URL: https://issues.apache.org/jira/browse/BUILDR-178
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>
> In my ~/buildr.rb I have a non-standard location for the local repository. When I use buildr to generate a buildfile from pom.xml, this file is not loaded, and so the setting is ignored resulting in buildr trying to download poms for all artifacts found in pom.xml 

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


[jira] Resolved: (BUILDR-178) when generating buildfile from pom.xml, ~/buildr.rb is ignored

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

Assaf Arkin resolved BUILDR-178.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.4

Setting the local repository in ~/.buildr/settings.yml should work right now.

> when generating buildfile from pom.xml, ~/buildr.rb is ignored
> --------------------------------------------------------------
>
>                 Key: BUILDR-178
>                 URL: https://issues.apache.org/jira/browse/BUILDR-178
>             Project: Buildr
>          Issue Type: Bug
>          Components: Dependency management
>    Affects Versions: 1.3.2
>            Reporter: Ittay Dror
>             Fix For: 1.3.4
>
>
> In my ~/buildr.rb I have a non-standard location for the local repository. When I use buildr to generate a buildfile from pom.xml, this file is not loaded, and so the setting is ignored resulting in buildr trying to download poms for all artifacts found in pom.xml 

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