Play 2 doesn't usually have a modules directory.

Yes, Heroku pulls the sbt-plugin from the plugins.sbt file. You can simulate it with:
sbt stage

(Which should do the same thing as play stage.)

It is possible though that this is an sbt version problem because Heroku uses sbt 0.11.3 and I think Play 2.1 may be bumping to 0.12. You could fork the buildpack for 0.12:
https://github.com/heroku/heroku-buildpack-scala

-James


On 08/20/2012 08:14 AM, Jay wrote:
I was reading a post and it mentioned to .gitignore the "modules"
directory.  I have my modules directory in the repo, is this my problem?

On Saturday, August 18, 2012 9:52:53 PM UTC-6, Jay wrote:

    Tried clearing out the ivy cache, still no success.

    java version "1.6.0_33"
    Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
    Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)


    Does heroku pull the play version from the plugins.sbt file?

    plugins.sbt
    ========================
    logLevel := Level.Warn

    resolvers ++= Seq(
         "Typesafe repository" at
    "http://repo.typesafe.com/typesafe/releases/
    <http://repo.typesafe.com/typesafe/releases/>",
         Resolver.url("Typesafe ivy-snapshots",
         url("http://repo.typesafe.com/typesafe/ivy-snapshots
    
<http://repo.typesafe.com/typesafe/ivy-snapshots>"))(Resolver.ivyStylePatterns),
         "Typesafe snapshots" at
    "http://repo.typesafe.com/typesafe/snapshots
    <http://repo.typesafe.com/typesafe/snapshots>"
    )

    // Use the Play sbt plugin for Play projects
    addSbtPlugin("play" % "sbt-plugin" % "2.1-SNAPSHOT")




    On Saturday, August 18, 2012 2:31:14 PM UTC-6, James Ward wrote:

        Hmmm...  Possibly a different snapshot version or a different
        JDK version.

        Make sure you are using JDK 6 locally and clear out your local ivy
        cache, then run "play stage" again.

        -James


        On 08/18/2012 11:05 AM, Jay wrote:
         > Thanks for the quick response.
         >
         > It runs local with 'play stage'.
         >
         > My repos are the following:
         > resolvers += "Apache Snapshot repository" at
         >
        "https://repository.apache.org/content/repositories/snapshots/
        <https://repository.apache.org/content/repositories/snapshots/>",
         > resolvers += "t2v.jp <http://t2v.jp> repo" at
        "http://www.t2v.jp/maven-repo/";,
         > resolvers += "Spy Repository" at
        "http://files.couchbase.com/maven2
        <http://files.couchbase.com/maven2>"
         >
         >
         > On Saturday, August 18, 2012 9:00:21 AM UTC-6, James Ward wrote:
         >
         >     Can you reproduce this locally by running:
         >     play stage
         >
         >     Is the snapshot build being downloaded from a remote repo?
         >
         >     -James
         >
         >
         >     On 08/18/2012 08:46 AM, Jay wrote:
         >      > Hello,
         >      >
         >      > I'm trying to push my code to Heroku, but I'm running
        into the
         >     following
         >      > issue:
         >      >
         >      >
        /tmp/build_gzxih7dftrne/app/controllers/Application.scala:16:
        object
         >      > execution is not a member of package
        play.api.libs.concurrent
         >      >          [error] import
         >     play.api.libs.concurrent.execution.defaultContext
         >      >
         >      > Currently, using Play-2.1-SNAPSHOT and trying to use
        play's Async
         >      > design.  I'm not sure what's going on here.
         >      >
         >      > Thanks
         >      >
         >      > Jay
         >      >
         >      > --
         >      > You received this message because you are subscribed
        to the Google
         >      > Groups "Heroku" group.
         >      >
         >      > To unsubscribe from this group, send email to
         >      > [email protected] <javascript:>
         >      > For more options, visit this group at
         >      > http://groups.google.com/group/heroku?hl=en_US?hl=en
        <http://groups.google.com/group/heroku?hl=en_US?hl=en>
         >     <http://groups.google.com/group/heroku?hl=en_US?hl=en
        <http://groups.google.com/group/heroku?hl=en_US?hl=en>>
         >
         > --
         > You received this message because you are subscribed to the
        Google
         > Groups "Heroku" group.
         >
         > To unsubscribe from this group, send email to
         > [email protected]
         > For more options, visit this group at
         > http://groups.google.com/group/heroku?hl=en_US?hl=en
        <http://groups.google.com/group/heroku?hl=en_US?hl=en>

--
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

--
You received this message because you are subscribed to the Google
Groups "Heroku" group.

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en_US?hl=en

Reply via email to