Granite Data Services Core Project
Java ActionScript Groovy
Latest commit 5523524 Nov 25, 2015 William Drai Fix for array types
Failed to load latest commit information.
.idea GDS-1256 Mar 20, 2014
.settings Fixes in build, doc, examples Sep 24, 2012
dist Task: split build file May 23, 2014
gradle/wrapper GDS-1268 May 23, 2014
granite-amf Updated license headers to 2015 Jan 7, 2015
granite-binding-android Updated license headers to 2015 Jan 7, 2015
granite-binding Updated license headers to 2015 Jan 7, 2015
granite-client-android-advanced Updated license headers to 2015 Jan 7, 2015
granite-client-android Updated license headers to 2015 Jan 7, 2015
granite-client-flex-advanced Updated license headers to 2015 Jan 7, 2015
granite-client-flex-udp Updated license headers to 2015 Jan 7, 2015
granite-client-flex Updated license headers to 2015 Jan 7, 2015
granite-client-flex45-advanced Eclipse files Jun 17, 2014
granite-client-flex45-tests Updated license headers to 2015 Jan 7, 2015
granite-client-java-advanced Disable glassfish tests Nov 18, 2015
granite-client-java-udp Updated license headers to 2015 Jan 7, 2015
granite-client-java Disable glassfish tests Nov 18, 2015
granite-client-javafx-advanced Updated license headers to 2015 Jan 7, 2015
granite-client-javafx Fix for setting JavaFX bound properties Nov 18, 2015
granite-common Fix for scanning of classpath containing non archive files May 18, 2015
granite-eclipse Task: split build file May 23, 2014
granite-generator-share Task: split build file May 23, 2014
granite-generator Fix for array types Nov 25, 2015
granite-jmf-java8 Updated license headers to 2015 Jan 7, 2015
granite-jmf Updated license headers to 2015 Jan 7, 2015
granite-server-activemq Updated license headers to 2015 Jan 7, 2015
granite-server-appengine GDS-1390 Jan 27, 2015
granite-server-beanvalidation Updated license headers to 2015 Jan 7, 2015
granite-server-cdi Updated license headers to 2015 Jan 7, 2015
granite-server-core Fix test Apr 10, 2015
granite-server-datanucleus Updated license headers to 2015 Jan 7, 2015
granite-server-eclipselink Updated license headers to 2015 Jan 7, 2015
granite-server-ejb Updated license headers to 2015 Jan 7, 2015
granite-server-glassfishv2 Updated license headers to 2015 Jan 7, 2015
granite-server-glassfishv3 GDS-1390 Jan 27, 2015
granite-server-glassfishv4 GDS-1256 Mar 20, 2014
granite-server-hazelcast Updated license headers to 2015 Jan 7, 2015
granite-server-hibernate Updated license headers to 2015 Jan 7, 2015
granite-server-hibernate4 Test Jan 7, 2015
granite-server-jboss GDS-1390 Jan 27, 2015
granite-server-jetty6 GDS-1390 Jan 27, 2015
granite-server-jetty8 GDS-1390 Jan 27, 2015
granite-server-jetty9 GDS-1390 Jan 27, 2015
granite-server-openjpa Updated license headers to 2015 Jan 7, 2015
granite-server-seam Updated license headers to 2015 Jan 7, 2015
granite-server-servlet3 WS fix Apr 9, 2015
granite-server-spring Upgrade to spring data jpa 1.9.0 Sep 15, 2015
granite-server-spring2 Updated license headers to 2015 Jan 7, 2015
granite-server-tomcat6 GDS-1390 Jan 27, 2015
granite-server-tomcat7 GDS-1390 Jan 27, 2015
granite-server-toplink Updated license headers to 2015 Jan 7, 2015
granite-server-udp Updated license headers to 2015 Jan 7, 2015
granite-server-weblogic GDS-1390 Jan 27, 2015
granite-server-wildfly Updated license headers to 2015 Jan 7, 2015
granite-server Fix javadoc generation and set snapshot version to 3.2.0.SNAPSHOT Aug 28, 2014
reference-docs Typo in the doc Dec 10, 2014
.gitignore Finish tycho build for eclipse plugins Jan 7, 2014
.project Fix Eclipse project Sep 26, 2013
HEADER-gpl.txt Gradle Sep 10, 2013
HEADER-lgpl.txt Merge branch 'java' of ../client-java into gradle Sep 15, 2013
LICENSES.adoc Reformat readmes and licenses files. Oct 11, 2013
README.adoc Fixed links Oct 9, 2014
build.gradle Fix javadoc generation and set snapshot version to 3.2.0.SNAPSHOT Aug 28, 2014
gradle.properties Version Oct 10, 2014
gradlew chmod +x gradlew Sep 19, 2013
gradlew.bat Gradle Sep 10, 2013
settings.gradle GDS-1305 Hazelcast support Jun 23, 2014

