diff --git a/.gitignore b/.gitignore
index d44cd35e..fed086c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,16 @@
+.DS_Store
target
bin
+build
+.gradle
+.springBeans
+pom.xml
+*.iml
+*.ipr
+*.iws
+*.log
+
+/samples/hello-world/vf.gf.dmn-events.cfg
+/samples/hello-world/vf.gf.dmn-license.cfg
+/vf.gf.dmn-events.cfg
+/vf.gf.dmn-license.cfg
\ No newline at end of file
diff --git a/README.md b/README.md
new file mode 100644
index 00000000..fd4b02d8
--- /dev/null
+++ b/README.md
@@ -0,0 +1,74 @@
+Spring Data Redis
+=======================
+
+The primary goal of the [Spring GemFire](http://www.springsource.org/spring-gemfire) project is to make it easier to build highly scalable Spring-powered applications using
+[GemFire](http://www.gemstone.com/products/gemfire) as a distributed [data management](http://www.springsource.com/products/data-management) platform.
+
+Examples
+--------
+For examples on using the Spring GemFire, see the samples project.
+
+Getting Help
+------------
+
+Read the main project [website](http://www.springsource.org/spring-gemfire) and the [User Guide](http://static.springsource.org/spring-gemfire/docs/current/reference/html/). Look at the source code and the [JavaDocs](http://static.springsource.org/spring-gemfire/docs/current/api/). For more detailed questions, use the [forum](http://forum.springsource.org/forumdisplay.php?f=80). If you are new to Spring as well as to Spring GemFire, look for information about [Spring projects](http://www.springsource.org/projects).
+
+Quick Start
+-----------
+
+For those in a hurry:
+
+* Download the jar through Maven:
+
+
+
+ org.springframework.data.gemfire
+ spring-gemfire
+ 1.1.0.BUILD-SNAPSHOT
+
+
+
+
+ spring-maven-snapshot
+ true
+ Springframework Maven SNAPSHOT Repository
+ http://maven.springframework.org/snapshot
+
+
+
+* Configure a GemFire cache and Region (replicated, partitioned, client and so on):
+
+
+
+
+
+
+
+
+
+
+* Use the Region to read/write data:
+
+ region.put(Long.valueOf(1), new Person("Jane", "Smith"));
+
+* Or/And `GemFireTemplate` to interact with GemFire:
+
+ template.query("person = 1");
+
+
+Contributing to Spring GemFire
+------------------------------
+
+Here are some ways for you to get involved in the community:
+
+* Get involved with the Spring community on the Spring Community Forums. Please help out on the [forum](http://forum.springsource.org/forumdisplay.php?f=80) by responding to questions and joining the debate.
+* Create [JIRA](https://jira.springframework.org/browse/SGF) tickets for bugs and new features and comment and vote on the ones that you are interested in.
+* Github is for social coding: if you want to write code, we encourage contributions through pull requests from [forks of this repository](http://help.github.com/forking/). If you want to contribute code this way, please reference a JIRA ticket as well covering the specific issue you are addressing.
+* Watch for upcoming articles on Spring by [subscribing](http://www.springsource.org/node/feed) to springframework.org
+
+Before we accept a non-trivial patch or pull request we will need you to sign the [contributor's agreement](https://support.springsource.com/spring_committer_signup). Signing the contributor's agreement does not grant anyone commit rights to the main repository, but it does mean that we can accept your contributions, and you will get an author credit if we do. Active contributors might be asked to join the core team, and given the ability to merge pull requests.
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 00000000..f231bf9f
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,207 @@
+// used for artifact names, building doc upload urls, etc.
+description = 'Spring GemFire'
+abbreviation = 'SGF'
+
+apply plugin: 'base'
+apply plugin: 'idea'
+
+buildscript {
+ repositories {
+// add(new org.apache.ivy.plugins.resolver.FileSystemResolver()) {
+// name = "local"
+// addIvyPattern "e:/work/i21/gradle-plugins/build/repo/[organisation].[module]-ivy-[revision].xml"
+// addArtifactPattern "e:/work/i21/gradle-plugins/build/repo/[organisation].[module]-[revision](-[classifier]).[ext]"
+// }
+
+ add(new org.apache.ivy.plugins.resolver.URLResolver()) {
+ name = "GitHub"
+ addIvyPattern 'http://cloud.github.com/downloads/costin/gradle-stuff/[organization].[module]-[artifact]-[revision].[ext]'
+ addArtifactPattern 'http://cloud.github.com/downloads/costin/gradle-stuff/[organization].[module]-[revision].[ext]'
+ }
+ mavenCentral()
+ mavenLocal()
+ mavenRepo name: "springsource-org-release", urls: "http://repository.springsource.com/maven/bundles/release"
+ mavenRepo name: "springsource-org-external", urls: "http://repository.springsource.com/maven/bundles/external"
+ }
+
+ dependencies {
+ classpath 'org.springframework:gradle-stuff:0.1-20110421'
+ classpath 'net.sf.docbook:docbook-xsl:1.75.2:ns-resources@zip'
+ }
+}
+
+allprojects {
+ group = 'org.springframework.data.gemfire'
+ version = "$springGemfireVersion"
+
+ releaseBuild = version.endsWith('RELEASE')
+ snapshotBuild = version.endsWith('SNAPSHOT')
+
+
+ repositories {
+ mavenLocal()
+ mavenCentral()
+ // Public Spring artefacts
+ mavenRepo name: "springsource-org-release", urls: "http://repository.springsource.com/maven/bundles/release"
+ mavenRepo name: "spring-release", urls: "http://maven.springframework.org/release"
+ mavenRepo name: "spring-milestone", urls: "http://maven.springframework.org/milestone"
+ mavenRepo name: "spring-snapshot", urls: "http://maven.springframework.org/snapshot"
+ mavenRepo name: "sonatype-snapshot", urls: "http://oss.sonatype.org/content/repositories/snapshots"
+ mavenRepo name: "ext-snapshots", urls: "http://springframework.svn.sourceforge.net/svnroot/springframework/repos/repo-ext/"
+ }
+
+}
+
+
+apply plugin: "java"
+apply plugin: "maven"
+apply plugin: 'eclipse' // `gradle eclipse` to generate .classpath/.project
+apply plugin: 'idea' // `gradle idea` to generate .ipr/.iml
+apply plugin: 'docbook'
+apply plugin: 'bundlor' // all core projects should be OSGi-compliant
+
+bundlor.useProjectProps = true
+[compileJava, compileTestJava]*.options*.compilerArgs = ["-Xlint:-serial"]
+
+test {
+ forkEvery = 1
+ systemProperties['gemfire.disableShutdownHook'] = 'true'
+}
+
+// Common dependencies
+dependencies {
+ // Logging
+ compile "org.slf4j:slf4j-api:$slf4jVersion"
+ compile "org.slf4j:jcl-over-slf4j:$slf4jVersion"
+ runtime "log4j:log4j:$log4jVersion"
+ runtime "org.slf4j:slf4j-log4j12:$slf4jVersion"
+
+ // Spring Framework
+ compile("org.springframework:spring-core:$springVersion") {
+ exclude module: "commons-logging"
+ }
+ compile "org.springframework:spring-context-support:$springVersion"
+ compile "org.springframework:spring-tx:$springVersion"
+
+ // GemFire
+ compile("com.gemstone.gemfire:gemfire:$gemfireVersion")
+
+ // Testing
+ testCompile "junit:junit:$junitVersion"
+ testCompile "org.springframework:spring-test:$springVersion"
+ testCompile("javax.annotation:jsr250-api:1.0") { optional = true }
+}
+
+javaprojects = rootProject
+
+sourceCompatibility = 1.5
+targetCompatibility = 1.5
+
+javadoc {
+ srcDir = file("${projectDir}/docs/src/api")
+ destinationDir = file("${buildDir}/api")
+ tmpDir = file("${buildDir}/api-work")
+
+ configure(options) {
+ stylesheetFile = file("${srcDir}/spring-javadoc.css")
+ overview = "${srcDir}/overview.html"
+ docFilesSubDirs = true
+ outputLevel = org.gradle.external.javadoc.JavadocOutputLevel.QUIET
+ breakIterator = true
+ showFromProtected()
+ groups = [
+ 'Spring GemFire' : ['org.springframework.data.gemfire*'],
+ ]
+
+ links = [
+ "http://static.springframework.org/spring/docs/3.0.x/javadoc-api",
+ "http://download.oracle.com/javase/6/docs/api",
+ "http://www.gemstone.com/docs/6.5.1/product/docs/japi/",
+ "http://asm.objectweb.org/asm223/javadoc/user",
+ "http://logging.apache.org/log4j/docs/api/",
+ "http://atinject.googlecode.com/svn/trunk/javadoc/"
+ ]
+
+ exclude "org/springframework/data/gemfire/config/**"
+ }
+
+ title = "${rootProject.description} ${version} API"
+
+ // collect all the sources that will be included in the javadoc output
+ source javaprojects.collect {project ->
+ project.sourceSets.main.allJava
+ }
+
+ // collect all main classpaths to be able to resolve @see refs, etc.
+ // this collection also determines the set of projects that this
+ // task dependsOn, thus the runtimeClasspath is used to ensure all
+ // projects are included, not just *dependencies* of all classes.
+ // this is awkward and took me a while to figure out.
+ classpath = files(javaprojects.collect {project ->
+ project.sourceSets.main.runtimeClasspath
+ })
+
+ // copy the images from the doc-files dir over to the target
+ doLast { task ->
+ copy {
+ from file("${task.srcDir}/doc-files")
+ into file("${task.destinationDir}/doc-files")
+ }
+ }
+}
+
+ideaProject {
+ withXml { provider ->
+ provider.node.component.find { it.@name == 'VcsDirectoryMappings' }.mapping.@vcs = 'Git'
+ }
+}
+
+task wrapper(type: Wrapper) {
+ gradleVersion = '1.0-milestone-3'
+ description = "Generate the Gradle wrapper"
+ group = "Distribution"
+}
+
+apply from: "$rootDir/maven.gradle"
+
+assemble.dependsOn = ['jar', 'sourceJar', 'javadocJar']
+
+// Distribution tasks
+task dist(type: Zip) {
+ description = "Generate the ZIP Distribution"
+ group = "Distribution"
+ dependsOn assemble, subprojects*.tasks*.matching { task -> task.name == 'assemble' }
+
+ evaluationDependsOn(':docs')
+
+ def zipRootDir = "${project.name}-$version"
+ into(zipRootDir) {
+ from('/docs/src/info') {
+ include '*.txt'
+ }
+ from('/docs/build/') {
+ into 'docs'
+ include 'reference/**/*'
+ }
+ from('build/') {
+ into 'docs'
+ include 'api/**/*'
+ }
+ into('dist') {
+ from javaprojects.collect {project -> project.libsDir }
+ }
+ }
+ doLast {
+ ant.checksum(file: archivePath, algorithm: 'SHA1', fileext: '.sha1')
+ }
+}
+
+task uploadDist(type: org.springframework.gradle.tasks.S3DistroUpload, dependsOn: dist) {
+ description = "Upload the ZIP Distribution"
+ group = "Distribution"
+ archiveFile = dist.archivePath
+ projectKey = 'SGF'
+ projectName = 'Spring GemFire'
+}
+
+defaultTasks 'clean', 'build'
\ No newline at end of file
diff --git a/docs/build.gradle b/docs/build.gradle
new file mode 100644
index 00000000..79e74c90
--- /dev/null
+++ b/docs/build.gradle
@@ -0,0 +1,85 @@
+import org.apache.tools.ant.filters.ReplaceTokens
+
+// -----------------------------------------------------------------------------
+// Configuration for the docs subproject
+// -----------------------------------------------------------------------------
+
+apply plugin: 'base'
+apply plugin: 'docbook'
+
+assemble.dependsOn = [rootProject.javadoc, 'reference']
+
+[docbookHtml, docbookFoPdf, docbookHtmlSingle]*.group = 'Documentation'
+[docbookHtml, docbookFoPdf, docbookHtmlSingle]*.sourceFileName = 'index.xml'
+[docbookHtml, docbookFoPdf, docbookHtmlSingle]*.sourceDirectory = new File(projectDir, 'src/reference/docbook')
+
+docbookHtml.stylesheet = new File(projectDir, 'src/reference/resources/xsl/html-custom.xsl')
+docbookHtmlSingle.stylesheet = new File(projectDir, 'src/reference/resources/xsl/html-single-custom.xsl')
+docbookFoPdf.stylesheet = new File(projectDir, 'src/reference/resources/xsl/pdf-custom.xsl')
+
+def imagesDir = new File(projectDir, 'src/reference/resources/images');
+docbookFoPdf.admonGraphicsPath = "${imagesDir}/admon"
+docbookFoPdf.imgSrcPath = "${imagesDir}"
+
+refSpec = copySpec {
+ into ('reference') {
+ from("$buildDir/docs") {
+ exclude '*.fo'
+ }
+ from("$projectDir/src/reference/resources")
+ }
+ into ('reference/images') {
+ from (imagesDir)
+ }
+
+ p = new Properties()
+
+ for (e in project.properties) {
+ if (e.key != null && e.value != null)
+ p.setProperty(e.key, e.value.toString())
+ }
+
+ filter(ReplaceTokens, tokens: p)
+}
+
+task reference (type: Copy) {
+ dependsOn 'docbook'
+ description = "Builds aggregated DocBook"
+ group = "Documentation"
+ destinationDir = buildDir
+ with(refSpec)
+}
+
+
+apiSpec = copySpec {
+ into('api') {
+ from(rootProject.javadoc.destinationDir)
+ }
+}
+
+task docSiteLogin(type: org.springframework.gradle.tasks.Login) {
+ if (project.hasProperty('sshHost')) {
+ host = project.property('sshHost')
+ username = project.property('sshUsername')
+ key = project.property('sshPrivateKey')
+ }
+}
+
+infoSpec = copySpec {
+ from("$projectDir/src/info") {
+ include 'changelog.txt'
+ }
+}
+
+// upload task
+task uploadDocs(type: org.springframework.gradle.tasks.ScpUpload) {
+ dependsOn rootProject.javadoc, reference
+ description = "Upload API Distribution"
+ group = "Distribution"
+ remoteDir = "/opt/www/domains/springframework.org/www/htdocs/spring-gemfire/docs/${project.version}"
+ login = docSiteLogin
+
+ with(apiSpec)
+ with(refSpec)
+ with(infoSpec)
+}
\ No newline at end of file
diff --git a/docs/pom.xml b/docs/pom.xml
deleted file mode 100644
index a9769774..00000000
--- a/docs/pom.xml
+++ /dev/null
@@ -1,119 +0,0 @@
-
-
- 4.0.0
- org.springframework.data.gemfire
- spring-gemfire
- 1.1.0.BUILD-SNAPSHOT
- Spring GemFire Documentation
-
-
-
-
- com.agilejava.docbkx
- docbkx-maven-plugin
- 2.0.7
-
-
- single-page
-
- generate-html
- generate-pdf
-
-
- false
- src/docbkx/resources/xsl/html.xsl
- src/docbkx/resources/xsl/fopdf.xsl
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- pre-site
-
-
- multi-page
-
- generate-html
-
-
- true
- src/docbkx/resources/xsl/html_chunk.xsl
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- pre-site
-
-
-
-
- org.docbook
- docbook-xml
- 4.4
- runtime
-
-
-
- index.xml,faq.xml,issues.xml
- css/html.css
- true
- ${basedir}/src/docbkx
-
- 1
- 1
-
-
- 1
-
-
-
- version
- ${version}
-
-
-
-
-
-
-
-
- http://www.springframework.org/spring-gemfire/
-
- static.springframework.org
- SpringFramework.org
- scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-gemfire/snapshot-site/
-
-
-
-
\ No newline at end of file
diff --git a/docs/src/javadoc/overview.html b/docs/src/api/overview.html
similarity index 100%
rename from docs/src/javadoc/overview.html
rename to docs/src/api/overview.html
diff --git a/docs/src/javadoc/javadoc.css b/docs/src/api/spring-javadoc.css
similarity index 100%
rename from docs/src/javadoc/javadoc.css
rename to docs/src/api/spring-javadoc.css
diff --git a/docs/src/javadoc/stylesheet.css b/docs/src/api/stylesheet.css
similarity index 100%
rename from docs/src/javadoc/stylesheet.css
rename to docs/src/api/stylesheet.css
diff --git a/docs/src/docbkx/resources/css/html.css b/docs/src/docbkx/resources/css/html.css
deleted file mode 100644
index dd2ab694..00000000
--- a/docs/src/docbkx/resources/css/html.css
+++ /dev/null
@@ -1,305 +0,0 @@
-@IMPORT url("highlight.css");
-
-body {
- text-align: justify;
- margin-right: 2em;
- margin-left: 2em;
-}
-
-a,
-a[accesskey^="h"],
-a[accesskey^="n"],
-a[accesskey^="u"],
-a[accesskey^="p"] {
- font-family: Verdana, Arial, helvetica, sans-serif;
- font-size: 12px;
- color: #003399;
-}
-
-a:active {
- color: #003399;
-}
-
-a:visited {
- color: #888888;
-}
-
-p {
- font-family: Verdana, Arial, sans-serif;
-}
-
-dt {
- font-family: Verdana, Arial, sans-serif;
- font-size: 12px;
-}
-
-p, dl, dt, dd, blockquote {
- color: #000000;
- margin-bottom: 3px;
- margin-top: 3px;
- padding-top: 0;
-}
-
-ol, ul, p {
- margin-top: 6px;
- margin-bottom: 6px;
-}
-
-p, blockquote {
- font-size: 90%;
-}
-
-p.releaseinfo {
- font-size: 100%;
- font-weight: bold;
- font-family: Verdana, Arial, helvetica, sans-serif;
- padding-top: 10px;
-}
-
-p.pubdate {
- font-size: 120%;
- font-weight: bold;
- font-family: Verdana, Arial, helvetica, sans-serif;
-}
-
-td {
- font-size: 80%;
-}
-
-td, th, span {
- color: #000000;
-}
-
-td[width^="40%"] {
- font-family: Verdana, Arial, helvetica, sans-serif;
- font-size: 12px;
- color: #003399;
-}
-
-table[summary^="Navigation header"] tbody tr th[colspan^="3"] {
- font-family: Verdana, Arial, helvetica, sans-serif;
-}
-
-blockquote {
- margin-right: 0;
-}
-
-h1, h2, h3, h4, h6 {
- color: #000000;
- font-weight: 500;
- margin-top: 0;
- padding-top: 14px;
- font-family: Verdana, Arial, helvetica, sans-serif;
- margin-bottom: 0;
-}
-
-h2.title {
- font-weight: 800;
- margin-bottom: 8px;
-}
-
-h2.subtitle {
- font-weight: 800;
- margin-bottom: 20px;
-}
-
-.firstname, .surname {
- font-size: 12px;
- font-family: Verdana, Arial, helvetica, sans-serif;
-}
-
-table {
- border-collapse: collapse;
- border-spacing: 0;
- border: 1px black;
- empty-cells: hide;
- margin: 10px 0 30px 50px;
- width: 90%;
-}
-
-div.table {
- margin: 30px 0 10px 0;
- border: 1px dashed gray;
- padding: 10px;
-}
-
-div .table-contents table {
- border: 1px solid black;
-}
-
-div.table > p.title {
- padding-left: 10px;
-}
-
-table[summary^="Navigation footer"] {
- border-collapse: collapse;
- border-spacing: 0;
- border: 1px black;
- empty-cells: hide;
- margin: 0px;
- width: 100%;
-}
-
-table[summary^="Note"],
-table[summary^="Warning"],
-table[summary^="Tip"] {
- border-collapse: collapse;
- border-spacing: 0;
- border: 1px black;
- empty-cells: hide;
- margin: 10px 0px 10px -20px;
- width: 100%;
-}
-
-td {
- padding: 4pt;
- font-family: Verdana, Arial, helvetica, sans-serif;
-}
-
-div.warning TD {
- text-align: justify;
-}
-
-h1 {
- font-size: 150%;
-}
-
-h2 {
- font-size: 110%;
-}
-
-h3 {
- font-size: 100%; font-weight: bold;
-}
-
-h4 {
- font-size: 90%; font-weight: bold;
-}
-
-h5 {
- font-size: 90%; font-style: italic;
-}
-
-h6 {
- font-size: 100%; font-style: italic;
-}
-
-tt {
- font-size: 110%;
- font-family: "Courier New", Courier, monospace;
- color: #000000;
-}
-
-.navheader, .navfooter {
- border: none;
-}
-
-div.navfooter table {
- border-style: dashed;
- border-color: gray;
- border-width: 1px 1px 1px 1px;
- background-color: #cde48d;
-}
-
-pre {
- font-size: 110%;
- padding: 5px;
- border-style: solid;
- border-width: 1px;
- border-color: #CCCCCC;
- background-color: #f3f5e9;
-}
-
-ul, ol, li {
- list-style: disc;
-}
-
-hr {
- width: 100%;
- height: 1px;
- background-color: #CCCCCC;
- border-width: 0;
- padding: 0;
-}
-
-.variablelist {
- padding-top: 10px;
- padding-bottom: 10px;
- margin: 0;
-}
-
-.term {
- font-weight:bold;
-}
-
-.mediaobject {
- padding-top: 30px;
- padding-bottom: 30px;
-}
-
-.legalnotice {
- font-family: Verdana, Arial, helvetica, sans-serif;
- font-size: 12px;
- font-style: italic;
-}
-
-.sidebar {
- float: right;
- margin: 10px 0 10px 30px;
- padding: 10px 20px 20px 20px;
- width: 33%;
- border: 1px solid black;
- background-color: #F4F4F4;
- font-size: 14px;
-}
-
-.property {
- font-family: "Courier New", Courier, monospace;
-}
-
-a code {
- font-family: Verdana, Arial, monospace;
- font-size: 12px;
-}
-
-td code {
- font-size: 110%;
-}
-
-div.note * td,
-div.tip * td,
-div.warning * td,
-div.calloutlist * td {
- text-align: justify;
- font-size: 100%;
-}
-
-.programlisting {
- clear: both;
-}
-
-.programlisting .interfacename,
-.programlisting .literal,
-.programlisting .classname {
- font-size: 95%;
-}
-
-.title .interfacename,
-.title .literal,
-.title .classname {
- font-size: 130%;
-}
-
-/* everything in a is displayed in a coloured, comment-like font */
-.programlisting * .lineannotation,
-.programlisting * .lineannotation * {
- color: green;
-}
-
-.question * p {
- font-size: 100%;
-}
-
-.answer * p {
- font-size: 100%;
-}
\ No newline at end of file
diff --git a/docs/src/docbkx/resources/images/i21-banner-rhs.jpg b/docs/src/docbkx/resources/images/i21-banner-rhs.jpg
deleted file mode 100644
index 8b24a773..00000000
Binary files a/docs/src/docbkx/resources/images/i21-banner-rhs.jpg and /dev/null differ
diff --git a/docs/src/docbkx/resources/images/s2_box_logo.png b/docs/src/docbkx/resources/images/s2_box_logo.png
deleted file mode 100644
index 8c778a57..00000000
Binary files a/docs/src/docbkx/resources/images/s2_box_logo.png and /dev/null differ
diff --git a/docs/src/main/resources/changelog.txt b/docs/src/info/changelog.txt
similarity index 100%
rename from docs/src/main/resources/changelog.txt
rename to docs/src/info/changelog.txt
diff --git a/docs/src/main/resources/license.txt b/docs/src/info/license.txt
similarity index 100%
rename from docs/src/main/resources/license.txt
rename to docs/src/info/license.txt
diff --git a/docs/src/main/resources/notice.txt b/docs/src/info/notice.txt
similarity index 100%
rename from docs/src/main/resources/notice.txt
rename to docs/src/info/notice.txt
diff --git a/docs/src/main/resources/readme.txt b/docs/src/info/readme.txt
similarity index 100%
rename from docs/src/main/resources/readme.txt
rename to docs/src/info/readme.txt
diff --git a/docs/src/docbkx/appendix/appendix-schema.xml b/docs/src/reference/docbkx/appendix/appendix-schema.xml
similarity index 54%
rename from docs/src/docbkx/appendix/appendix-schema.xml
rename to docs/src/reference/docbkx/appendix/appendix-schema.xml
index af8a8965..5482826e 100644
--- a/docs/src/docbkx/appendix/appendix-schema.xml
+++ b/docs/src/reference/docbkx/appendix/appendix-schema.xml
@@ -1,12 +1,9 @@
-
-
-
+
Spring GemFire Integration Schema
Spring GemFire Schema
-
+
FIXME: SGF SCHEMA LOCATION/NAME CHANGED
diff --git a/docs/src/docbkx/index.xml b/docs/src/reference/docbkx/index.xml
similarity index 89%
rename from docs/src/docbkx/index.xml
rename to docs/src/reference/docbkx/index.xml
index f27eb00d..e40da18e 100644
--- a/docs/src/docbkx/index.xml
+++ b/docs/src/reference/docbkx/index.xml
@@ -1,10 +1,11 @@
-
-
+
Spring Gemfire Integration Reference Guide
- &version;
+ @version@
diff --git a/docs/src/docbkx/introduction/introduction.xml b/docs/src/reference/docbkx/introduction/introduction.xml
similarity index 74%
rename from docs/src/docbkx/introduction/introduction.xml
rename to docs/src/reference/docbkx/introduction/introduction.xml
index 73662e59..1e9b6966 100644
--- a/docs/src/docbkx/introduction/introduction.xml
+++ b/docs/src/reference/docbkx/introduction/introduction.xml
@@ -1,8 +1,6 @@
-
-
+
This document is the reference guide for Spring GemFire project (SGF). It explains the relationship
between Spring framework and GemFire Enterprise Fabric (GEF) 6.0.x, defines the basic concepts and semantics of the integration
diff --git a/docs/src/docbkx/introduction/requirements.xml b/docs/src/reference/docbkx/introduction/requirements.xml
similarity index 78%
rename from docs/src/docbkx/introduction/requirements.xml
rename to docs/src/reference/docbkx/introduction/requirements.xml
index faa4b742..1462427b 100644
--- a/docs/src/docbkx/introduction/requirements.xml
+++ b/docs/src/reference/docbkx/introduction/requirements.xml
@@ -1,4 +1,4 @@
-
+
Requirements
Spring GemFire integration requires JDK level 5.0 and above, Spring
diff --git a/docs/src/docbkx/links.xml b/docs/src/reference/docbkx/links.xml
similarity index 77%
rename from docs/src/docbkx/links.xml
rename to docs/src/reference/docbkx/links.xml
index 21a4d1e6..178170d3 100644
--- a/docs/src/docbkx/links.xml
+++ b/docs/src/reference/docbkx/links.xml
@@ -1,7 +1,5 @@
-
-
+
Useful Links
diff --git a/docs/src/docbkx/preface.xml b/docs/src/reference/docbkx/preface.xml
similarity index 85%
rename from docs/src/docbkx/preface.xml
rename to docs/src/reference/docbkx/preface.xml
index f74ebbb5..a99572f2 100644
--- a/docs/src/docbkx/preface.xml
+++ b/docs/src/reference/docbkx/preface.xml
@@ -1,7 +1,5 @@
-
-
+
Preface
Spring GemFire Integration focuses on integrating Spring Framework's powerful, non-invasive programming model
diff --git a/docs/src/docbkx/reference/bootstrap.xml b/docs/src/reference/docbkx/reference/bootstrap.xml
similarity index 99%
rename from docs/src/docbkx/reference/bootstrap.xml
rename to docs/src/reference/docbkx/reference/bootstrap.xml
index 055d4aa8..4825e426 100644
--- a/docs/src/docbkx/reference/bootstrap.xml
+++ b/docs/src/reference/docbkx/reference/bootstrap.xml
@@ -1,7 +1,5 @@
-
-
+
Bootstrapping GemFire through the Spring container
One of the first tasks when using GemFire and Spring is to configure
diff --git a/docs/src/docbkx/reference/data.xml b/docs/src/reference/docbkx/reference/data.xml
similarity index 99%
rename from docs/src/docbkx/reference/data.xml
rename to docs/src/reference/docbkx/reference/data.xml
index 94c59da8..e7a815aa 100644
--- a/docs/src/docbkx/reference/data.xml
+++ b/docs/src/reference/docbkx/reference/data.xml
@@ -1,7 +1,5 @@
-
-
+
Working with the GemFire APIs
Once the GemFire cache and regions have been configured they can
diff --git a/docs/src/docbkx/reference/introduction.xml b/docs/src/reference/docbkx/reference/introduction.xml
similarity index 100%
rename from docs/src/docbkx/reference/introduction.xml
rename to docs/src/reference/docbkx/reference/introduction.xml
diff --git a/docs/src/docbkx/reference/samples.xml b/docs/src/reference/docbkx/reference/samples.xml
similarity index 97%
rename from docs/src/docbkx/reference/samples.xml
rename to docs/src/reference/docbkx/reference/samples.xml
index b24bb7d3..c33566c1 100644
--- a/docs/src/docbkx/reference/samples.xml
+++ b/docs/src/reference/docbkx/reference/samples.xml
@@ -1,7 +1,5 @@
-
-
+
Sample Applications
The Spring GemFire project includes one sample application. Named
diff --git a/docs/src/docbkx/reference/serialization.xml b/docs/src/reference/docbkx/reference/serialization.xml
similarity index 96%
rename from docs/src/docbkx/reference/serialization.xml
rename to docs/src/reference/docbkx/reference/serialization.xml
index 54a25689..024b7c29 100644
--- a/docs/src/docbkx/reference/serialization.xml
+++ b/docs/src/reference/docbkx/reference/serialization.xml
@@ -1,7 +1,5 @@
-
-
+
Working with GemFire Serialization
To improve overall performance of the data fabric, GemFire supports a
diff --git a/docs/src/docbkx/reference/testing.xml b/docs/src/reference/docbkx/reference/testing.xml
similarity index 60%
rename from docs/src/docbkx/reference/testing.xml
rename to docs/src/reference/docbkx/reference/testing.xml
index dd72cd97..127d76e8 100644
--- a/docs/src/docbkx/reference/testing.xml
+++ b/docs/src/reference/docbkx/reference/testing.xml
@@ -1,7 +1,5 @@
-
-
+
Bootstrapping GemFire through the Spring container
diff --git a/docs/src/docbkx/resources/css/highlight.css b/docs/src/reference/resources/css/highlight.css
similarity index 100%
rename from docs/src/docbkx/resources/css/highlight.css
rename to docs/src/reference/resources/css/highlight.css
diff --git a/docs/src/reference/resources/css/manual.css b/docs/src/reference/resources/css/manual.css
new file mode 100644
index 00000000..77569070
--- /dev/null
+++ b/docs/src/reference/resources/css/manual.css
@@ -0,0 +1,99 @@
+@IMPORT url("highlight.css");
+
+html {
+ padding: 0pt;
+ margin: 0pt;
+}
+
+body {
+ margin-left: 10%;
+ margin-right: 10%;
+ font-family: Arial, Sans-serif;
+}
+
+div {
+ margin: 0pt;
+}
+
+p {
+ text-align: justify;
+}
+
+hr {
+ border: 1px solid gray;
+ background: gray;
+}
+
+h1,h2,h3,h4 {
+ color: #234623;
+ font-family: Arial, Sans-serif;
+}
+
+pre {
+ line-height: 1.0;
+ color: black;
+}
+
+pre.programlisting {
+ font-size: 10pt;
+ padding: 7pt 3pt;
+ border: 1pt solid black;
+ background: #eeeeee;
+ clear: both;
+}
+
+div.table {
+ margin: 1em;
+ padding: 0.5em;
+ text-align: center;
+}
+
+div.table table {
+ display: table;
+ width: 100%;
+}
+
+div.table td {
+ padding-left: 7px;
+ padding-right: 7px;
+}
+
+.sidebar {
+ float: right;
+ margin: 10px 0 10px 30px;
+ padding: 10px 20px 20px 20px;
+ width: 33%;
+ border: 1px solid black;
+ background-color: #F4F4F4;
+ font-size: 14px;
+}
+
+.mediaobject {
+ padding-top: 30px;
+ padding-bottom: 30px;
+}
+
+.legalnotice {
+ font-family: Verdana, Arial, helvetica, sans-serif;
+ font-size: 12px;
+ font-style: italic;
+}
+
+p.releaseinfo {
+ font-size: 100%;
+ font-weight: bold;
+ font-family: Verdana, Arial, helvetica, sans-serif;
+ padding-top: 10px;
+}
+
+p.pubdate {
+ font-size: 120%;
+ font-weight: bold;
+ font-family: Verdana, Arial, helvetica, sans-serif;
+}
+
+span.productname {
+ font-size: 200%;
+ font-weight: bold;
+ font-family: Verdana, Arial, helvetica, sans-serif;
+}
diff --git a/docs/src/docbkx/resources/images/admons/blank.png b/docs/src/reference/resources/images/admon/blank.png
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/blank.png
rename to docs/src/reference/resources/images/admon/blank.png
diff --git a/docs/src/docbkx/resources/images/admons/caution.gif b/docs/src/reference/resources/images/admon/caution.gif
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/caution.gif
rename to docs/src/reference/resources/images/admon/caution.gif
diff --git a/docs/src/docbkx/resources/images/admons/caution.png b/docs/src/reference/resources/images/admon/caution.png
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/caution.png
rename to docs/src/reference/resources/images/admon/caution.png
diff --git a/docs/src/docbkx/resources/images/admons/caution.tif b/docs/src/reference/resources/images/admon/caution.tif
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/caution.tif
rename to docs/src/reference/resources/images/admon/caution.tif
diff --git a/docs/src/docbkx/resources/images/admons/draft.png b/docs/src/reference/resources/images/admon/draft.png
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/draft.png
rename to docs/src/reference/resources/images/admon/draft.png
diff --git a/docs/src/docbkx/resources/images/admons/home.gif b/docs/src/reference/resources/images/admon/home.gif
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/home.gif
rename to docs/src/reference/resources/images/admon/home.gif
diff --git a/docs/src/docbkx/resources/images/admons/home.png b/docs/src/reference/resources/images/admon/home.png
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/home.png
rename to docs/src/reference/resources/images/admon/home.png
diff --git a/docs/src/docbkx/resources/images/admons/important.gif b/docs/src/reference/resources/images/admon/important.gif
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/important.gif
rename to docs/src/reference/resources/images/admon/important.gif
diff --git a/docs/src/docbkx/resources/images/admons/important.png b/docs/src/reference/resources/images/admon/important.png
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/important.png
rename to docs/src/reference/resources/images/admon/important.png
diff --git a/docs/src/docbkx/resources/images/admons/important.tif b/docs/src/reference/resources/images/admon/important.tif
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/important.tif
rename to docs/src/reference/resources/images/admon/important.tif
diff --git a/docs/src/docbkx/resources/images/admons/next.gif b/docs/src/reference/resources/images/admon/next.gif
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/next.gif
rename to docs/src/reference/resources/images/admon/next.gif
diff --git a/docs/src/docbkx/resources/images/admons/next.png b/docs/src/reference/resources/images/admon/next.png
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/next.png
rename to docs/src/reference/resources/images/admon/next.png
diff --git a/docs/src/docbkx/resources/images/admons/note.gif b/docs/src/reference/resources/images/admon/note.gif
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/note.gif
rename to docs/src/reference/resources/images/admon/note.gif
diff --git a/docs/src/docbkx/resources/images/admons/note.png b/docs/src/reference/resources/images/admon/note.png
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/note.png
rename to docs/src/reference/resources/images/admon/note.png
diff --git a/docs/src/docbkx/resources/images/admons/note.tif b/docs/src/reference/resources/images/admon/note.tif
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/note.tif
rename to docs/src/reference/resources/images/admon/note.tif
diff --git a/docs/src/docbkx/resources/images/admons/prev.gif b/docs/src/reference/resources/images/admon/prev.gif
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/prev.gif
rename to docs/src/reference/resources/images/admon/prev.gif
diff --git a/docs/src/docbkx/resources/images/admons/prev.png b/docs/src/reference/resources/images/admon/prev.png
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/prev.png
rename to docs/src/reference/resources/images/admon/prev.png
diff --git a/docs/src/docbkx/resources/images/admons/tip.gif b/docs/src/reference/resources/images/admon/tip.gif
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/tip.gif
rename to docs/src/reference/resources/images/admon/tip.gif
diff --git a/docs/src/docbkx/resources/images/admons/tip.png b/docs/src/reference/resources/images/admon/tip.png
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/tip.png
rename to docs/src/reference/resources/images/admon/tip.png
diff --git a/docs/src/docbkx/resources/images/admons/tip.tif b/docs/src/reference/resources/images/admon/tip.tif
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/tip.tif
rename to docs/src/reference/resources/images/admon/tip.tif
diff --git a/docs/src/docbkx/resources/images/admons/toc-blank.png b/docs/src/reference/resources/images/admon/toc-blank.png
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/toc-blank.png
rename to docs/src/reference/resources/images/admon/toc-blank.png
diff --git a/docs/src/docbkx/resources/images/admons/toc-minus.png b/docs/src/reference/resources/images/admon/toc-minus.png
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/toc-minus.png
rename to docs/src/reference/resources/images/admon/toc-minus.png
diff --git a/docs/src/docbkx/resources/images/admons/toc-plus.png b/docs/src/reference/resources/images/admon/toc-plus.png
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/toc-plus.png
rename to docs/src/reference/resources/images/admon/toc-plus.png
diff --git a/docs/src/docbkx/resources/images/admons/up.gif b/docs/src/reference/resources/images/admon/up.gif
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/up.gif
rename to docs/src/reference/resources/images/admon/up.gif
diff --git a/docs/src/docbkx/resources/images/admons/up.png b/docs/src/reference/resources/images/admon/up.png
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/up.png
rename to docs/src/reference/resources/images/admon/up.png
diff --git a/docs/src/docbkx/resources/images/admons/warning.gif b/docs/src/reference/resources/images/admon/warning.gif
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/warning.gif
rename to docs/src/reference/resources/images/admon/warning.gif
diff --git a/docs/src/docbkx/resources/images/admons/warning.png b/docs/src/reference/resources/images/admon/warning.png
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/warning.png
rename to docs/src/reference/resources/images/admon/warning.png
diff --git a/docs/src/docbkx/resources/images/admons/warning.tif b/docs/src/reference/resources/images/admon/warning.tif
similarity index 100%
rename from docs/src/docbkx/resources/images/admons/warning.tif
rename to docs/src/reference/resources/images/admon/warning.tif
diff --git a/docs/src/docbkx/resources/images/callouts/1.png b/docs/src/reference/resources/images/callouts/1.png
similarity index 100%
rename from docs/src/docbkx/resources/images/callouts/1.png
rename to docs/src/reference/resources/images/callouts/1.png
diff --git a/docs/src/docbkx/resources/images/callouts/10.png b/docs/src/reference/resources/images/callouts/10.png
similarity index 100%
rename from docs/src/docbkx/resources/images/callouts/10.png
rename to docs/src/reference/resources/images/callouts/10.png
diff --git a/docs/src/docbkx/resources/images/callouts/11.png b/docs/src/reference/resources/images/callouts/11.png
similarity index 100%
rename from docs/src/docbkx/resources/images/callouts/11.png
rename to docs/src/reference/resources/images/callouts/11.png
diff --git a/docs/src/docbkx/resources/images/callouts/12.png b/docs/src/reference/resources/images/callouts/12.png
similarity index 100%
rename from docs/src/docbkx/resources/images/callouts/12.png
rename to docs/src/reference/resources/images/callouts/12.png
diff --git a/docs/src/docbkx/resources/images/callouts/13.png b/docs/src/reference/resources/images/callouts/13.png
similarity index 100%
rename from docs/src/docbkx/resources/images/callouts/13.png
rename to docs/src/reference/resources/images/callouts/13.png
diff --git a/docs/src/docbkx/resources/images/callouts/14.png b/docs/src/reference/resources/images/callouts/14.png
similarity index 100%
rename from docs/src/docbkx/resources/images/callouts/14.png
rename to docs/src/reference/resources/images/callouts/14.png
diff --git a/docs/src/docbkx/resources/images/callouts/15.png b/docs/src/reference/resources/images/callouts/15.png
similarity index 100%
rename from docs/src/docbkx/resources/images/callouts/15.png
rename to docs/src/reference/resources/images/callouts/15.png
diff --git a/docs/src/docbkx/resources/images/callouts/2.png b/docs/src/reference/resources/images/callouts/2.png
similarity index 100%
rename from docs/src/docbkx/resources/images/callouts/2.png
rename to docs/src/reference/resources/images/callouts/2.png
diff --git a/docs/src/docbkx/resources/images/callouts/3.png b/docs/src/reference/resources/images/callouts/3.png
similarity index 100%
rename from docs/src/docbkx/resources/images/callouts/3.png
rename to docs/src/reference/resources/images/callouts/3.png
diff --git a/docs/src/docbkx/resources/images/callouts/4.png b/docs/src/reference/resources/images/callouts/4.png
similarity index 100%
rename from docs/src/docbkx/resources/images/callouts/4.png
rename to docs/src/reference/resources/images/callouts/4.png
diff --git a/docs/src/docbkx/resources/images/callouts/5.png b/docs/src/reference/resources/images/callouts/5.png
similarity index 100%
rename from docs/src/docbkx/resources/images/callouts/5.png
rename to docs/src/reference/resources/images/callouts/5.png
diff --git a/docs/src/docbkx/resources/images/callouts/6.png b/docs/src/reference/resources/images/callouts/6.png
similarity index 100%
rename from docs/src/docbkx/resources/images/callouts/6.png
rename to docs/src/reference/resources/images/callouts/6.png
diff --git a/docs/src/docbkx/resources/images/callouts/7.png b/docs/src/reference/resources/images/callouts/7.png
similarity index 100%
rename from docs/src/docbkx/resources/images/callouts/7.png
rename to docs/src/reference/resources/images/callouts/7.png
diff --git a/docs/src/docbkx/resources/images/callouts/8.png b/docs/src/reference/resources/images/callouts/8.png
similarity index 100%
rename from docs/src/docbkx/resources/images/callouts/8.png
rename to docs/src/reference/resources/images/callouts/8.png
diff --git a/docs/src/docbkx/resources/images/callouts/9.png b/docs/src/reference/resources/images/callouts/9.png
similarity index 100%
rename from docs/src/docbkx/resources/images/callouts/9.png
rename to docs/src/reference/resources/images/callouts/9.png
diff --git a/docs/src/docbkx/resources/images/s2-banner-rhs.png b/docs/src/reference/resources/images/logo.png
similarity index 100%
rename from docs/src/docbkx/resources/images/s2-banner-rhs.png
rename to docs/src/reference/resources/images/logo.png
diff --git a/docs/src/docbkx/resources/images/xdev-spring_logo.jpg b/docs/src/reference/resources/images/xdev-spring_logo.jpg
similarity index 100%
rename from docs/src/docbkx/resources/images/xdev-spring_logo.jpg
rename to docs/src/reference/resources/images/xdev-spring_logo.jpg
diff --git a/docs/src/docbkx/resources/xsl/fopdf.xsl b/docs/src/reference/resources/xsl/fopdf.xsl
similarity index 98%
rename from docs/src/docbkx/resources/xsl/fopdf.xsl
rename to docs/src/reference/resources/xsl/fopdf.xsl
index 4954f6c0..8582406d 100644
--- a/docs/src/docbkx/resources/xsl/fopdf.xsl
+++ b/docs/src/reference/resources/xsl/fopdf.xsl
@@ -1,12 +1,8 @@
- Copyright © 2010
+ Copyright © 2010-2011
@@ -110,7 +106,7 @@
- Spring GemFire()
+ Spring Data Redis ()
diff --git a/docs/src/docbkx/resources/xsl/highlight-fo.xsl b/docs/src/reference/resources/xsl/highlight-fo.xsl
similarity index 100%
rename from docs/src/docbkx/resources/xsl/highlight-fo.xsl
rename to docs/src/reference/resources/xsl/highlight-fo.xsl
diff --git a/docs/src/docbkx/resources/xsl/highlight.xsl b/docs/src/reference/resources/xsl/highlight.xsl
similarity index 100%
rename from docs/src/docbkx/resources/xsl/highlight.xsl
rename to docs/src/reference/resources/xsl/highlight.xsl
diff --git a/docs/src/reference/resources/xsl/html-custom.xsl b/docs/src/reference/resources/xsl/html-custom.xsl
new file mode 100644
index 00000000..575267e3
--- /dev/null
+++ b/docs/src/reference/resources/xsl/html-custom.xsl
@@ -0,0 +1,145 @@
+
+
+
+
+
+
+
+
+
+ '5'
+ '1'
+
+
+ 1
+
+
+ 1
+
+
+ 1
+ 0
+ 1
+
+
+
+ images/admon/
+ .png
+
+ 120
+ images/callouts/
+ .png
+
+
+ css/manual.css
+ text/css
+ book toc,title
+
+ text-align: left
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 3
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Begin Google Analytics code
+
+
+ End Google Analytics code
+
+
+
+
+ Begin LoopFuse code
+
+
+ End LoopFuse code
+
+
+
\ No newline at end of file
diff --git a/docs/src/reference/resources/xsl/html-single-custom.xsl b/docs/src/reference/resources/xsl/html-single-custom.xsl
new file mode 100644
index 00000000..264d9a81
--- /dev/null
+++ b/docs/src/reference/resources/xsl/html-single-custom.xsl
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+
+ 1
+
+
+ 1
+
+
+ 1
+ 0
+ 1
+
+
+
+ images/admon/
+ .png
+
+ 120
+ images/callouts/
+ .png
+
+
+ css/manual.css
+ text/css
+ book toc,title
+
+ text-align: left
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 2
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Begin Google Analytics code
+
+
+End Google Analytics code
+
+
+
+
+Begin LoopFuse code
+
+
+End LoopFuse code
+
+
+
\ No newline at end of file
diff --git a/docs/src/docbkx/resources/xsl/html.xsl b/docs/src/reference/resources/xsl/html.xsl
similarity index 98%
rename from docs/src/docbkx/resources/xsl/html.xsl
rename to docs/src/reference/resources/xsl/html.xsl
index da3218ef..7aa724d4 100644
--- a/docs/src/docbkx/resources/xsl/html.xsl
+++ b/docs/src/reference/resources/xsl/html.xsl
@@ -93,8 +93,8 @@
-
+
diff --git a/docs/src/docbkx/resources/xsl/html_chunk.xsl b/docs/src/reference/resources/xsl/html_chunk.xsl
similarity index 98%
rename from docs/src/docbkx/resources/xsl/html_chunk.xsl
rename to docs/src/reference/resources/xsl/html_chunk.xsl
index 9f450ee3..20bf7928 100644
--- a/docs/src/docbkx/resources/xsl/html_chunk.xsl
+++ b/docs/src/reference/resources/xsl/html_chunk.xsl
@@ -15,7 +15,7 @@
################################################### -->
'5'
'1'
- 0
+ 0
0
1
-
+
diff --git a/docs/src/reference/resources/xsl/pdf-custom.xsl b/docs/src/reference/resources/xsl/pdf-custom.xsl
new file mode 100644
index 00000000..2b229062
--- /dev/null
+++ b/docs/src/reference/resources/xsl/pdf-custom.xsl
@@ -0,0 +1,522 @@
+
+
+
+
+
+
+
+
+
+
+ '1'
+ images/admon/
+ .png
+
+
+
+
+ 24pt
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -5em
+ -5em
+
+
+
+
+
+ book toc,title
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ please define productname in your docbook file!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+ 0
+ 1
+ 1
+
+
+
+
+ 0
+ 0
+ 0
+
+
+
+ false
+
+
+ 11
+ 8
+
+
+ 1.4
+
+
+
+ left
+ bold
+
+
+ pt
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 0.8em
+ 0.8em
+ 0.8em
+
+
+ pt
+
+ 0.1em
+ 0.1em
+ 0.1em
+
+
+ 0.6em
+ 0.6em
+ 0.6em
+
+
+ pt
+
+ 0.1em
+ 0.1em
+ 0.1em
+
+
+ 0.4em
+ 0.4em
+ 0.4em
+
+
+ pt
+
+ 0.1em
+ 0.1em
+ 0.1em
+
+
+ 0.3em
+ 0.3em
+ 0.3em
+
+
+ pt
+
+ 0.1em
+ 0.1em
+ 0.1em
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 4pt
+ 4pt
+ 4pt
+ 4pt
+
+
+
+ 0.1pt
+ 0.1pt
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ pt
+
+
+
+
+ 1em
+ 1em
+ 1em
+ 0.1em
+ 0.1em
+ 0.1em
+
+ #444444
+ solid
+ 0.1pt
+ 0.5em
+ 0.5em
+ 0.5em
+ 0.5em
+ 0.5em
+ 0.5em
+
+
+
+ 1
+
+ #F0F0F0
+
+
+
+ 0.1em
+ 0.1em
+ 0.1em
+ 0.1em
+ 0.1em
+ 0.1em
+
+
+
+ 0.5em
+ 0.5em
+ 0.5em
+ 0.1em
+ 0.1em
+ 0.1em
+ always
+
+
+
+
+
+ normal
+ italic
+
+
+ pt
+
+ false
+ 0.1em
+ 0.1em
+ 0.1em
+
+
+
+
+
+ 0
+ 1
+
+
+ 90
+
+
+
+
+
+ figure after
+ example after
+ equation before
+ table before
+ procedure before
+
+
+
+ 1
+
+ 0pt
+
+
+ 3
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/gradle.properties b/gradle.properties
new file mode 100644
index 00000000..ff3916f2
--- /dev/null
+++ b/gradle.properties
@@ -0,0 +1,24 @@
+## Dependecies Version
+
+# Logging
+log4jVersion = 1.2.16
+slf4jVersion = 1.6.1
+
+# Common libraries
+springVersion = 3.1.0.M2
+gemfireVersion = 6.6.RC
+
+# Testing
+junitVersion = 4.8.1
+mockitoVersion = 1.8.5
+
+# Manifest properties
+
+## OSGi ranges
+spring.range = "[3.1.0, 4.0.0)"
+gemfire.range = "[6.5, 7.0)"
+
+# --------------------
+# Project wide version
+# --------------------
+springGemfireVersion=1.1.0.BUILD-SNAPSHOT
\ No newline at end of file
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 00000000..45bfb5c8
Binary files /dev/null and b/gradle/wrapper/gradle-wrapper.jar differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 00000000..f1c7bed2
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Tue Jul 19 18:42:40 EEST 2011
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=http\://repo.gradle.org/gradle/distributions/gradle-1.0-milestone-3-bin.zip
diff --git a/gradlew b/gradlew
new file mode 100644
index 00000000..d8809f15
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,168 @@
+#!/bin/bash
+
+##############################################################################
+## ##
+## Gradle wrapper script for UN*X ##
+## ##
+##############################################################################
+
+# Uncomment those lines to set JVM options. GRADLE_OPTS and JAVA_OPTS can be used together.
+# GRADLE_OPTS="$GRADLE_OPTS -Xmx512m"
+# JAVA_OPTS="$JAVA_OPTS -Xmx512m"
+
+GRADLE_APP_NAME=Gradle
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# Attempt to set JAVA_HOME if it's not already set.
+if [ -z "$JAVA_HOME" ] ; then
+ if $darwin ; then
+ [ -z "$JAVA_HOME" -a -d "/Library/Java/Home" ] && export JAVA_HOME="/Library/Java/Home"
+ [ -z "$JAVA_HOME" -a -d "/System/Library/Frameworks/JavaVM.framework/Home" ] && export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Home"
+ else
+ javaExecutable="`which javac`"
+ [ -z "$javaExecutable" -o "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ] && die "JAVA_HOME not set and cannot find javac to deduce location, please set JAVA_HOME."
+ # readlink(1) is not available as standard on Solaris 10.
+ readLink=`which readlink`
+ [ `expr "$readLink" : '\([^ ]*\)'` = "no" ] && die "JAVA_HOME not set and readlink not available, please set JAVA_HOME."
+ javaExecutable="`readlink -f \"$javaExecutable\"`"
+ javaHome="`dirname \"$javaExecutable\"`"
+ javaHome=`expr "$javaHome" : '\(.*\)/bin'`
+ export JAVA_HOME="$javaHome"
+ fi
+fi
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVACMD" ] && JAVACMD=`cygpath --unix "$JAVACMD"`
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+STARTER_MAIN_CLASS=org.gradle.wrapper.GradleWrapperMain
+CLASSPATH=`dirname "$0"`/gradle/wrapper/gradle-wrapper.jar
+WRAPPER_PROPERTIES=`dirname "$0"`/gradle/wrapper/gradle-wrapper.properties
+# Determine the Java command to use to start the JVM.
+if [ -z "$JAVACMD" ] ; then
+ if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ else
+ JAVACMD="java"
+ fi
+fi
+if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+if [ -z "$JAVA_HOME" ] ; then
+ warn "JAVA_HOME environment variable is not set"
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query businessSystem maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add GRADLE_APP_NAME to the JAVA_OPTS as -Xdock:name
+if $darwin; then
+ JAVA_OPTS="$JAVA_OPTS -Xdock:name=$GRADLE_APP_NAME"
+# we may also want to set -Xdock:image
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ JAVA_HOME=`cygpath --path --mixed "$JAVA_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+GRADLE_APP_BASE_NAME=`basename "$0"`
+
+exec "$JAVACMD" $JAVA_OPTS $GRADLE_OPTS \
+ -classpath "$CLASSPATH" \
+ -Dorg.gradle.appname="$GRADLE_APP_BASE_NAME" \
+ -Dorg.gradle.wrapper.properties="$WRAPPER_PROPERTIES" \
+ $STARTER_MAIN_CLASS \
+ "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 00000000..479fdddb
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,82 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem ##
+@rem Gradle startup script for Windows ##
+@rem ##
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Uncomment those lines to set JVM options. GRADLE_OPTS and JAVA_OPTS can be used together.
+@rem set GRADLE_OPTS=%GRADLE_OPTS% -Xmx512m
+@rem set JAVA_OPTS=%JAVA_OPTS% -Xmx512m
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.\
+
+@rem Find java.exe
+set JAVA_EXE=java.exe
+if not defined JAVA_HOME goto init
+
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+echo.
+goto end
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set STARTER_MAIN_CLASS=org.gradle.wrapper.GradleWrapperMain
+set CLASSPATH=%DIRNAME%\gradle\wrapper\gradle-wrapper.jar
+set WRAPPER_PROPERTIES=%DIRNAME%\gradle\wrapper\gradle-wrapper.properties
+
+set GRADLE_OPTS=%JAVA_OPTS% %GRADLE_OPTS% -Dorg.gradle.wrapper.properties="%WRAPPER_PROPERTIES%"
+
+@rem Execute Gradle
+"%JAVA_EXE%" %GRADLE_OPTS% -classpath "%CLASSPATH%" %STARTER_MAIN_CLASS% %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+if not "%OS%"=="Windows_NT" echo 1 > nul | choice /n /c:1
+
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit "%ERRORLEVEL%"
+exit /b "%ERRORLEVEL%"
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
\ No newline at end of file
diff --git a/maven.gradle b/maven.gradle
new file mode 100644
index 00000000..3707b53f
--- /dev/null
+++ b/maven.gradle
@@ -0,0 +1,126 @@
+apply plugin: 'maven'
+
+// Create a source jar for uploading
+task sourceJar(type: Jar, dependsOn: jar) {
+ classifier = 'sources'
+ from sourceSets.main.allSource
+}
+
+// Create a javadoc jar for uploading
+task javadocJar(type: Jar, dependsOn: javadoc) {
+ classifier = 'javadoc'
+ from javadoc.destinationDir
+}
+
+artifacts {
+ archives sourceJar
+ archives javadocJar
+}
+
+// Configuration for SpringSource s3 maven deployer
+configurations {
+ deployerJars
+}
+dependencies {
+ deployerJars "org.springframework.build.aws:org.springframework.build.aws.maven:3.0.0.RELEASE"
+}
+
+// Remove the archive configuration from the runtime configuration, so that anything added to archives
+// (such as the source jar) is no longer included in the runtime classpath
+configurations.default.extendsFrom = [configurations.runtime] as Set
+// Add the main jar into the default configuration
+artifacts { 'default' jar }
+
+gradle.taskGraph.whenReady {graph ->
+ if (graph.hasTask(uploadArchives)) {
+ // check properties defined and fail early
+ s3AccessKey
+ s3SecretAccessKey
+ }
+}
+
+def deployer = null
+
+uploadArchives {
+ description = "Maven deploy of archives artifacts to SpringSource Maven repos" // url appended below
+ group = "Distribution"
+ // Maven deployment
+ def releaseRepositoryUrl = "file://${project.properties.mavenSyncRepoDir}"
+ def milestoneRepositoryUrl = 's3://maven.springframework.org/milestone'
+ def snapshotRepositoryUrl = 's3://maven.springframework.org/snapshot'
+
+ // add a configuration with a classpath that includes our s3 maven deployer
+ configurations { deployerJars }
+ dependencies {
+ deployerJars "org.springframework.build.aws:org.springframework.build.aws.maven:3.0.0.RELEASE"
+ }
+
+ deployer = repositories.mavenDeployer {
+ configuration = configurations.deployerJars
+ // releaseBuild
+ if (releaseBuild) {
+ logger.info("Deploying to local Maven repo " + releaseRepositoryUrl)
+ // "mavenSyncRepoDir" should be set in properties
+ repository(url: releaseRepositoryUrl)
+ } else {
+ s3credentials = [userName: project.properties.s3AccessKey, passphrase: project.properties.s3SecretAccessKey]
+ repository(url: milestoneRepositoryUrl) {
+ authentication(s3credentials)
+ }
+ snapshotRepository(url: snapshotRepositoryUrl) {
+ authentication(s3credentials)
+ }
+ }
+ }
+
+ customizePom(deployer.pom)
+}
+
+install {
+ customizePom(repositories.mavenInstaller.pom)
+}
+
+def customizePom(pom) {
+ def optionalDeps = ['log4j','jsr250-api']
+
+ //pom.scopeMappings.addMapping(10, configurations.provided, 'provided')
+ pom.whenConfigured { p ->
+ // Remove test scope dependencies from published poms
+ p.dependencies = p.dependencies.findAll {it.scope != 'test'}
+
+ // Flag optional deps
+ def opDeps = configurations.testRuntime.allDependencies.findAll { gradleDep ->
+ gradleDep.asDynamicObject.hasProperty('optional') && gradleDep.optional
+ }
+
+ p.dependencies.findAll { dep ->
+ optionalDeps.contains(dep.artifactId) ||
+ dep.groupId.startsWith('org.slf4j') ||
+ opDeps.any { op ->
+ (dep.groupId == op.group && dep.artifactId == op.name)
+ }
+ }*.optional = true
+
+ p.groupId = "org.springframework.data"
+ }
+
+ pom.project {
+ licenses {
+ license {
+ name 'The Apache Software License, Version 2.0'
+ url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
+ distribution 'repo'
+ }
+ }
+
+ // similar to Spring's configuration
+ dependencies {
+ dependency {
+ artifactId = groupId = 'commons-logging'
+ scope = 'compile'
+ optional = 'true'
+ version = '1.1.1'
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/settings.gradle b/settings.gradle
new file mode 100644
index 00000000..2736d478
--- /dev/null
+++ b/settings.gradle
@@ -0,0 +1,5 @@
+rootProject.name = 'spring-gemfire'
+
+include 'docs'
+
+docs = findProject(':docs')
\ No newline at end of file
diff --git a/template.mf b/template.mf
new file mode 100644
index 00000000..0876598c
--- /dev/null
+++ b/template.mf
@@ -0,0 +1,20 @@
+Bundle-SymbolicName: org.springframework.data.gemfire
+Bundle-Name: Spring GemFire
+Bundle-Vendor: SpringSource
+Bundle-ManifestVersion: 2
+Export-Template: org.springframework.data.gemfire.*;version=${version}
+Import-Package:
+ sun.reflect;version="0";resolution:=optional
+Import-Template:
+ org.springframework.asm.*;version=${spring.range},
+ org.springframework.beans.*;version=${spring.range},
+ org.springframework.cache.*;version=${spring.range},
+ org.springframework.context.*;version=${spring.range},
+ org.springframework.core.*;version=${spring.range},
+ org.springframework.dao.*;version=${spring.range},
+ org.springframework.util.*;version=${spring.range},
+ org.springframework.transaction.*;version=${spring.range},
+ com.gemstone.gemfire.*;version=${gemfire.range},
+ org.aopalliance.*;version="[1.0.0, 2.0.0)";resolution:=optional,
+ org.apache.commons.logging.*;version="[1.1.1, 2.0.0)",
+ org.w3c.dom.*;version="0"
\ No newline at end of file