0.13.0-M1

342 views
Skip to first unread message

Mark Harrah

unread,
Mar 18, 2013, 12:16:47 PM3/18/13
to simple-b...@googlegroups.com
0.13.0-M1 is now available. This is an early, unpolished preview of sbt 0.13.

* See the Changes page[1] for the features in 0.13.
* Please only use the 0.13.0-M1 launcher[2] with 0.13.0-M1. This
avoids unnecessary complications while 0.13 is in development.
* sbt 0.13 is NOT binary compatible with 0.12. Plugins will need
to be recompiled before they can be used. Milestones will not
be binary compatible with each other, only release candidates will.
* Known incompatibilities are collected on the wiki[3]. Please report
anything you have to do to make a 0.12 plugin or build work with 0.13.
* If not using sbt-extras, use something like:
-Dsbt.global.base=/home/user/.sbt/0.13.0-M1/
in your startup script to avoid problems with global plugins
and settings
* Many commits from 0.13 were backported to 0.12.x so that 0.13 is
mainly a feature release. See also the commit history[4].
* There won't be any native packages until the first release candidate.

Thanks,
Mark

[1] http://www.scala-sbt.org/0.13.0/docs/Community/ChangeSummary_0.13.0.html
[2] http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/0.13.0-M1/sbt-launch.jar
[3] https://github.com/sbt/sbt/wiki/0.13-Known-Issues
[4] https://github.com/sbt/sbt/commits/v0.13.0-M1

Some more links that may be of interest:

* https://github.com/sbt/sbt/issues?milestone=2&state=open
* https://groups.google.com/d/topic/simple-build-tool/uFMRO8cnt44/discussion
* https://github.com/sbt/sbt/issues/554#issuecomment-12120799

Heiko Seeberger

unread,
Mar 18, 2013, 12:29:55 PM3/18/13
to simple-b...@googlegroups.com
Can't download the launcher ...



--

Heiko Seeberger
Twitter: @hseeberger
Company: Typesafe - The software stack for applications that scale
Author of "Durchstarten mit Scala, a tutorial-style Scala book"

--
You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simple-build-t...@googlegroups.com.
To post to this group, send email to simple-b...@googlegroups.com.
Visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



Doug Tangren

unread,
Mar 18, 2013, 8:07:10 PM3/18/13
to simple-b...@googlegroups.com
On Mon, Mar 18, 2013 at 12:29 PM, Heiko Seeberger <heiko.s...@gmail.com> wrote:
Can't download the launcher ...

 
I'm guessing this issue was resolved because I can :) 

How final is this with respect to plugins? A new major release if ripe for an influx of plugin re-publishing. I want to bootstrap myself for this but starting to make sure all my plugins still work ( yay scripted test framework ) and are ready to go when 0.13 goes final. 

p.s. these changes are really really really awesome!

Mark Harrah

unread,
Mar 18, 2013, 8:14:46 PM3/18/13
to simple-b...@googlegroups.com
On Mon, 18 Mar 2013 20:07:10 -0400
Doug Tangren <d.ta...@gmail.com> wrote:

> On Mon, Mar 18, 2013 at 12:29 PM, Heiko Seeberger <heiko.s...@gmail.com
> > wrote:
>
> > Can't download the launcher ...
> >
> >
> I'm guessing this issue was resolved because I can :)

Yes, I think it was a temporary issue with mirrors.

> How final is this with respect to plugins? A new major release if ripe for
> an influx of plugin re-publishing. I want to bootstrap myself for this but
> starting to make sure all my plugins still work ( yay scripted test
> framework ) and are ready to go when 0.13 goes final.

It is a milestone, so not at all final. Binary compatibility is definitely not guaranteed for milestones. To the extent that you use 0.12-only features, the intent is for source compatibility, but this isn't guaranteed either. There should be more details in the original email and on the incompatibilities page.

> p.s. these changes are really really really awesome!

Thanks!

-Mark

Kenji Yoshida

unread,
Mar 18, 2013, 9:30:18 PM3/18/13
to simple-b...@googlegroups.com
Hi everyone.

I tried sbt 0.13.0-M1.
but don't work following simple build.sbt example.


val a = Project("a", file("a"))
 
val b = Project("b", file("b"))
 
val root = Project("root", file(".")).aggregate(a, b)


Is this known issue? or a limitation of *.sbt format?
or there is alternative way in sbt0.13.0-M1?

Thanks.

Mark Harrah

unread,
Mar 19, 2013, 7:56:52 AM3/19/13
to simple-b...@googlegroups.com
On Mon, 18 Mar 2013 18:30:18 -0700 (PDT)
Kenji Yoshida <6b656...@gmail.com> wrote:

> Hi everyone.
>
> I tried sbt 0.13.0-M1.
> but don't work following simple build.sbt example.
>
>
> val a = Project("a", file("a"))
>
> val b = Project("b", file("b"))
>
> val root = Project("root", file(".")).aggregate(a, b)
>
>
>
> Is this known issue? or a limitation of *.sbt format?
> or there is alternative way in sbt0.13.0-M1?

It is a limitation with plans to fix. Thanks for testing and reporting.

There is currently a default root project in file(".") and the .sbt file is loaded for that project. By declaring another project in file(".") in the .sbt file, it tries to load the .sbt files in ".", but that leads to an infinite loop. I assume that is what you are seeing. You can put the root in another directory and it will work fine.

The open question is what to do about this and some options are listed here:

https://github.com/sbt/sbt/issues/554#issuecomment-12120799

Feedback is appreciated. I've added this problem to the Will fix section:

https://github.com/sbt/sbt/wiki/0.13-Known-Issues#will-fix

At least the infinite loop can be prevented in the next milestone.

-Mark

François-Xavier Thomas

unread,
Mar 19, 2013, 8:06:42 AM3/19/13
to simple-b...@googlegroups.com
Hm, did you guys use a newer version of jLine in there?
I'm getting an IncompatibleClassChangeError related to jline.Terminal...
> You received this message because you are subscribed to a topic in the Google Groups "simple-build-tool" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/simple-build-tool/5EbK-Tg9iho/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, send an email to simple-build-t...@googlegroups.com.

François-Xavier Thomas

unread,
Mar 19, 2013, 8:11:55 AM3/19/13
to simple-b...@googlegroups.com
Ah, yes, classic mistake. I was using the 0.12 launcher.
I really should read the instructions before trying something out ;)

Mark Harrah

unread,
Mar 19, 2013, 8:14:31 AM3/19/13
to simple-b...@googlegroups.com
On Tue, 19 Mar 2013 13:06:42 +0100
François-Xavier Thomas <fx.t...@gmail.com> wrote:

> Hm, did you guys use a newer version of jLine in there?
> I'm getting an IncompatibleClassChangeError related to jline.Terminal...

Yes, the version of JLine was changed:

* Please only use the 0.13.0-M1 launcher[2] with 0.13.0-M1. This
avoids unnecessary complications while 0.13 is in development.

-Mark

Kenji Yoshida

unread,
Mar 19, 2013, 10:32:59 AM3/19/13
to simple-b...@googlegroups.com

There is currently a default root project in file(".") and the .sbt file is loaded for that project.  By declaring another project in file(".") in the .sbt file, it tries to load the .sbt files in ".", but that leads to an infinite loop.  I assume that is what you are seeing.  You can put the root in another directory and it will work fine.

exactly!


At least the infinite loop can be prevented in the next milestone.



I see. thank you for your kind reply

Reply all
Reply to author
Forward
0 new messages