0.10.1

154 views
Skip to first unread message

Mark Harrah

unread,
Jul 14, 2011, 8:49:31 AM7/14/11
to simple-b...@googlegroups.com
sbt 0.10.1 is published[1]. Some of the more visible changes are listed on the Changes page[2]. See the issue tracker[3] and commit log[4,5] for details.

Plugins built from source should work right away because they will be automatically rebuilt by sbt. Plugins declared as binary dependencies must be compiled against the same version of sbt that is running.

Thanks,
Mark

[1] http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-tools.sbt/sbt-launch/0.10.1/sbt-launch.jar
[2] https://github.com/harrah/xsbt/wiki/Changes
[3] https://github.com/harrah/xsbt/issues
[4] git log --oneline v0.10.0..v0.10.1
[5] https://github.com/harrah/xsbt/compare/v0.10.0...v0.10.1

Artyom Olshevskiy

unread,
Jul 14, 2011, 9:08:52 AM7/14/11
to simple-b...@googlegroups.com
Congrats!!!

Doug Tangren

unread,
Jul 14, 2011, 9:37:01 AM7/14/11
to simple-b...@googlegroups.com
Awesome!

-Doug Tangren
http://lessis.me

lester

unread,
Jul 14, 2011, 10:03:49 AM7/14/11
to simple-build-tool
Many thanks Mark! Awesome work!!!

Vladimir


On 14 июл, 16:49, Mark Harrah <dmhar...@gmail.com> wrote:
> sbt 0.10.1 is published[1].  Some of the more visible changes are listed on the Changes page[2].  See the issue tracker[3] and commit log[4,5] for details.
>
> Plugins built from source should work right away because they will be automatically rebuilt by sbt.  Plugins declared as binary dependencies must be compiled against the same version of sbt that is running.
>
> Thanks,
> Mark
>
> [1]http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala...

Søren Mathiasen

unread,
Jul 14, 2011, 10:04:46 AM7/14/11
to simple-b...@googlegroups.com, simple-b...@googlegroups.com
Super work !

--- Søren
> --
> You received this message because you are subscribed to the Google Groups "simple-build-tool" group.
> To post to this group, send email to simple-b...@googlegroups.com.
> To unsubscribe from this group, send email to simple-build-t...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/simple-build-tool?hl=en.
>

ijuma

unread,
Jul 14, 2011, 11:05:43 AM7/14/11
to simple-b...@googlegroups.com
Great!

When I use the sbt 0.10.1 launcher with the xsbt-web-plugin, I get the following error:

update: sbt.ResolveException: download failed: org.scala-tools.sbt#io_2.8.1;0.10.1!io_2.8.1.jar
[error] download failed: org.scala-tools.sbt#logging_2.8.1;0.10.1!logging_2.8.1.jar
[error] download failed: org.scala-tools.sbt#process_2.8.1;0.10.1!process_2.8.1.jar
[error] download failed: org.scala-tools.sbt#classpath_2.8.1;0.10.1!classpath_2.8.1.jar

It seems like the Typesafe launcher is not used while looking for the plugin dependencies.

Best,
Ismael

Peter Brant

unread,
Jul 14, 2011, 11:16:28 AM7/14/11
to simple-b...@googlegroups.com
I ran into the same problem yesterday with 0.10.0. It looks like the
Typesafe repository has been reorganized a bit with most things moving
from Maven to Ivy. The following:

resolvers += {
val ivyPattern =
"[organisation]/[module]/[revision]/[type]s/[artifact](-[classifier]).[ext]"
val ivySbtPluginPattern =
"[organisation]/[module]/[sbtversion]/[revision]/[type]s/[artifact](-[classifier])-[revision].[ext]"
val patterns = Patterns(false, ivyPattern, ivySbtPluginPattern)
Resolver.url("Typesafe Ivy Repository",
url("http://repo.typesafe.com/typesafe/ivy-releases"))(patterns)
}

in plugins/build.sbt got me working again (with the first pattern for
the sbt related dependencies and the second for sbteclipse).

Pete

> --
> You received this message because you are subscribed to the Google Groups
> "simple-build-tool" group.

> To view this discussion on the web visit
> https://groups.google.com/d/msg/simple-build-tool/-/2xDj6pqb8xEJ.

ijuma

