sbt 0.13.2-M1 is published.
0.13.2-M1 is predominantly a bugfix release, but this milestone contains new features improvements we'd like to ensure are stable before releasing:
- New incremental compilation algorithm which should help reduce the amount of files touched on recompile. To enable incremental compilation, add this setting:
incOptions := incOptions.value.withNameHashing(true)
- The sbt launcher[1] has the ability to launch servers in addition to applications. You can now create servers which bind to dynamic ports and discover the port using a new --locate option on the launcher. Fledgling docs [2] [3] are available for this feature.
Use it in an existing 0.13 project by modifying project/build.properties to be:sbt.version=0.13.2-M1
There is a new launcher[1], but the 0.13.{0,1} launcher should work fine with 0.13.2-M1. No changes should be necessary to your project definition and all plugins published for 0.13.x should still work.Please try out the new features and report back any issues you find!
Thanks,
The sbt Team
[1] http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.2-M1/sbt-launch.jar
--
You received this message because you are subscribed to the Google Groups "sbt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sbt-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sbt-dev/CAFLqJkzj_%2B4bgbtPE_yxacZVcf3p-ffbE%2BY2gJpKyo3LP8LoZA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.
On Thu, Jan 9, 2014 at 9:52 AM, Josh Suereth <joshua....@gmail.com> wrote:
sbt 0.13.2-M1 is published.
0.13.2-M1 is predominantly a bugfix release, but this milestone contains new features improvements we'd like to ensure are stable before releasing:
- New incremental compilation algorithm which should help reduce the amount of files touched on recompile. To enable incremental compilation, add this setting:
incOptions := incOptions.value.withNameHashing(true)
Exciting that this is now available! One thing, perhaps it would be more readable and similar to other settings, if there was a separate Boolean setting like incrementalNameHashing (or a more general IncrementalAlgorithm type), and incOptions or whatever would have a dependency on that setting.
On 10 January 2014 07:40, Naftoli Gugenheim <nafto...@gmail.com> wrote:
On Thu, Jan 9, 2014 at 9:52 AM, Josh Suereth <joshua....@gmail.com> wrote:
sbt 0.13.2-M1 is published.
0.13.2-M1 is predominantly a bugfix release, but this milestone contains new features improvements we'd like to ensure are stable before releasing:
- New incremental compilation algorithm which should help reduce the amount of files touched on recompile. To enable incremental compilation, add this setting:
incOptions := incOptions.value.withNameHashing(true)
Exciting that this is now available! One thing, perhaps it would be more readable and similar to other settings, if there was a separate Boolean setting like incrementalNameHashing (or a more general IncrementalAlgorithm type), and incOptions or whatever would have a dependency on that setting.Hi Naftoli!There are more incremental compiler settings than just nameHashing, check IncOptions class.
We would have to introduce a setting for most of those options which probably doesn't make much sense. Normally, you shouldn't need to tweak those options and just stick to defaults. In particular, once name hashing stabilizes we'll switch to it by default.
--
You received this message because you are subscribed to the Google Groups "sbt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sbt-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sbt-dev/CAD%2BExr%2BSFzWUxO_ZqFZujMM-XpDG5A8TfLgSQNB7pSk9FKxEtA%40mail.gmail.com.
(facelift-core/compile:compile) java.lang.AssertionError: assertion failed: When `nameHashing` is disabled `names` relation should be empty: $names
--
You received this message because you are subscribed to the Google Groups "sbt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sbt-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sbt-dev/e1e02851-08ab-4727-8980-6ce83ee47dee%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "sbt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sbt-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sbt-dev/CAD%2BExrJCen1wmNPn6BcpM2cOTeLbB4j3Wc5%2BA%3Dy14k0A0zGYZg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "sbt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sbt-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sbt-dev/CAD%2BExrJFvFRa-b-SBmSGzpZt_%2Bf-767d%2BSvhf_aX-XsFg6xqNQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sbt-dev/CAJeBnVWbOiqo2Py1w9LFA%3D%3DZEd_ShoOrge9%2BgZEeP4KCOa-sXg%40mail.gmail.com.
sbt-appengine> compile[info] Updating {file:/x/sbt-appengine/}sbt-appengine...[info] Resolving org.fusesource.jansi#jansi;1.4 ...[info] Done updating.[info] Compiling 2 Scala sources to /x/sbt-appengine/target/scala-2.10/sbt-0.13/classes...[error] /x/sbt-appengine/src/main/scala/AppenginePlugin.scala:162: exception during macro expansion:[error] java.lang.NullPointerException[error] at sbt.appmacro.Instance$.sbt$appmacro$Instance$$addType$1(Instance.scala:170)[error] at sbt.appmacro.Instance$$anonfun$sbt$appmacro$Instance$$sub$1$1.apply(Instance.scala:178)[error] at sbt.appmacro.Instance$$anonfun$sbt$appmacro$Instance$$sub$1$1.apply(Instance.scala:177)[error] at sbt.appmacro.Converted$Success.transform(Convert.scala:33)[error] at sbt.appmacro.Instance$.sbt$appmacro$Instance$$sub$1(Instance.scala:177)[error] at sbt.appmacro.Instance$$anonfun$1.apply(Instance.scala:183)[error] at sbt.appmacro.Instance$$anonfun$1.apply(Instance.scala:183)[error] at sbt.appmacro.ContextUtil$appTransformer$2$.transform(ContextUtil.scala:227)[error] at sbt.appmacro.ContextUtil$appTransformer$2$.transform(ContextUtil.scala:222)[error] at scala.reflect.internal.Trees$class.itransform(Trees.scala:1217)[error] at scala.reflect.internal.SymbolTable.itransform(SymbolTable.scala:13)[error] at scala.reflect.internal.SymbolTable.itransform(SymbolTable.scala:13)[error] at scala.reflect.api.Trees$Transformer.transform(Trees.scala:2897)[error] at sbt.appmacro.ContextUtil$appTransformer$2$.transform(ContextUtil.scala:232)[error] at sbt.appmacro.ContextUtil$appTransformer$2$.transform(ContextUtil.scala:222)[error] at scala.reflect.api.Trees$Transformer$$anonfun$transformTrees$1.apply(Trees.scala:2900)[error] at scala.reflect.api.Trees$Transformer$$anonfun$transformTrees$1.apply(Trees.scala:2900)[error] at scala.collection.immutable.List.loop$1(List.scala:170)[error] at scala.collection.immutable.List.mapConserve(List.scala:186)[error] at scala.reflect.api.Trees$Transformer.transformTrees(Trees.scala:2900)[error] at scala.reflect.internal.Trees$class.itransform(Trees.scala:1219)[error] at scala.reflect.internal.SymbolTable.itransform(SymbolTable.scala:13)[error] at scala.reflect.internal.SymbolTable.itransform(SymbolTable.scala:13)[error] at scala.reflect.api.Trees$Transformer.transform(Trees.scala:2897)[error] at sbt.appmacro.ContextUtil$appTransformer$2$.transform(ContextUtil.scala:230)[error] at sbt.appmacro.ContextUtil$appTransformer$2$.transform(ContextUtil.scala:222)[error] at scala.reflect.api.Trees$Transformer$$anonfun$transformTrees$1.apply(Trees.scala:2900)[error] at scala.reflect.api.Trees$Transformer$$anonfun$transformTrees$1.apply(Trees.scala:2900)[error] at scala.collection.immutable.List.loop$1(List.scala:170)[error] at scala.collection.immutable.List.mapConserve(List.scala:186)[error] at scala.reflect.api.Trees$Transformer.transformTrees(Trees.scala:2900)[error] at scala.reflect.internal.Trees$class.itransform(Trees.scala:1219)[error] at scala.reflect.internal.SymbolTable.itransform(SymbolTable.scala:13)[error] at scala.reflect.internal.SymbolTable.itransform(SymbolTable.scala:13)[error] at scala.reflect.api.Trees$Transformer.transform(Trees.scala:2897)[error] at sbt.appmacro.ContextUtil$appTransformer$2$.transform(ContextUtil.scala:230)[error] at sbt.appmacro.ContextUtil.transformWrappers(ContextUtil.scala:236)[error] at sbt.appmacro.Instance$.contImpl(Instance.scala:183)[error] at sbt.std.TaskMacro$.iInitializeMacro(TaskMacro.scala:236)[error] at sbt.std.TaskMacro$.inputTaskMacro0(TaskMacro.scala:225)[error] at sbt.std.TaskMacro$.inputTaskMacroImpl(TaskMacro.scala:220)[error] at sbt.std.TaskMacro$.inputTaskAssignMacroImpl(TaskMacro.scala:135)[error] gae.requestLogs := AppEngine.appcfgTask("request_logs", outputFile = Some("request.log")).evaluated,[error] ^[error] one error found[error] (compile:compile) Compilation failed[error] Total time: 7 s, completed Feb 5, 2014 11:43:07 PM
To view this discussion on the web visit https://groups.google.com/d/msgid/sbt-dev/20140206092006.55641832%40gmail.com.
sbt-appengine> compile[info] Updating {file:/x/sbt-appengine/}sbt-appengine...[info] Resolving org.fusesource.jansi#jansi;1.4 ...[info] Done updating.[info] Compiling 2 Scala sources to /x/sbt-appengine/target/scala-2.10/sbt-0.13/classes...
[error] /Users/eed3si9n/work/sbt-appengine/src/main/scala/AppenginePlugin.scala:162: exception during macro expansion:
[error] java.lang.NullPointerException[error] at sbt.appmacro.Instance$.sbt$appmacro$Instance$$addType$1(Instance.scala:170)
....
[error] gae.requestLogs := AppEngine.appcfgTask("request_logs", outputFile = Some("request.log")).evaluated,[error] ^[error] one error found[error] (compile:compile) Compilation failed
[error] Total time: 36 s, completed Feb 6, 2014 10:03:54 AMsbt-appengine> sbtVersion[info] 0.13.2-SNAPSHOT
To view this discussion on the web visit https://groups.google.com/d/msgid/sbt-dev/20140206092006.55641832%40gmail.com.
--
You received this message because you are subscribed to the Google Groups "sbt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sbt-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sbt-dev/6550d30c-5b15-4c46-8b6f-6cb2ecd40f94%40googlegroups.com.
Greg has a fix in. 0.13.2-M2 should be out tomorrow, if all goes according to plan.
Hi everyone,I'm using it since yesterday, I just got that this morning:[trace] Stack trace suppressed: run last model/compile:compile for the full output.[error] (model/compile:compile) java.lang.IllegalArgumentException: requirement failed: Source file '/home/alois/timeout/jvm/target/classes.bak/sbt31129578467175808.class' does not exist.[error] Total time: 2 s, completed Mar 12, 2014 11:23:42 AM7. Waiting for source changes... (press enter to interrupt)last m> last model/compile:compile>
Hi everyone,I'm using it since yesterday, I just got that this morning:[trace] Stack trace suppressed: run last model/compile:compile for the full output.[error] (model/compile:compile) java.lang.IllegalArgumentException: requirement failed: Source file '/home/alois/timeout/jvm/target/classes.bak/sbt31129578467175808.class' does not exist.[error] Total time: 2 s, completed Mar 12, 2014 11:23:42 AM7. Waiting for source changes... (press enter to interrupt)last m> last model/compile:compile
--
You received this message because you are subscribed to the Google Groups "sbt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sbt-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sbt-dev/d1d8fdd3-f1a7-4cfd-af9b-827402a637f9%40googlegroups.com.
If that help:
- happen only with name hashing
- I do not use an IDE
I tried to see if there is a pattern (like when switching branches)
But it feel quite random so far...
You received this message because you are subscribed to a topic in the Google Groups "sbt-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sbt-dev/KmGEhFTMve0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sbt-dev+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sbt-dev/CAJeBnVUK%3DyNzgc_%3DeMZEGxU1D1_UFp%3Dck4Onit1_M7yHW_qEfw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sbt-dev/CAJHA%2Bwpn8s6ezXv1NY_v6WzD6BaoJF3Rc7MEgkeX4MDg8x7Nmw%40mail.gmail.com.
So, it looks like your last issue was, indeed, the one fixed in sbt 0.13.2-M3. As for the incremental compiler issue, hoping Greg can help out here.