[2.0] Redis Plugin

1,171 views
Skip to first unread message

peter hausel

unread,
Mar 6, 2012, 9:23:50 AM3/6/12
to play-fr...@googlegroups.com
Hi all,

For those of you who are interested, here is a RedisPlugin for play 2.0 (implements the Cache API as well):

Enjoy.

Cheers,
Peter

fabie...@gmail.com

unread,
Mar 16, 2012, 11:14:50 AM3/16/12
to play-fr...@googlegroups.com
Hi Peter,

When I add the Redis  dependency and I do `play dependencies`
I get the following error : 

[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] ::          UNRESOLVED DEPENDENCIES         ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: org.sedis#sedis_2.9.1;1.0.1: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::

And the project can not start :(

Any idea ?

Pascal Voitot Dev

unread,
Mar 16, 2012, 11:24:12 AM3/16/12
to play-fr...@googlegroups.com
Waiting Peter reads this mail, here is what I can tell you.
Apparently this plugin has a dep on :
    libraryDependencies += "org.sedis" %% "sedis" % "1.0.1"

But sedis is not present on repo2.maven.org or typesafe repo... weird...

you can also check it out from github and build locally.

Pascal


--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit https://groups.google.com/d/msg/play-framework/-/su8P1md1I_oJ.

To post to this group, send email to play-fr...@googlegroups.com.
To unsubscribe from this group, send email to play-framewor...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/play-framework?hl=en.

fabie...@gmail.com

unread,
Mar 16, 2012, 4:44:49 PM3/16/12
to play-fr...@googlegroups.com
Thx Pascal, 
I added the repository that contain sedis. 

In build.scala : 

val main = PlayProject(appName, appVersion, appDependencies, mainLang = JAVA).settings(

    resolvers += "Sedis repository" at "http://guice-maven.googlecode.com/svn/trunk"

    )



To post to this group, send email to play-framework@googlegroups.com.
To unsubscribe from this group, send email to play-framework+unsubscribe@googlegroups.com.

peter hausel

unread,
Mar 16, 2012, 6:58:00 PM3/16/12
to play-fr...@googlegroups.com
Will push sedis to the typesafe repo over the weekend. Thanks Peter

danielkol

unread,
Mar 16, 2012, 8:27:10 PM3/16/12
to play-fr...@googlegroups.com
If you're looking to get this up and running in the mean time, I was able to find the dependency in the guice maven repository by adding the following resolver to my project/Build.scala file


    val main = PlayProject(appName, appVersion, appDependencies, mainLang = SCALA).settings(

      resolvers += "guice maven" at "http://guice-maven.googlecode.com/svn/trunk"

    )

peter hausel

unread,
Mar 17, 2012, 12:58:01 AM3/17/12
to play-fr...@googlegroups.com

Emmanuel

unread,
Mar 22, 2012, 4:18:34 AM3/22/12
to play-framework
Any chance of modifying the Redis plugin to accept password?

peter hausel

unread,
Mar 22, 2012, 9:41:08 AM3/22/12
to play-fr...@googlegroups.com
Yes. I will tweak it today. Thanks Peter

peter hausel

unread,
Mar 22, 2012, 11:10:40 AM3/22/12
to play-fr...@googlegroups.com
now you can set the password for redis in your application.conf ("redis.password" key)


thanks,
Peter

On Thursday, March 22, 2012 4:18:34 AM UTC-4, Emmanuel wrote:
Reply all
Reply to author
Forward
0 new messages