try to fix remote-webapp test
authorAndreas Müller <a.mueller@bgbm.org>
Thu, 17 Dec 2015 12:25:52 +0000 (13:25 +0100)
committerAndreas Müller <a.mueller@bgbm.org>
Thu, 17 Dec 2015 12:25:52 +0000 (13:25 +0100)
cdmlib-remote-webapp/src/test/resources/datasources.xml

index 5bcfca283110a06a4f4997b897db6688a8133c7f..8549f75174fe3dab393f31f26e1140c1a51ae08c 100644 (file)
@@ -1,39 +1,39 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<beans xmlns="http://www.springframework.org/schema/beans"\r
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-    xmlns:tx="http://www.springframework.org/schema/tx"\r
-    xmlns:context="http://www.springframework.org/schema/context"\r
-    xsi:schemaLocation="http://www.springframework.org/schema/beans   http://www.springframework.org/schema/beans/spring-beans-2.5.xsd\r
-    http://www.springframework.org/schema/context   http://www.springframework.org/schema/context/spring-context-2.5.xsd\r
-    http://www.springframework.org/schema/tx   http://www.springframework.org/schema/tx/spring-tx-2.5.xsd\r
-    ">\r
-\r
-    <!--\r
-      DataSourceProperties allow configuring specific properties of the datasources\r
-\r
-       * cdmlib-remote.xslBasePath:\r
-            alternative base path for REST services to retrieve XSL style sheets from.\r
-            the base path must be on the same domain since cross domain xsl loading is\r
-            not permitted\r
-      -->\r
-      <bean id="dataSourceProperties" class="eu.etaxonomy.cdm.remote.config.DataSourceProperties">\r
-        <property name="propsMap">\r
-          <map>\r
-            <!--\r
-            <entry key="dataSourceBeanID">\r
-                <props>\r
-                    <prop key="cdmlib-remote.xslBasePath">/xsl</prop>\r
-                </props>\r
-            </entry>\r
-             -->\r
-            </map>\r
-        </property>\r
-      </bean>\r
-\r
-    <bean id="h2_cdmTest"  lazy-init="true" class="com.mchange.v2.c3p0.ComboPooledDataSource">\r
-        <property name="driverClass" value="eu.etaxonomy.cdm.database.LocalH2"/>\r
-        <property name="user" value="sa" />\r
-        <property name="password" value="" />\r
-        <property name="jdbcUrl" value="jdbc:h2:file:${project.build.directory}/test-classes/h2/cdmTest"/>\r
-    </bean>\r
-</beans>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:tx="http://www.springframework.org/schema/tx"
+    xmlns:context="http://www.springframework.org/schema/context"
+    xsi:schemaLocation="http://www.springframework.org/schema/beans   http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+    http://www.springframework.org/schema/context   http://www.springframework.org/schema/context/spring-context-2.5.xsd
+    http://www.springframework.org/schema/tx   http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
+    ">
+
+    <!--
+      DataSourceProperties allow configuring specific properties of the datasources
+
+       * cdmlib-remote.xslBasePath:
+            alternative base path for REST services to retrieve XSL style sheets from.
+            the base path must be on the same domain since cross domain xsl loading is
+            not permitted
+      -->
+      <bean id="dataSourceProperties" class="eu.etaxonomy.cdm.remote.config.DataSourceProperties">
+        <property name="propsMap">
+          <map>
+            <!--
+            <entry key="dataSourceBeanID">
+                <props>
+                    <prop key="cdmlib-remote.xslBasePath">/xsl</prop>
+                </props>
+            </entry>
+             -->
+            </map>
+        </property>
+      </bean>
+
+    <bean id="h2_cdmTest"  lazy-init="true" class="com.mchange.v2.c3p0.ComboPooledDataSource">
+        <property name="driverClass" value="eu.etaxonomy.cdm.database.LocalH2"/>
+        <property name="user" value="sa" />
+        <property name="password" value="" />
+        <property name="jdbcUrl" value="jdbc:h2:file:${project.build.directory}/../test-classes/h2/cdmTest"/>
+    </bean>
+</beans>