revert database name to dc.h2.db

This commit is contained in:
Jeremy Long
2017-08-13 16:05:26 -04:00
parent 3ef80644f8
commit c0aca39d31
9 changed files with 17 additions and 11 deletions

View File

@@ -48,7 +48,7 @@ public abstract class BaseDBTestCase extends BaseTest {
}
public static void ensureDBExists() throws Exception {
File f = new File("./target/data/odc.h2.db");
File f = new File("./target/data/dc.h2.db");
if (f.exists() && f.isFile() && f.length() < 71680) {
f.delete();
}

View File

@@ -37,7 +37,7 @@ public class BaseTest {
@AfterClass
public static void tearDownClass() throws Exception {
File f = new File("./target/data/odc.h2.db");
File f = new File("./target/data/dc.h2.db");
if (f.exists() && f.isFile() && f.length() < 71680) {
System.err.println("------------------------------------------------");
System.err.println("------------------------------------------------");

View File

@@ -16,7 +16,7 @@ engine.version.url=https://jeremylong.github.io/DependencyCheck/current.txt
# below contains a %s then the data.directory will replace the %s.
data.directory=[JAR]/data
#if the filename has a %s it will be replaced with the current expected version
data.file_name=odc.h2.db
data.file_name=dc.h2.db
data.version=3.0
data.connection_string=jdbc:h2:file:%s;MV_STORE=FALSE;AUTOCOMMIT=ON;LOCK_MODE=0;FILE_LOCK=NO
#data.connection_string=jdbc:mysql://localhost:3306/dependencycheck