Skip to content

Commit

Permalink
Auto generarion of GreatefulDeadConcerts database on maven build
Browse files Browse the repository at this point in the history
  • Loading branch information
lvca committed Dec 9, 2013
1 parent 37c77e2 commit 8ef5019
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 13 deletions.
17 changes: 10 additions & 7 deletions distribution/src/main/assembly/bin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<formats>
<format>dir</format>
<format>tar.gz</format>
<format>tar.bz2</format>
<format>zip</format>
</formats>

Expand Down Expand Up @@ -164,14 +163,11 @@
</fileSet>

<!--
| creates an empty databases directory
| copy databases directory
-->
<fileSet>
<directory>${basedir}/../server/config</directory>
<directory>${basedir}/../graphdb/target/databases</directory>
<outputDirectory>databases</outputDirectory>
<excludes>
<exclude>*</exclude>
</excludes>
</fileSet>
</fileSets>

Expand All @@ -198,9 +194,16 @@
-->
<dependencySets>
<dependencySet>
<!--useTransitiveDependencies>false</useTransitiveDependencies-->
<outputDirectory>lib</outputDirectory>
<includes>
<include>*:jar:*</include>
</includes>
<excludes>
<exclude>*:pom</exclude>
<exclude>*:ant:*</exclude>
<exclude>*:ant-launcher:*</exclude>
<exclude>*:antlr:*</exclude>
<exclude>*:ivy:*</exclude>
</excludes>
</dependencySet>
</dependencySets>
Expand Down
Binary file removed graphdb/lib/antlr-2.7.7.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import java.io.FileNotFoundException;
import java.io.IOException;

import org.testng.annotations.Test;

import com.orientechnologies.orient.client.db.ODatabaseHelper;
import com.orientechnologies.orient.core.config.OGlobalConfiguration;
import com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx;
Expand Down Expand Up @@ -31,7 +33,7 @@ public TestLoadGraph(final String[] args) {
dbURL = args.length > 1 ? args[1] : DBURL;
}

// @Test
@Test
public void testImport() throws IOException, FileNotFoundException {
OGlobalConfiguration.STORAGE_KEEP_OPEN.setValue(false);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<!DOCTYPE suite SYSTEM "http://beust.com/testng/testng-1.0.dtd">
<suite name="GraphDB test suite" verbose="2" parallel="false">

<test name="Default" preserve-order="true">
<suite name="GraphDB test suite" verbose="3" parallel="false">
<test name="Default">
<classes>
<class name="com.orientechnologies.orient.graph.blueprints.TestLoadGraph" />
<class name="com.orientechnologies.orient.graph.blueprints.LocalGremlinTest" />
<!-- <class name="com.orientechnologies.orient.graph.blueprints.RemoteGremlinTest" /> -->
<class
name="com.orientechnologies.orient.graph.blueprints.LocalGremlinTest" />
<!-- <class name="com.orientechnologies.orient.graph.blueprints.RemoteGremlinTest"
/> -->
</classes>
</test>
</suite>

0 comments on commit 8ef5019

Please sign in to comment.