Skip to content

v0.2.48..v0.2.49 changeset DeriveChangesetCommand.java

Garret Voltz edited this page Oct 2, 2019 · 1 revision
diff --git a/hoot-services/src/main/java/hoot/services/controllers/grail/DeriveChangesetCommand.java b/hoot-services/src/main/java/hoot/services/controllers/grail/DeriveChangesetCommand.java
index 893b70b..38e87fa 100644
--- a/hoot-services/src/main/java/hoot/services/controllers/grail/DeriveChangesetCommand.java
+++ b/hoot-services/src/main/java/hoot/services/controllers/grail/DeriveChangesetCommand.java
@@ -43,7 +43,6 @@ class DeriveChangesetCommand extends GrailCommand {
         List<String> options = new LinkedList<>();
         String userName = params.getUser().getDisplayName();
         options.add("changeset.description=Hootenanny changeset generated by " + userName);
-        options.add("hootapi.db.writer.overwrite.map=true");
         options.add("api.db.email=" + params.getUser().getEmail());
 
         if(params.getConflationType() != null && params.getConflationType().contains("Differential")) {
@@ -59,7 +58,7 @@ class DeriveChangesetCommand extends GrailCommand {
         substitutionMap.put("HOOT_OPTIONS", hootOptions);
         substitutionMap.put("DEBUG_LEVEL", debugLevel);
 
-        String command = "hoot changeset-derive --${DEBUG_LEVEL} ${HOOT_OPTIONS} ${INPUT1} ${INPUT2} ${OSC_FILE} --stats";
+        String command = "hoot changeset-derive --${DEBUG_LEVEL} -C DeriveChangeset.conf ${HOOT_OPTIONS} ${INPUT1} ${INPUT2} ${OSC_FILE} --stats";
 
         super.configureCommand(command, substitutionMap, caller);
     }
Clone this wiki locally