Skip to content

Upgrade for Ebean 6.7.1#56

Merged
jroper merged 2 commits into
playframework:masterfrom
Ronnie76er:ebeanorm_6.7.1
Sep 23, 2015
Merged

Upgrade for Ebean 6.7.1#56
jroper merged 2 commits into
playframework:masterfrom
Ronnie76er:ebeanorm_6.7.1

Conversation

@Ronnie76er
Copy link
Copy Markdown
Contributor

Upgrade for Ebean 6.7.1. This resolves issue #53

@Ronnie76er
Copy link
Copy Markdown
Contributor Author

Changed this to an upgrade for 6.8.1, just released: https://github.com/ebean-orm/avaje-ebeanorm/releases/tag/avaje-ebeanorm-6.8.1

@corrspt
Copy link
Copy Markdown

corrspt commented Sep 22, 2015

Hey @Ronnie76er, sorry for intruding on this PR, but I've been trying to use the latest EBean with Play (2.4.2) and I've been having lots of issues (ranging from the EBean not being able to find my Entities, to more weird issues). Looking by the PR, I assume you can use the latest version of EBean in a Play Project correct?

I'm a beginner with Play/Sbt/Plugins.

I thought that I would be able to use the play-ebean plugin if I cloned the repo and added your changes then publish the plugin to a local repository and then using it inside my play-app, but so far I've stuck on not being able to make the Play application find the plugin in the local repository (I've used activator +publishLocal) it appears that the plugin is placed in a directory that Play is not expecting - I added this to plugins.sbt - addSbtPlugin("com.typesafe.play" % "play-ebean" % "1.0.1-SNAPSHOT") ) I've tried moving the generated plugin to the correct folder, but now I get these errors:

com.typesafe.play#play-ebean;1.0.1-SNAPSHOT: java.text.ParseException: inconsistent module descriptor file found in '/Users/useruser/.ivy2/local/com.typesafe.play/play-ebean/scala_2.10/sbt_0.13/1.0.1-SNAPSHOT/ivys/ivy.xml': 
bad scalaVersion found in /Users/useruser/.ivy2/local/com.typesafe.play/play-ebean/scala_2.10/sbt_0.13/1.0.1-SNAPSHOT/ivys/ivy.xml: expected='2.10' found='null';
bad sbtVersion found in /Users/useruser/.ivy2/local/com.typesafe.play/play-ebean/scala_2.10/sbt_0.13/1.0.1-SNAPSHOT/ivys/ivy.xml: expected='0.13' found='null';

I have no idea where to put the values for scalaVersion or sbtVersion (and I've tried several places in the ivy.xml file). I've also had to change the pom.xml file that's generated by publishLocal.

Thanks in advance for any help

@Ronnie76er
Copy link
Copy Markdown
Contributor Author

You must also plugin/publishLocal to deploy the plugin as well.

@corrspt
Copy link
Copy Markdown

corrspt commented Sep 23, 2015

Thanks a bunch @Ronnie76er, with that Tip I could finally make it work. A million thanks 👍 Hoping that @jroper or @marcospereira can merge this into the repo so that everyone can benefit from this.

jroper added a commit that referenced this pull request Sep 23, 2015
@jroper jroper merged commit 383128c into playframework:master Sep 23, 2015
@jroper
Copy link
Copy Markdown
Member

jroper commented Sep 23, 2015

play-ebean 2.0.0 has been released with this upgrade.

@Ronnie76er
Copy link
Copy Markdown
Contributor Author

Thanks @jroper!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants