[2.0] Using sbt 0.11.3 to build 0.11.2 project

1,197 views
Skip to first unread message

howa

unread,
Jul 4, 2012, 11:14:34 AM7/4/12
to play-framework
My system has upgraded to sbt 0.11.3 but build failed..

Problem solved when rollback to use earlier version of sbt (0.11.2),
so does it mean I must use the same version of sbt to build the
project?

Thanks.
------------------------

/usr/lib/jvm/java-7-oracle/bin/java -jar /usr/share/sbt/0.11.3/sbt-
launch.jar clean test stage
Getting org.scala-sbt sbt_2.9.1 0.11.2 ...

:: problems summary ::
:::: WARNINGS
module not found: org.scala-sbt#sbt_2.9.1;0.11.2

==== local: tried

/var/lib/jenkins/.ivy2/local/org.scala-sbt/sbt_2.9.1/0.11.2/ivys/
ivy.xml

==== typesafe-ivy-releases: tried

http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt_2.9.1/0.11.2/ivys/ivy.xml

==== Maven Central: tried

http://repo1.maven.org/maven2/org/scala-sbt/sbt_2.9.1/0.11.2/sbt_2.9.1-0.11.2.pom

==== sonatype-snapshots: tried

https://oss.sonatype.org/content/repositories/snapshots/org/scala-sbt/sbt_2.9.1/0.11.2/sbt_2.9.1-0.11.2.pom

::::::::::::::::::::::::::::::::::::::::::::::

:: UNRESOLVED DEPENDENCIES ::

::::::::::::::::::::::::::::::::::::::::::::::

:: org.scala-sbt#sbt_2.9.1;0.11.2: not found

::::::::::::::::::::::::::::::::::::::::::::::



:: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
unresolved dependency: org.scala-sbt#sbt_2.9.1;0.11.2: not found
Error during sbt execution: Error retrieving required libraries
(see /var/lib/jenkins/.sbt/boot/update.log for complete log)
Error: Could not retrieve sbt 0.11.2

------------------------

kfer38

unread,
Jul 4, 2012, 12:02:22 PM7/4/12
to play-fr...@googlegroups.com
Build should work after you go into {play-app}/project/build.properties and then change 0.11.2 to 0.11.3. I read this somewhere when I upgraded to 2.0.2.

kfer83

unread,
Jul 4, 2012, 12:12:33 PM7/4/12
to play-fr...@googlegroups.com
here's the announcement with the installation instructions that mentions this change. 

howa

unread,
Jul 5, 2012, 1:01:57 AM7/5/12
to play-fr...@googlegroups.com
Thanks.


On Thursday, July 5, 2012 12:12:33 AM UTC+8, kfer83 wrote:
here's the announcement with the installation instructions that mentions this change. 


I will try Play 2.0.2 in the future, ATM we have fixed the issue by using older version of sbt.

What I found that this issue is really funny and nonsense - why there is no backward compatibility, why upgrading the build tool break the build process (just minor change from 0.11.2 to 0.11.3), sign..

Thanks anyway.

Seth Tisue

unread,
Jul 12, 2012, 5:31:55 PM7/12/12
to play-fr...@googlegroups.com
On Thu, Jul 5, 2012 at 1:01 AM, howa <howa...@gmail.com> wrote:
> What I found that this issue is really funny and nonsense - why there is no
> backward compatibility, why upgrading the build tool break the build process
> (just minor change from 0.11.2 to 0.11.3)

Compatibility across minor version updates is greatly improved in sbt
0.12, which is in release candidates and will likely be finalized
soon. I'd agree the 0.11 situation is unfortunate, but it's temporary.

--
Seth Tisue | Northwestern University | http://tisue.net
lead developer, NetLogo: http://ccl.northwestern.edu/netlogo/
Reply all
Reply to author
Forward
0 new messages