Revision 542732a4
Model Updater for other H2 test databases
cdmlib-services/src/test/java/eu/etaxonomy/cdm/test/function/TestModelUpdate.java | ||
---|---|---|
117 | 117 |
*/ |
118 | 118 |
@SuppressWarnings("unused") //enable only if needed |
119 | 119 |
private void updateRemoteWebappTestH2(){ |
120 |
String pathToCdmlib = "C:\\Users\\a.mueller\\eclipse\\git\\cdmlib\\"; |
|
120 |
// String pathToProject = "C:\\Users\\a.mueller\\eclipse\\git\\cdmlib\\cdmlib-remote-webapp\\"; |
|
121 |
// String pathToProject = "C:\\Users\\a.mueller\\eclipse\\git\\cdm-vaadin\\"; |
|
122 |
String pathToProject = "C:\\Users\\a.mueller\\eclipse\\git\\taxeditor\\eu.etaxonomy.taxeditor.test\\"; |
|
121 | 123 |
|
122 |
String pathInCdmlib = "cdmlib-remote-webapp\\src\\test\\resources\\h2"; |
|
123 |
String path = pathToCdmlib + pathInCdmlib; |
|
124 |
String pathInProject = "src\\test\\resources\\h2"; |
|
125 |
|
|
126 |
String path = pathToProject + pathInProject; |
|
124 | 127 |
ICdmDataSource dataSource = CdmDataSource.NewH2EmbeddedInstance("cdmTest", "sa", "", path, NomenclaturalCode.ICNAFP); |
125 | 128 |
|
126 | 129 |
|
Also available in: Unified diff