You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by "Daniel Spiewak (JIRA)" <ji...@apache.org> on 2009/02/06 20:48:59 UTC

[jira] Created: (BUILDR-242) Include Scala-Tools Repository by Default

Include Scala-Tools Repository by Default
-----------------------------------------

                 Key: BUILDR-242
                 URL: https://issues.apache.org/jira/browse/BUILDR-242
             Project: Buildr
          Issue Type: Improvement
          Components: Compilers
    Affects Versions: 1.3.4
            Reporter: Daniel Spiewak


One of the first things I do when creating a new buildfile for a Scala project is add the following line to the header:

    repositories.remote << 'http://scala-tools.org/repo-releases'

A nice feature would be if this simply happened automatically when using a Scala project.  I have no objection to requiring a "require 'buildr/scala'", since this is required anyway for 1.3.3 and will be required permanently if my joint compilation patch is accepted (BUILDR-136).  Thus, this feature could be easily implemented by adding the above line to the lib/buildr/scala.rb file.

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


[jira] Commented: (BUILDR-242) Include Scala-Tools Repository by Default

Posted by "Alex Boisvert (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671279#action_12671279 ] 

Alex Boisvert commented on BUILDR-242:
--------------------------------------

Agreed!

> Include Scala-Tools Repository by Default
> -----------------------------------------
>
>                 Key: BUILDR-242
>                 URL: https://issues.apache.org/jira/browse/BUILDR-242
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Compilers
>    Affects Versions: 1.3.4
>            Reporter: Daniel Spiewak
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> One of the first things I do when creating a new buildfile for a Scala project is add the following line to the header:
>     repositories.remote << 'http://scala-tools.org/repo-releases'
> A nice feature would be if this simply happened automatically when using a Scala project.  I have no objection to requiring a "require 'buildr/scala'", since this is required anyway for 1.3.3 and will be required permanently if my joint compilation patch is accepted (BUILDR-136).  Thus, this feature could be easily implemented by adding the above line to the lib/buildr/scala.rb file.

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


[jira] Commented: (BUILDR-242) Include Scala-Tools Repository by Default

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

Assaf Arkin commented on BUILDR-242:
------------------------------------

Without the require, Buildr figures out if Scala is necessary fairly late in the buildfile, the first project that has Scala files. But a lot of things happen before that could depend on the repositories, specifically handling of artifacts. This is just one example, but I'm not sure how much we can expect from automagically figuring out language support.

> Include Scala-Tools Repository by Default
> -----------------------------------------
>
>                 Key: BUILDR-242
>                 URL: https://issues.apache.org/jira/browse/BUILDR-242
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Compilers
>    Affects Versions: 1.3.4
>            Reporter: Daniel Spiewak
>         Attachments: 0001-Include-the-Scala-Tools-repository-by-default.patch
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> One of the first things I do when creating a new buildfile for a Scala project is add the following line to the header:
>     repositories.remote << 'http://scala-tools.org/repo-releases'
> A nice feature would be if this simply happened automatically when using a Scala project.  I have no objection to requiring a "require 'buildr/scala'", since this is required anyway for 1.3.3 and will be required permanently if my joint compilation patch is accepted (BUILDR-136).  Thus, this feature could be easily implemented by adding the above line to the lib/buildr/scala.rb file.

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


[jira] Commented: (BUILDR-242) Include Scala-Tools Repository by Default

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

Assaf Arkin commented on BUILDR-242:
------------------------------------

+1 to including the repo when the project uses Scala.

> Include Scala-Tools Repository by Default
> -----------------------------------------
>
>                 Key: BUILDR-242
>                 URL: https://issues.apache.org/jira/browse/BUILDR-242
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Compilers
>    Affects Versions: 1.3.4
>            Reporter: Daniel Spiewak
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> One of the first things I do when creating a new buildfile for a Scala project is add the following line to the header:
>     repositories.remote << 'http://scala-tools.org/repo-releases'
> A nice feature would be if this simply happened automatically when using a Scala project.  I have no objection to requiring a "require 'buildr/scala'", since this is required anyway for 1.3.3 and will be required permanently if my joint compilation patch is accepted (BUILDR-136).  Thus, this feature could be easily implemented by adding the above line to the lib/buildr/scala.rb file.

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


[jira] Commented: (BUILDR-242) Include Scala-Tools Repository by Default

Posted by "Daniel Spiewak (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671750#action_12671750 ] 

Daniel Spiewak commented on BUILDR-242:
---------------------------------------

Right, I'm skeptical as well.  I don't think it's too unreasonable to require 'buildr/scala' whenever you need Scala stuff.  You need to do that for Groovy, so it's right in-line with the Buildr M.O.

