Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Export_Tool/README
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
With this tool we will demonstrate how to export data from a space via serializing it to a file. We can then re-import the data back into the space. The tool executes distributed tasks in ‘preprocess’ mode, which reads the serialization files and returns a de-duplicated list of the classes only.
35 changes: 35 additions & 0 deletions Export_Tool/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.gigaspaces.export</groupId>
<artifactId>export</artifactId>
<version>1.0-SNAPSHOT</version>
<repositories>
<repository>
<id>org.openspaces</id>
<url>http://maven-repository.openspaces.org</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>org.openspaces</id>
<url>http://maven-repository.openspaces.org</url>
</pluginRepository>
</pluginRepositories>
<properties>
<gsVersion>9.7.0-10496-RELEASE</gsVersion>
<springVersion>3.1.3.RELEASE</springVersion>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>com.gigaspaces</groupId>
<artifactId>gs-openspaces</artifactId>
<version>${gsVersion}</version>
</dependency>
</dependencies>

</project>
18 changes: 18 additions & 0 deletions Export_Tool/src/main/assembly/assembly.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<assembly>
<id>assemble-pu</id>
<formats>
<format>jar</format>
<format>dir</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<fileSets>
<fileSet>
<directory>target/classes</directory>
<lineEnding>keep</lineEnding>
<outputDirectory>/</outputDirectory>
<includes>
<include>**/**</include>
</includes>
</fileSet>
</fileSets>
</assembly>
Loading