Recent Changes - Search:

CONGO

PmWiki

edit SideBar

V2 /

CONGOWithWebrunner

It's possible to use CONGO with the JSimone? webrunner plugin. This allows for a very fast startup and locally instantiated application.

  • Follow the steps for a Maven checkout and build
  • Instead of using the mvn command line for invoking Jetty, use the webrunner tool to invoke a tomcat container:
    • java -jar target/dependency/webapp-runner.jar target/*.war
  • This allows for easy parameter passing to setting any of the variables that would normally be int he congo.properties file:
    • java -Dpropertiesfile=something -Denvironment=testing -Dcongo.jdbcurl=jdbc:mysql://localhost/yoinksandaway -jar target/dependency/webapp-runner.jar target/*.war
Edit - History - Print - Recent Changes - Search
Page last modified on December 26, 2014, at 05:53 PM