> Include Scala-Tools Repository by Default
> -----------------------------------------
>
>                 Key: BUILDR-242
>                 URL: https://issues.apache.org/jira/browse/BUILDR-242
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Compilers
>    Affects Versions: 1.3.4
>            Reporter: Daniel Spiewak
>         Attachments: 0001-Include-the-Scala-Tools-repository-by-default.patch
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> One of the first things I do when creating a new buildfile for a Scala project is add the following line to the header:
>     repositories.remote << 'http://scala-tools.org/repo-releases'
> A nice feature would be if this simply happened automatically when using a Scala project.  I have no objection to requiring a "require 'buildr/scala'", since this is required anyway for 1.3.3 and will be required permanently if my joint compilation patch is accepted (BUILDR-136).  Thus, this feature could be easily implemented by adding the above line to the lib/buildr/scala.rb file.

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


[jira] Updated: (BUILDR-242) Include Scala-Tools Repository by Default

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

Daniel Spiewak updated BUILDR-242:
----------------------------------

    Attachment: 0001-Include-the-Scala-Tools-repository-by-default.patch

Created patch against commit 8ab4e061014863a223d6f31814b3733a5452b2ce

> Include Scala-Tools Repository by Default
> -----------------------------------------
>
>                 Key: BUILDR-242
>                 URL: https://issues.apache.org/jira/browse/BUILDR-242
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Compilers
>    Affects Versions: 1.3.4
>            Reporter: Daniel Spiewak
>         Attachments: 0001-Include-the-Scala-Tools-repository-by-default.patch
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> One of the first things I do when creating a new buildfile for a Scala project is add the following line to the header:
>     repositories.remote << 'http://scala-tools.org/repo-releases'
> A nice feature would be if this simply happened automatically when using a Scala project.  I have no objection to requiring a "require 'buildr/scala'", since this is required anyway for 1.3.3 and will be required permanently if my joint compilation patch is accepted (BUILDR-136).  Thus, this feature could be easily implemented by adding the above line to the lib/buildr/scala.rb file.

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


[jira] Commented: (BUILDR-242) Include Scala-Tools Repository by Default

Posted by "Daniel Spiewak (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/BUILDR-242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671289#action_12671289 ] 

Daniel Spiewak commented on BUILDR-242:
---------------------------------------

On further reflection, my patch is really only useful if the user is being forced to require 'buildr/scala' to begin with.  What's the scoop on this particular "feature"?  Will 1.3.4 require this (sacrificing joint compilation)?  If so, then the repository should really only be included based on whether or not a project uses the Scala compiler.

> Include Scala-Tools Repository by Default
> -----------------------------------------
>
>                 Key: BUILDR-242
>                 URL: https://issues.apache.org/jira/browse/BUILDR-242
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Compilers
>    Affects Versions: 1.3.4
>            Reporter: Daniel Spiewak
>         Attachments: 0001-Include-the-Scala-Tools-repository-by-default.patch
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> One of the first things I do when creating a new buildfile for a Scala project is add the following line to the header:
>     repositories.remote << 'http://scala-tools.org/repo-releases'
> A nice feature would be if this simply happened automatically when using a Scala project.  I have no objection to requiring a "require 'buildr/scala'", since this is required anyway for 1.3.3 and will be required permanently if my joint compilation patch is accepted (BUILDR-136).  Thus, this feature could be easily implemented by adding the above line to the lib/buildr/scala.rb file.

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


[jira] Resolved: (BUILDR-242) Include Scala-Tools Repository by Default

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

Alex Boisvert resolved BUILDR-242.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.4

Fixed.

------------------------------------------------------------------------
r744598 | boisvert | 2009-02-14 18:22:07 -0800 (Sat, 14 Feb 2009) | 1 line

BUILDR-242: Include Scala-Tools Repository by Default.  require 'buildr/scala' is now required as well


> Include Scala-Tools Repository by Default
> -----------------------------------------
>
>                 Key: BUILDR-242
>                 URL: https://issues.apache.org/jira/browse/BUILDR-242
>             Project: Buildr
>          Issue Type: Improvement
>          Components: Compilers
>    Affects Versions: 1.3.4
>            Reporter: Daniel Spiewak
>             Fix For: 1.3.4
>
>         Attachments: 0001-Include-the-Scala-Tools-repository-by-default.patch
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> One of the first things I do when creating a new buildfile for a Scala project is add the following line to the header:
>     repositories.remote << 'http://scala-tools.org/repo-releases'
> A nice feature would be if this simply happened automatically when using a Scala project.  I have no objection to requiring a "require 'buildr/scala'", since this is required anyway for 1.3.3 and will be required permanently if my joint compilation patch is accepted (BUILDR-136).  Thus, this feature could be easily implemented by adding the above line to the lib/buildr/scala.rb file.

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