Actions
feature request #9023
closedoption to start cdm webapp with hibernate.hbm2ddl.auto = create
Status:
Closed
Priority:
Highest
Assignee:
Category:
cdmlib-remote
Target version:
Start date:
Due date:
% Done:
100%
Estimated time:
Severity:
normal
Description
in compliance with the existing start parameter cdm.forceSchemaUpdate
which can be set as system parameter or ServletContext attribute the new option may be named cdm.forceSchemaCreate
UPDATE:
The new integration test profile can be run by
mvn integration-test -pl cdmlib-remote-webapp -Pdb-create
Updated by Andreas Kohlbecker over 3 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 50
Applied in changeset cdmlib|5666c59e03073f5bbc982cb681203fb4ba177946.
Updated by Andreas Kohlbecker over 3 years ago
- Description updated (diff)
- Status changed from Resolved to Closed
- % Done changed from 50 to 100
Updated by Andreas Kohlbecker over 3 years ago
- Status changed from Closed to Resolved
- % Done changed from 100 to 50
Updated by Andreas Kohlbecker over 3 years ago
running the integration tests from the parent project casues probelms:
mvn integration-test -pl cdmlib-remote-webapp -Pdb-create
Caused by: java.io.FileNotFoundException: class path resource [eu/etaxonomy/cdm/remote.xml] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream (ClassPathResource.java:172) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions (XmlBeanDefinitionReader.java:330) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions (XmlBeanDefinitionReader.java:304) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions (AbstractBeanDefinitionReader.java:181) at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions (AbstractBeanDefinitionReader.java:217) at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource (DefaultBeanDefinitionDocumentReader.java:223)
Updated by Andreas Kohlbecker over 3 years ago
prior running
mvn package -DskipTests
is needed
Updated by Andreas Kohlbecker over 3 years ago
- Status changed from Resolved to Closed
- % Done changed from 50 to 100
this works now as expected
Actions