Details

    • Type: Task Task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: Server
    • Labels:
      None

      Description

      New version of SBT: 0.10 is out.

      Note: it's incompatible with old 0.7.x versions.

      https://github.com/harrah/xsbt/wiki/Migrating-from-SBT-0.7.x-to-0.10.x

      Why move to 0.10?

      -Faster builds (because it is smarter at re-compiling only what it must)
      -Easier configuration. For simple projects a single build.sbt file in your root directory is easier to create than project/build/MyProject.scala was.
      -No more lib_managed directory, reducing disk usage and avoiding backup and version control hassles.
      -update is now much faster and it's invoked automatically by sbt.
      -Terser output. (Yet you can ask for more details if something goes wrong.)

        Activity

        Show
        Vladimir Ivanov added a comment - Lift-specific details: http://www.assembla.com/spaces/liftweb/wiki/Using_SBT http://moreindirection.blogspot.com/2011/06/migrating-to-sbt-010-lift.html
        Hide
        Dick Hirsch added a comment -

        Could this possibly solve the problems associated with sbt tests (https://issues.apache.org/jira/browse/ESME-332). If yes, we could kill two birds with one stone and migrate to sbt 0.10 in the 1.3 release

        Show
        Dick Hirsch added a comment - Could this possibly solve the problems associated with sbt tests ( https://issues.apache.org/jira/browse/ESME-332 ). If yes, we could kill two birds with one stone and migrate to sbt 0.10 in the 1.3 release
        Hide
        Vladimir Ivanov added a comment -

        Yes. I'll check tests as well.

        Show
        Vladimir Ivanov added a comment - Yes. I'll check tests as well.
        Hide
        Vladimir Ivanov added a comment -

        Finished with SBT migration to 0.10.0 version. Tests still fail for me though. Tried both with parallel and serial execution. It would be nice if someone build project with this new SBT version as well.

        Show
        Vladimir Ivanov added a comment - Finished with SBT migration to 0.10.0 version. Tests still fail for me though. Tried both with parallel and serial execution. It would be nice if someone build project with this new SBT version as well.
        Hide
        Dick Hirsch added a comment -

        Which tests fail? Is there some way to localize what the problem might be?

        Show
        Dick Hirsch added a comment - Which tests fail? Is there some way to localize what the problem might be?
        Hide
        Vladimir Ivanov added a comment -

        Except known issue (relateded to sorting) with PopStatsActorSpecs test, all failed tests (14) are in Api2Specs test (but, as far as I remember, it did pass these tests one time).
        It seems failed tests relate to incorrect status code returned:

        [info] + /pools/POOLID/users POST
        [info] + with valid session
        [info] + with no session returns 403 (forbidden)
        [info] x /pools/POOLID/messages GET
        [info] '204' is not equal to '200' (Result.scala:43)
        [info] x /pools/POOLID/messages GET
        [info] '403' is not equal to '204' (Result.scala:43)
        [info] x with valid session and new messages
        [info] '204' is not equal to '200' (Result.scala:43)
        [info] + with no session returns 403 (forbidden)
        [info] x when no new messages exist, returns 204 (no content)
        [info] '403' is not equal to '204' (Result.scala:43)
        [info] x /pools/POOLID/messages?history=10 GET
        [info] <messages></messages> doesn't contain <id>2</id> (API2Test.scala:745)
        [info] x /pools/POOLID/messages?history=10 GET
        [info] <messages></messages> doesn't contain <id>2</id> (API2Test.scala:775)
        [info] x with valid session
        [info] <messages></messages> doesn't contain <id>2</id> (API2Test.scala:745)
        [info] x with tag restrictions
        [info] <messages></messages> doesn't contain <id>2</id> (API2Test.scala:775)

        I'll try to investigate it further.

        Show
        Vladimir Ivanov added a comment - Except known issue (relateded to sorting) with PopStatsActorSpecs test, all failed tests (14) are in Api2Specs test (but, as far as I remember, it did pass these tests one time). It seems failed tests relate to incorrect status code returned: [info] + /pools/POOLID/users POST [info] + with valid session [info] + with no session returns 403 (forbidden) [info] x /pools/POOLID/messages GET [info] '204' is not equal to '200' (Result.scala:43) [info] x /pools/POOLID/messages GET [info] '403' is not equal to '204' (Result.scala:43) [info] x with valid session and new messages [info] '204' is not equal to '200' (Result.scala:43) [info] + with no session returns 403 (forbidden) [info] x when no new messages exist, returns 204 (no content) [info] '403' is not equal to '204' (Result.scala:43) [info] x /pools/POOLID/messages?history=10 GET [info] <messages></messages> doesn't contain <id>2</id> (API2Test.scala:745) [info] x /pools/POOLID/messages?history=10 GET [info] <messages></messages> doesn't contain <id>2</id> (API2Test.scala:775) [info] x with valid session [info] <messages></messages> doesn't contain <id>2</id> (API2Test.scala:745) [info] x with tag restrictions [info] <messages></messages> doesn't contain <id>2</id> (API2Test.scala:775) I'll try to investigate it further.
        Hide
        Hudson added a comment -

        Integrated in ESME #619 (See https://builds.apache.org/job/ESME/619/)
        Completed ESME-349: Migrate to SBT 0.10.0

        lester :
        Files :

        • /esme/trunk/server/project/build.properties
        • /esme/trunk/server/project/build
        • /esme/trunk/server/src/main/scala/org/apache/esme/actor/ScalaInterpreter.scala
        • /esme/trunk/server/project/plugins/build.sbt
        • /esme/trunk/server/project/plugins/Plugins.scala
        • /esme/trunk/server/build.sbt
        Show
        Hudson added a comment - Integrated in ESME #619 (See https://builds.apache.org/job/ESME/619/ ) Completed ESME-349 : Migrate to SBT 0.10.0 lester : Files : /esme/trunk/server/project/build.properties /esme/trunk/server/project/build /esme/trunk/server/src/main/scala/org/apache/esme/actor/ScalaInterpreter.scala /esme/trunk/server/project/plugins/build.sbt /esme/trunk/server/project/plugins/Plugins.scala /esme/trunk/server/build.sbt

          People

          • Assignee:
            Vladimir Ivanov
            Reporter:
            Vladimir Ivanov
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development