README.adoc

Source Distribution / Readme

Overview

GraniteDS provides server and client libraries that can be used to connect desktop and mobile applications to a server using the AMF3 or JMF serialization protocols, through RPC (remoting) and different messaging technologies (Comet, WebSocket, UDP).

It also provides comprehensive data management features for use with Flex, JavaFX and Android applications.

Download

Artifacts are available on Maven central or on GraniteDS web site.

Licensing

See LICENSES.adoc.

Documentation

Support

You can get community support on the GraniteDS user forums.

A dedicated Commercial support is also available.

Issues

You can report issues via the GraniteDS JIRA.

If you are not sure that what you get is a bug, please ask on the forums before submitting an issue.

Building from sources

GraniteDS uses Gradle as build system. You can use the gradle wrapper ./gradlew at the root of the project to run the build.

Requirements

JDK 6+ (JDK 7+ recommended for JavaFX), JavaFX 2+ (optional if using JDK 7+). When using JavaFX 2 on a JDK 6, you will have to copy jfxrt.jar in JAVA_HOME/jre/lib.

Adobe/Apache Flex requirements (optional / Flex users only)

The build of the Flex libraries is optional and requires Flex SDKs 3.6 and 4.5 (or above). Unfortunately due to licensing issues we can’t redistribute them or even publish them on a remote repository so you will have to download them manually and install them in the local maven repository (a Maven 3.x installation is thus also required):

Then, install them with the following commands:

mvn install:install-file -DgroupId=com.adobe -DartifactId=flex-sdk -Dversion=3.6 -Dpackaging=zip -Dfile=flex_sdk_3.6a.zip

mvn install:install-file -DgroupId=com.adobe -DartifactId=flex-sdk -Dversion=4.5 -Dpackaging=zip -Dfile=flex_sdk_4.6.zip

If you run into the following error when you build the project:

Error: Could not create toplevel.xml: Cannot run program "/path/to/.gradle/gradleFx/sdks/c38cfb524afcc315b66387e5a36fe4f5c5b91c32/asdoc/templates/asDocHelper" (in directory "[...]"): error=13, Permission denied

Just issue this command and relaunch the build process:

chmod +x /path/to/.gradle/gradleFx/sdks/c38cfb524afcc315b66387e5a36fe4f5c5b91c32/asdoc/templates/asDocHelper
Note
You can install any compatible version the Flex SDKs (for example Apache Flex 4.10 for SDK 4.5) but you must use the version numbers 3.6 and 4.5.

Clone GitHub repository

git clone git://github.com/graniteds/graniteds.git

Import projects in a IDE

Projects configuration are provided for Eclipse, you can directly import all subprojects in Eclipse. Note that the provided project files use Gradle-managed dependencies build path containers and assume that you are using the Eclipse Gradle IDE plugin.

Quick build (just the libraries, skip tests and API docs)

cd graniteds
./gradlew clean build -x test -x javadoc -x asdoc

Full build

cd graniteds
./gradlew clean build
Specifics for the Adobe/Apache Flex build

The unit tests for Flex require a Flash Player and are skipped when the player path is not defined. You can define the path to the player with:

./gradlew clean build -PflexUnitCommand=/path/to/flashplayer

Install to local repository

./gradlew install