A fork of LibrePlan for users of this space.
Relocated dependencies in Maven central repository haven been updated (pom.xml files), style of inclusion of dependencies has been improved (pom.xml files), profile-based approach (root pom.xml) has been improved (bug fixed for supporting multiple databases, PostgreSQL has been set as the default database, and addition of HSQLDB), README.txt updated, and JavDoc for navalplanner-business code. |
||
|---|---|---|
| navalplanner-business | ||
| navalplanner-gantt-zk | ||
| navalplanner-webapp | ||
| src/main | ||
| .gitignore | ||
| pom.xml | ||
| README.txt | ||
* Database creation
-----------------
+ Current databases supported: PostgreSQL (default), MySQL, and
HQLDB (In-Process/Standalone Mode).
+ For PostgreSQL and MySQL:
- Create a database with name "navaldev" (for development).
- Create a database with name "navaldevtest" (for the test fase in
development).
- Create user "naval" with password "naval" with necessary privileges for
accessing (creating tables, selecting data from tables, etc.) the
previous databases.
* For HSQLDB. There is nothing to do.
* Compilation
-----------
+ Download Spring Framework 2.5.6.
+ mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta \
-Dversion=1.0.1B -Dpackaging=jar \
-Dfile=<<spring-framework-2.5.6>>/lib/j2ee/jta.jar
+ cd navalplanner
+ mvn install
+ cd navalplanner-webapp
+ mvn jetty:run
+ Access to http://localhost:8080/navalplanner-webapp.
+ To install the web application in a web container, use the WAR file:
navalplanner-webapp/target/navalplanner-webapp.war
+ NOTES:
- Use "-Pdev,mysql" with "mvn" command if using MySQL.
e.g. mvn -Pdev,mysql install
- Use "-Pdev,hsqldb" with "mvn" command if using HSQLDB.
e.g. mvn -Pdev,hsqldb install
* Profiles
--------
Check <profiles> section in the root pom.xml to see the profile-based approach
used in the project. The default profiles (the one assumed by the above
instructions) are "dev" and "postgresql" (meaning "use PostgreSQL assuming a
development environment").