unread,
Jul 14, 2011, 11:25:52 AM7/14/11
to simple-b...@googlegroups.com
On Thursday, 14 July 2011 16:16:28 UTC+1, Peter Brant wrote:
I ran into the same problem yesterday with 0.10.0.  It looks like the
Typesafe repository has been reorganized a bit with most things moving
from Maven to Ivy.

Thanks Peter. SBT has used the Ivy layout for a while. My guess is that it was being added automatically for plugins previously and it's no longer happening. Or something like that. In any case, your suggestion is a good workaround for now. Thanks!

Best,
Ismael 

Mark Harrah

unread,
Jul 15, 2011, 12:56:36 PM7/15/11
to simple-b...@googlegroups.com

It should still be added:

https://github.com/harrah/xsbt/blob/0.10/main/Defaults.scala#L590

It is possible the sbteclipse repository definition is messing
something up. Can you post the full log (you can send it directly to
me if you prefer)?

-Mark

Artyom Olshevskiy

unread,
Jul 17, 2011, 8:49:41 AM7/17/11
to simple-b...@googlegroups.com
So looks like typesafe resolver is no required to resolve sbt deps plugin depends on?

Artyom Olshevskiy

unread,
Jul 17, 2011, 10:39:02 AM7/17/11
to simple-b...@googlegroups.com
I mean *now required

ijuma

unread,
Jul 17, 2011, 5:30:41 PM7/17/11
to simple-b...@googlegroups.com
On Friday, 15 July 2011 17:56:36 UTC+1, Mark Harrah wrote:

It is possible the sbteclipse repository definition is messing
something up.

I don't use sbteclipse, so that can't be it. Also note that this worked fine before. In fact, I was using a nightly from a few days before 0.10.1 and it worked fine. I think it should be easy to reproduce with a project that depends on xsbt-web-plugin. I'll try to create a simple project that shows the issue as soon as I have some free time and will file a bug report (if no-one beats me to it, of course).

Best,
Ismael 

Peter Brant

unread,
Jul 19, 2011, 5:44:18 PM7/19/11
to simple-b...@googlegroups.com
FWIW, one easy way to reproduce this (at least for me) is to clear out
the Ivy cache directory, clone
https://github.com/siasia/xsbt-proguard-plugin.git, and do a build.
This is with 0.10.0 though. I haven't tried it with 0.10.1 yet.

Pete

> --
> You received this message because you are subscribed to the Google Groups
> "simple-build-tool" group.
> To view this discussion on the web visit

> https://groups.google.com/d/msg/simple-build-tool/-/ZvImYlyDU0AJ.

Mark Harrah

unread,
Jul 19, 2011, 9:22:22 PM7/19/11
to simple-b...@googlegroups.com
On 7/17/11, Artyom Olshevskiy <siasi...@gmail.com> wrote:
> So looks like typesafe resolver is no required to resolve sbt deps plugin
> depends on?

If you are asking whether it needs to be manually added, I hope not.
That would be a bug. I'm pretty sure it has always been automatically
added, though.

-Mark

Mark Harrah

unread,
Jul 19, 2011, 9:23:16 PM7/19/11
to simple-b...@googlegroups.com
On 7/19/11, Peter Brant <peter...@gmail.com> wrote:
> FWIW, one easy way to reproduce this (at least for me) is to clear out
> the Ivy cache directory, clone
> https://github.com/siasia/xsbt-proguard-plugin.git, and do a build.
> This is with 0.10.0 though. I haven't tried it with 0.10.1 yet.

If you can reproduce in the same manner using 0.10.1, please open a bug.

-Mark

ijuma

unread,
Jul 26, 2011, 4:50:06 AM7/26/11
to simple-b...@googlegroups.com
On Sunday, 17 July 2011 22:30:41 UTC+1, ijuma wrote:
Also note that this worked fine before. In fact, I was using a nightly from a few days before 0.10.1 and it worked fine. I think it should be easy to reproduce with a project that depends on xsbt-web-plugin. I'll try to create a simple project that shows the issue as soon as I have some free time and will file a bug report (if no-one beats me to it, of course).

This is no longer an issue since the sbt dependencies in xsbt-web-plugin were changed to "provided" in the latest version.

Best,
Ismael
Reply all
Reply to author
Forward
0 new messages