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 2008/12/18 19:15:44 UTC
[jira] Created: (BUILDR-229) Improve Scala Source Change Detection
Improve Scala Source Change Detection
-------------------------------------
Key: BUILDR-229
URL: https://issues.apache.org/jira/browse/BUILDR-229
Project: Buildr
Issue Type: New Feature
Components: Compilers
Affects Versions: 1.4
Reporter: Daniel Spiewak
Priority: Minor
To my knowledge, Buildr currently bases its decision on which Scala files to compile based on simple file change heuristics (modified timestamp). Because Scala produces such a massive number of .class files, this can sometimes lead to longer-than-necessary compilation times. SBT (simple-build-tool) contains a rather innovative feature which actually bundles a Scala compiler plugin to optimize these recompilation heuristics. Specifically: http://code.google.com/p/simple-build-tool/source/browse/trunk/src/main/scala/sbt/Analyzer.scala
I'm not entirely clear yet on how it works, but it seems like it would do much to improve Buildr's rather-lengthy Scala build times.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (BUILDR-229) Improve Scala Source Change
Detection
Posted by "Daniel Spiewak (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675033#action_12675033 ]
Daniel Spiewak commented on BUILDR-229:
---------------------------------------
David MacIver has added some experimental support for this into the mainline Scala compiler. Thus, Buildr should get this for free once Scala 2.8.0 is released. Closing issue.
> Improve Scala Source Change Detection
> -------------------------------------
>
> Key: BUILDR-229
> URL: https://issues.apache.org/jira/browse/BUILDR-229
> Project: Buildr
> Issue Type: New Feature
> Components: Compilers
> Affects Versions: 1.4
> Reporter: Daniel Spiewak
> Priority: Minor
>
> To my knowledge, Buildr currently bases its decision on which Scala files to compile based on simple file change heuristics (modified timestamp). Because Scala produces such a massive number of .class files, this can sometimes lead to longer-than-necessary compilation times. SBT (simple-build-tool) contains a rather innovative feature which actually bundles a Scala compiler plugin to optimize these recompilation heuristics. Specifically: http://code.google.com/p/simple-build-tool/source/browse/trunk/src/main/scala/sbt/Analyzer.scala
> I'm not entirely clear yet on how it works, but it seems like it would do much to improve Buildr's rather-lengthy Scala build times.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (BUILDR-229) Improve Scala Source Change Detection
Posted by "Daniel Spiewak (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BUILDR-229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Spiewak closed BUILDR-229.
---------------------------------
Resolution: Won't Fix
> Improve Scala Source Change Detection
> -------------------------------------
>
> Key: BUILDR-229
> URL: https://issues.apache.org/jira/browse/BUILDR-229
> Project: Buildr
> Issue Type: New Feature
> Components: Compilers
> Affects Versions: 1.4
> Reporter: Daniel Spiewak
> Priority: Minor
>
> To my knowledge, Buildr currently bases its decision on which Scala files to compile based on simple file change heuristics (modified timestamp). Because Scala produces such a massive number of .class files, this can sometimes lead to longer-than-necessary compilation times. SBT (simple-build-tool) contains a rather innovative feature which actually bundles a Scala compiler plugin to optimize these recompilation heuristics. Specifically: http://code.google.com/p/simple-build-tool/source/browse/trunk/src/main/scala/sbt/Analyzer.scala
> I'm not entirely clear yet on how it works, but it seems like it would do much to improve Buildr's rather-lengthy Scala build times.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.