Project

General

Profile

Revision 542732a4

ID542732a49122c98e0ee5e8fbe091a8e7e4246c8b
Parent 7abafd61
Child 685583c7, c4db95cb

Added by Andreas Müller over 4 years ago

Model Updater for other H2 test databases

View differences:

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

Add picture from clipboard (Maximum size: 40 MB)