Skip navigation
Toggle Sidebar

Project Documentation

Roadmap

The following features are implemented:

1.0

  • Creating Maven helloword project with helloworld-archetype.
  • Creating deployable processing unit, and copying the processing unit into GigaSpaces deploy directory.

1.1 

  • Creating Maven nested data project with data-archetype

The following features will be added in the future.

  • gigaspaces:deployPU:deployPU for deploying processing unit into GigaSpaces

Installation Instructions

  1. Unzip MavenPlugin_1-0.zip into your local directory.
  2. Run 'mvn clean install'. This will download all dependent files and finally build helloworld-archetype-1.0-SNAPSHOT.jar, data-archetype-1.0-SNAPSHOT.jar, and deployPU-1.0-SNAPSHOT.jar. Also, those three jar files will be installed in your local Maven repository like your_home_dir/.m2/repository.

Usage Instructions

To use this tools, followings are required.

  • Java 1.5 or higher.
  • JAVA_HOME should be set to Java installation directory like 'JAVA_HOME=D:\software\java\java6_4'
  • Maven 2.0.8 or higher
  • MAVEN_HOME should be set to Maven installation directory like 'MAVEN_HOME=D:\software\maven\apache-maven-2.0.8'
  • GigaSpacesXAP6.0.2 or higher
  • JSHOMEDIR should be set to GigaSpaces installation directory like 'JSHOMEDIR=D:\software\gigaspaces\GigaSpacesXAP6.0.2'
  • Set LOOKUPGROUPS to Jini Lookup Service group name like 'service-grid'

To create helloworld Maven-enabled OpenSpace project for myHelloworld project with com.mycompany package, run following on the command in one line:

  • mvn archetype:create -DarchetypeGroupId=gigaspaces -DarchetypeArtifactId=helloworld-archetype -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=com.mycompany -DartifactId=myHelloworld

To create data Maven-enabled OpenSpace project, that includes nested common, processor and feeder modules, for myData project with com.mycompany package, run following on the command in one line:

  • mvn archetype:create  -DarchetypeGroupId=gigaspaces -DarchetypeArtifactId=data-archetype -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=com.mycompany -DartifactId=myData

To build the myHelloworld or myData project, change to myHelloworld or myData directory. And run following commands as:

  • mvn clean install

(Optional) To create Eclipse project, run following commands as:

  • mvn eclipse:eclipse

(Optional) To create IntelliJ IDEA project, run following commands as:

  • mvn idea:idea

To assemble the processing unit, run following command as:

  • Change a directory to either processor or feeder for the data project.
  • mvn assembly:directory

To copy the processing unit into the GigaSapces deploy directory, run following command as:

  • mvn gigaspaces:deployPU:copyPU

Examples

Please see Usage Example above.

Screenshots

N/A

Adaptavist Theme Builder Powered by Atlassian Confluence