buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Assaf Arkin (JIRA)" <j...@apache.org>
Subject [jira] Commented: (BUILDR-242) Include Scala-Tools Repository by Default
Date Mon, 09 Feb 2009 07:00:59 GMT

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


Mime
View raw message