Wiki
Clone wikiCreedo / Using Maven
Creedo relies on a Maven installation for a number of central tasks. Maven is a tool, that greatly simplifies several compilation or deployment related tasks. Make sure you have Maven installed on your machine. You can download the latest version from here.
Compilation
In order to automatically download all needed dependencies of Creedo and compile the project, go into the Creedo directory and run
#!shell mvn clean install
Generate IDE project configuration files
For Eclipse run
#!shell mvn eclipse:eclipse
For IntelliJ IDEA
#!shell mvn idea:idea
Note that in either IDE, you still have to manually configure the runtime environment, meaning to configure a Tomcat in your IDE (if not already done) and create a runtime configuration for deploying to this Tomcat.
Deploy on own Tomcat
If you want to deploy Creedo to an existing Tomcat, simply execute
#!shell mvn package
#!xml <Context> <Environment name="application.config.file" value="/path/to/your/application.properties" type="java.lang.String"/> </Context>
In Ubuntu it is
#!shell /var/lib/tomcat7/conf/Catalina/localhost
In Windows go to your Tomcat directory and the go to
#!shell your-Tomcat-directory/work/Catalina/localhost
Then deploy the war file (by copying it to the webapps directory or using Tomcat's web interface).
Start Creedo on local Tomcat
Probably the easiest way to start Creedo is simply by letting Maven handle the Tomcat startup.
#!shell mvn -Dapplication.config.file=/path/to/your/application.properties tomcat7:run
Updated