|
|
@ -40,7 +40,14 @@ public class ConfigToPropMigrator { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void execute() { |
|
|
|
public void execute() { |
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
_execute(); |
|
|
|
|
|
|
|
} catch (Throwable throwable) { |
|
|
|
|
|
|
|
FineLoggerFactory.getLogger().warn(throwable.getMessage(), throwable); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void _execute() { |
|
|
|
if (WorkContext.getCurrent().isLocal()) { |
|
|
|
if (WorkContext.getCurrent().isLocal()) { |
|
|
|
|
|
|
|
|
|
|
|
String url = "jdbc:hsqldb:file://" + WorkContext.getCurrent().getPath() + "/" + ProjectConstants.EMBED_DB_DIRECTORY + "/finedb/db;hsqldb.tx=mvcc"; |
|
|
|
String url = "jdbc:hsqldb:file://" + WorkContext.getCurrent().getPath() + "/" + ProjectConstants.EMBED_DB_DIRECTORY + "/finedb/db;hsqldb.tx=mvcc"; |
|
|
|