Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V111 egonw #30

Merged
merged 5 commits into from
Sep 16, 2024
Merged
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
35 changes: 31 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,22 +69,44 @@
<dependency>
<groupId>org.bridgedb</groupId>
<artifactId>org.bridgedb.bio</artifactId>
<version>3.0.6</version>
<version>3.0.27-java8</version>
</dependency>
<dependency>
<groupId>org.bridgedb</groupId>
<artifactId>org.bridgedb.rdb</artifactId>
<version>3.0.6</version>
<version>3.0.27-java8</version>
</dependency>
<dependency>
<groupId>org.bridgedb</groupId>
<artifactId>org.bridgedb.rdb.construct</artifactId>
<version>3.0.6</version>
<version>3.0.27-java8</version>
</dependency>
<dependency>
<groupId>org.bridgedb</groupId>
<artifactId>org.bridgedb.tools.qc</artifactId>
<version>3.0.6</version>
<version>3.0.27</version>
<exclusions>
<exclusion>
<groupId>org.bridgedb</groupId>
<artifactId>org.bridgedb</artifactId>
</exclusion>
<exclusion>
<groupId>org.bridgedb</groupId>
<artifactId>org.bridgedb.bio</artifactId>
</exclusion>
<exclusion>
<groupId>org.bridgedb</groupId>
<artifactId>org.bridgedb.rdb</artifactId>
</exclusion>
<exclusion>
<groupId>org.bridgedb</groupId>
<artifactId>org.bridgedb.rdb.construct</artifactId>
</exclusion>
<exclusion>
<groupId>org.apache.derby</groupId>
<artifactId>derbyshared</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
Expand All @@ -98,5 +120,10 @@
<artifactId>derbyclient</artifactId>
<version>10.4.2.0</version>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbytools</artifactId>
<version>10.4.2.0</version>
</dependency>
</dependencies>
</project>
4 changes: 2 additions & 2 deletions src/main/java/org/bridgedb/creator/DbBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
import org.bridgedb.rdb.construct.DBConnector;
import org.bridgedb.rdb.construct.DataDerby;
import org.bridgedb.rdb.construct.GdbConstruct;
import org.bridgedb.rdb.construct.GdbConstructImpl4;
import org.bridgedb.rdb.construct.GdbConstructImpl3;

/**
* The class that performs the actual work on the database, used by
Expand Down Expand Up @@ -71,7 +71,7 @@ public DbBuilder(BridgeDbCreator creator) {
* @throws IDMapperException when it cannot write to the output file
*/
public void createNewDb() throws IDMapperException {
newDb = new GdbConstructImpl4(creator.getOutputFilePath(), new DataDerby(), DBConnector.PROP_RECREATE);
newDb = new GdbConstructImpl3(creator.getOutputFilePath(), new DataDerby(), DBConnector.PROP_RECREATE);
newDb.createGdbTables();
newDb.preInsert();

Expand Down
1 change: 1 addition & 0 deletions src/main/java/org/bridgedb/creator/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public static void main(String[] args) throws ClassNotFoundException, IDMapperEx

logInit();
DataSourceTxt.init(); // Initialize BrideDb data source
Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
File dir = null;
String datasourceName = null;
String version = null;
Expand Down
Loading