Spring ROO database reverse engineering with renamed context file
My requirement is quite simple. I recently created a jsf-primefaces-spring-roo-eclipselink multi module archetype and distributed it across my team here. With Spring ROO enabled, it makes our life easier to do all database reverse engineering and all is happy and well. When I created the archetype, I used an applicationContext.xml file in the model tier to do ROO DB reverse engineering. I then tried to change the name of the context file to applicationContext-model.xml because I used another context in the web tier. Now after renaming this context file, when I do a 'database reverse engineer --schema ', I get 'unable-to-obtain-connection' when I tab for autocomplete in the roo shell. Also when I enter my schema name manually after --schema, I get this error: File 'C:\TestWorkspace\TT\TT-model\src\main\resources\META-INF\spring\applicationContext.xml' does not exist Obviously ROO doesn't seem so happy with the context file rename. May I know how I could tell ROO to take the new context file name to do the database reverse engineering? Thanks for your help. Regards Basith
Since Roo wants a context file in the path 'src\main\resources\META-INF\spring\applicationContext.xml', I usually change the name of the other context files if I need to avoid collisions. For instance, try to rename the application context file that you have in the web tier.
File name too long on docker
Cannot (apt-get) install packages inside docker
Maven install-plugin does not use versions-plugin updated version
Maven XTEXT 2.10 external Lexer
Why is the forEach tag not working with Tomcat but all is fine with Jetty?
Could not resolve dependencies for project com.packtpub.rest-with-spring:rest-with-spring-all:war:
How to configure Jenkins when using Cucumber and Testlink?
Maven, Ant (or Apache Thrift) times out during make. Where to place proxy settings?
How to set default values for missing environment variables in maven pom
failed to get report for ru.yandex.qatools.allure:allure-maven-plugin: Unable to load the mojo 'aggregate'
Is it possible to create a Maven archetype just for some packages?
Building/Packaging SOA using maven in Jenkins
Why are my webResources not packaged if I run mvn clean install?
Spring Boot Maven Plugin - Define working directory
Detach application from gitlab runner
Maven add my own information during build to MANIFEST.MF file