2 Getting Started - Reference Documentation
Authors: Graeme Rocher
Version: 5.0.0.BUILD-SNAPSHOT
2 Getting Started
Checking out and Building
The project is currently hosted on Github at .You are free to fork the project from there or clone it anonymously using git:git clone git@github.com:SpringSource/grails-data-mapping.git cd grails-data-mapping
./gradlew eclipse
./gradlew idea
grails-data-mapping.ipr
file.The version of Gradle used has a bug whereby a subproject is generated for the root directory called "grails-data-mapping". You should remove this subproject from your Intellij Modules or delete it it from Eclipse.To build the project you can run the
assemble
task:./gradlew assemble
./gradlew install
./gradlew allDocs
build/docs
directory.If you experience PermGen errors when building documentation you may need to increase the JVM permgen inside GRADLE_OPTS
Project Structure
The project is essentially a multi-project Gradle build. There is a core API and then subprojects that implement that API. The core API subprojects include:grails-datastore-core
- The core API, this provides core interfaces for implementing a GORM providergrails-datastore-gorm
- The runtime meta-programming and AST transformation infrastructure behind GORM. Also provides end users APIs likegrails.gorm.CriteriaBuilder
andgrails.gorm.DetachedCriteria
grails-datastore-gorm-plugin-support
- Support classes for easing the writing of a GORM plugin for Grailsgrails-datastore-gorm-tck
- The TCK that includes hundreds of Spock specifications that a GORM implementation will need to passgrails-datastore-web
- Classes required to integrate GORM into a web tier
grails-datastore-gemfire/grails-datastore-gorm-gemfire
- GORM for Gemfire projectgrails-datastore-jpa/grails-datastore-gorm-jpa
- GORM for JPA projectgrails-datastore-mongo/grails-datastore-gorm-mongo
- GORM for MongoDB projectgrails-datastore-neo4j
- GORM for Neo4j projectgrails-datastore-redis/grails-datastore-gorm-redis
- GORM for Redis projectgrails-datastore-riak/grails-datastore-gorm-riak
- GORM for Riak projectgrails-datastore-simpledb/grails-datastore-gorm-simpledb
- GORM for SimpleDB project
grails-documentation
. There are documentation projects for the core API, MongoDB, Neo4j, Redis, Riak and Amazon SimpleDB.Finally the Grails plugins that are used to distribute the GORM implementations to end users can be found in the grails-plugins
directory.