Giter Club home page Giter Club logo

play2bars's Introduction

Play2Bars

This is a set of sample Play2 applications which utilize different technology stacks. Each sample has it's own branch in git. Here are the current branches containing sample apps:

java-ebean        Java Controllers, EBean RDBMS Persistence, Scala Templates, HTML / jQuery / CoffeeScript Client
java-neo4j        Java Controllers, Neo4j Persistence, Scala Templates, HTML / jQuery / CoffeeScript Client
java-spring       Java Controllers, Spring Dependency Injection, JPA Persistence, Scala Templates, HTML / jQuery / CoffeeScript Client
scala-anorm       Scala Controllers, Anorm RDBMS Persistence, Scala Templates, HTML / jQuery / CoffeeScript Client
scala-mongodb     Scala Controllers, MongoDB Persistence, Scala Templates, HTML / jQuery / CoffeeScript Client
scala-squeryl     Scala Controllers, Squeryl RDBMS Persistence, Scala Templates, HTML / jQuery / CoffeeScript Client

play2bars's People

Contributors

jamesward avatar retroryan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

play2bars's Issues

Stuck trying to run it for the 1st time

Hi,

So, all I did was to clone the project and switch to the branch scala-squeryl. I tried to run it with play but got many errors as follows.

$ play --version
sbt launcher version 0.13.0

1st error

When I typed play, at first it didn't recognize the sbt version. I got this:

$ play
Getting org.scala-sbt sbt 0.11.3 ...

:: problems summary ::
:::: WARNINGS
        module not found: org.scala-sbt#sbt;0.11.3

    ==== local: tried

      /usr/local/Cellar/play/2.2.2/libexec/repository/local/org.scala-sbt/sbt/0.11.3/ivys/ivy.xml

Then I updated the project/build.properties file to the version I was using:

sbt.version=0.13.0

2nd error

Then I ran play again and this time I got:

sbt.ResolveException: unresolved dependency: play#sbt-plugin;2.0.4: not found

So I went to project/plugins.sbt and changed the sbt plugin version to the following, as I saw here:

addSbtPlugin("play" % "sbt-plugin" % "2.0")

3rd error

Ran play again. And then I got:

[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  ::          UNRESOLVED DEPENDENCIES         ::
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn]  :: play#sbt-plugin;2.0: not found
[warn]  ::::::::::::::::::::::::::::::::::::::::::::::
[warn] 
[warn]  Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn]      play:sbt-plugin:2.0 (sbtVersion=0.13, scalaVersion=2.10)
[warn] 
sbt.ResolveException: unresolved dependency: play#sbt-plugin;2.0: not found

Then I read here that I would need to set the sbt-plugin version to 2.1.0. So I did.

4th error

After running play I got another one:

[warn]  Note: Some unresolved dependencies have extra attributes.  Check that these dependencies exist with the requested attributes.
[warn]      play:sbt-plugin:2.1.0 (sbtVersion=0.13, scalaVersion=2.10)
[warn] 
sbt.ResolveException: unresolved dependency: play#sbt-plugin;2.1.0: not found

I really like the Play project and spiked it a few times already. Could you point me in the right direction regarding those versioning issues? I could update and test them, then send a PR correcting it.

This kind of thing makes it very difficult for newcomers to adopt Play.. I'm actually investing some of my time trying to make other adopt it, and also Scala in general.

Thanks!

Trouble comipiling (dependency problem)

I had some trouble with Jquery, when trying to run the application the first time.
I solved it by replacing a line in Build.scala:

  •  "com.jquery" % "jquery" % "1.7.1"
    
  •  "com.jquery" % "jquery" % "1.7.1" from "http://code.jquery.com/jquery-1.7.1.min.js"
    

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.