Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 68 lines (42 sloc) 1.913 kb
890add2 Dustin Sallings Format the readme correctly.
dustin authored
1 # Building
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
2
890add2 Dustin Sallings Format the readme correctly.
dustin authored
3 Spymemcached can be compiled using Apache Ant by running the following
4 command:
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
5
890add2 Dustin Sallings Format the readme correctly.
dustin authored
6 ant
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
7
890add2 Dustin Sallings Format the readme correctly.
dustin authored
8 This will generate binary, source, and javadoc jars in the build
9 directory of the project.
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
10
890add2 Dustin Sallings Format the readme correctly.
dustin authored
11 To run the Spymemcached tests against Membase Server run the
12 following command:
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
13
890add2 Dustin Sallings Format the readme correctly.
dustin authored
14 ant test -Dserver.type=membase
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
15
890add2 Dustin Sallings Format the readme correctly.
dustin authored
16 To test Spymemcached against Membase running on a different host
17 use the following command:
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
18
890add2 Dustin Sallings Format the readme correctly.
dustin authored
19 ant test -Dserver.type=membase \
20 -Dserver.address_v4=ip_address_of_membase
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
21
890add2 Dustin Sallings Format the readme correctly.
dustin authored
22 # Testing
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
23
890add2 Dustin Sallings Format the readme correctly.
dustin authored
24 The latest version of spymemcached has a set of command line arguments
406f5d9 Mike Wiederhold Removed server.type parameter
mikewied authored
25 that can be used to configure the location of your testing server. The
26 arguments are listed below.
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
27
890add2 Dustin Sallings Format the readme correctly.
dustin authored
28 -Dserver.address_v4=ipv4_address_of_testing_server
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
29
890add2 Dustin Sallings Format the readme correctly.
dustin authored
30 This argument is used to specify the ipv4 address of your testing
31 server. By default it is set to localhost.
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
32
890add2 Dustin Sallings Format the readme correctly.
dustin authored
33 -Dserver.address_v6=ipv6_address_of_testing_server
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
34
890add2 Dustin Sallings Format the readme correctly.
dustin authored
35 This argument is used to set the ipv6 address of your testing server.
36 By default it is set to ::1. If an ipv6 address is specified then an
37 ipv4 address must be specified otherwise there may be test failures.
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
38
36e4014 Mike Wiederhold Added the capability to test based on different ports
mikewied authored
39 -Dserver.port_number=port_number_of_memcached
40
41 This argument is used when memcahched is started on a port other than
42 11211
43
ab2395c Rags Added options to selectively run some tests for CI
ragsns authored
44 -Dtest.type=ci
45
46 This argument is used for CI testing where certain unit tests might
47 be temporarily failing.
48
890add2 Dustin Sallings Format the readme correctly.
dustin authored
49 # More Information
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
50
890add2 Dustin Sallings Format the readme correctly.
dustin authored
51 For more information about Spymemcached see the links below:
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
52
890add2 Dustin Sallings Format the readme correctly.
dustin authored
53 ## Project Page The
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
54
890add2 Dustin Sallings Format the readme correctly.
dustin authored
55 [Spymemcached Project Home](http://code.google.com/p/spymemcached/)
56 contains a wiki, issue tracker, and downloads section.
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
57
890add2 Dustin Sallings Format the readme correctly.
dustin authored
58 ## Github
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
59
890add2 Dustin Sallings Format the readme correctly.
dustin authored
60 [The gitub page](http://github.com/dustin/java-memcached-client)
61 contains the latest Spymemcached source.
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
62
890add2 Dustin Sallings Format the readme correctly.
dustin authored
63 ## Couchbase.org
b26ab48 Mike Wiederhold Added README.markdown.
mikewied authored
64
890add2 Dustin Sallings Format the readme correctly.
dustin authored
65 At [couchbase.org](http://www.couchbase.org/code/couchbase/java) you
66 can find a download's section for the latest release as well as an
67 extensive tutorial to help new users learn how to use Spymemcached.
Something went wrong with that request. Please try again.