2010-11-24 20:37:01 +01:00
# Compiling and Running
## Prerequisites
The following products must be installed:
2014-01-09 00:12:53 +01:00
* Java Development Kit 7 or higher (http://www.oracle.com/technetwork/java/javase/downloads/index.html)
2012-02-18 01:00:41 +01:00
* Maven 3.x or higher (http://maven.apache.org/)
2010-11-24 20:37:01 +01:00
## Compiling
2014-01-09 00:12:53 +01:00
WiseMapping uses Maven as packaging and project management. It's composed of 5 maven sub-modules:
2010-11-24 20:37:01 +01:00
* core-js: Utilities JavaScript libraries
* web2d: JavaScript 2D VML/SVG abstraction library used by the mind map editor
* mindplot: JavaScript mind map designer core
2012-02-18 01:00:41 +01:00
* wise-editor: Mindmap Editor standalone distribution
2010-11-24 20:37:01 +01:00
* wise-webapp: J2EE web application
2014-01-09 00:12:53 +01:00
The full compilation of the project can be performed executing within < project-dir > :
2010-11-24 20:37:01 +01:00
2012-02-18 01:00:41 +01:00
`mvn package`
2010-11-24 20:37:01 +01:00
2012-02-18 01:00:41 +01:00
Once this command is execute, the file < project-dir > /wise-webapp/target/wisemapping*.war will be generated.
2010-11-24 20:37:01 +01:00
## Testing
The previously generated war can be deployed locally executing within the directory < project-dir > /wise-webapp the following command:
2014-01-09 00:12:53 +01:00
`cd wise-webapp;mvn jetty:run-war`
2010-11-24 20:37:01 +01:00
This will start the application on the URL: http://localhost:8080/wise-webapp/. Additionally, a file based database is automatically populated with a test user.
User: test@wisemapping.org
2014-01-09 00:12:53 +01:00
Password: test
Enjoy :)