Running into issues building the project from GitHub source? Read on ...

1 view
Skip to first unread message

Joubin Houshyar

unread,
Mar 26, 2010, 6:56:51 AM3/26/10
to JRedis
So here's the scenario:

You've issues the standard git clone on the rep and then tried "mvn
test" and all hell breaks loose as the tests fail.

The problem is very likely due to a mismatch between your Redis server
and JRedis versions. (Code that doesn't pass tests is never pushed to
the github repo.) You're probably running Redis 1.2.n but are
actually trying to build JRedis master branch (which is only
compatible with Redis 1.3.n). So you need to checkout the "1.2.n"
branch.

Here is how you fetch and switch to another branch:

http://gist.github.com/344757

For sanity check, fire up telnet and use INFO to check the redis
version (but Redis will also tell you this when you fire it up):

http://gist.github.com/344762

So, if you've followed the above git clone proc and made sure Redis
1.2.n is running (if building JRedis 1.2.n branch - the current 1.0
RC1 source) then this is what should follow:

http://gist.github.com/344766


Reply all
Reply to author
Forward
0 new messages