Commit 090c58eb authored by Stefan Huehner's avatar Stefan Huehner
Browse files

ISSUE-28703: Remove obsolete setters related to dbmanager.jar

build*.xml file from backoffice repo did still pass/set a few attributes
related to obsolete dbmanager.jar when calling dbsm ant tasks.

Internally those were long unusued.
Remove the obsolete setters/getter.

Note: This change in dbsm only works together with commit 914cb5f04a in
backoffice repo which stops setting the remove filter & excludeobjects
values.
parent 66913022
......@@ -32,8 +32,6 @@ import org.openbravo.ddlutils.util.DBSMOBUtil;
*/
public class AlterDatabaseDataAll extends BaseDatabaseTask {
protected String excludeobjects = "org.apache.ddlutils.platform.ExcludeFilter";
protected File input;
protected String encoding = "UTF-8";
protected File originalmodel;
......@@ -131,7 +129,6 @@ public class AlterDatabaseDataAll extends BaseDatabaseTask {
task.setPassword(props.getProperty("bbdd.password"));
task.setSystemUser(props.getProperty("bbdd.systemUser"));
task.setSystemPassword(props.getProperty("bbdd.systemPassword"));
task.setExcludeobjects(props.getProperty("com.openbravo.db.OpenbravoExcludeFilter"));
task.setModel(new File(baseDir + "/model"));
task.setInput(new File(baseDir + "/sourcedata"));
......@@ -146,14 +143,6 @@ public class AlterDatabaseDataAll extends BaseDatabaseTask {
task.execute();
}
public String getExcludeobjects() {
return excludeobjects;
}
public void setExcludeobjects(String excludeobjects) {
this.excludeobjects = excludeobjects;
}
public File getOriginalmodel() {
return originalmodel;
}
......@@ -194,14 +183,6 @@ public class AlterDatabaseDataAll extends BaseDatabaseTask {
this.failonerror = failonerror;
}
/**
* Functionality for deleting data during create.database was removed. Function is kept to not
* require lock-step update of dbsm.jar & build-create.xml
*/
@Deprecated
public void setFilter(String filter) {
}
public File getInput() {
return input;
}
......
......@@ -32,7 +32,7 @@ public class AlterDatabaseJava {
ada.setUrl(args[1]);
ada.setUser(args[2]);
ada.setPassword(args[3]);
ada.setExcludeobjects(args[4]);
// args[4] was 'excludeobjects' now unused
ada.setModel(new File(args[5]));
// args[6] was 'filter' now unused
ada.setInput(new File(args[7]));
......
......@@ -357,16 +357,6 @@ public class CreateDatabase extends BaseDatabaseTask {
return object;
}
/**
* Functionality for deleting data during create.database was removed. Function is kept to not
* require lock-step update of dbsm.jar & build-create.xml
*
* @deprecated
*/
@Deprecated
public void setFilter(String filter) {
}
public String getInput() {
return input;
}
......
......@@ -44,8 +44,6 @@ import org.openbravo.ddlutils.util.OBDataset;
*/
public class ExportConfigScript extends BaseDatabaseTask {
private String excludeobjects = "org.apache.ddlutils.platform.ExcludeFilter";
private File prescript = null;
private File postscript = null;
......@@ -263,14 +261,6 @@ public class ExportConfigScript extends BaseDatabaseTask {
}
}
public String getExcludeobjects() {
return excludeobjects;
}
public void setExcludeobjects(String excludeobjects) {
this.excludeobjects = excludeobjects;
}
public File getModel() {
return model;
}
......@@ -279,14 +269,6 @@ public class ExportConfigScript extends BaseDatabaseTask {
this.model = model;
}
/**
* Functionality for deleting data during create.database was removed. Function is kept to not
* require lock-step update of dbsm.jar & build-create.xml
*/
@Deprecated
public void setFilter(String filter) {
}
public File getOutput() {
return output;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment