A fork of LibrePlan for users of this space.
Find a file
2009-06-04 17:46:01 +02:00
navalplanner-business ItEr11S07HistoriaLaboralTraballadorItEr10S07: Refactorization of edition and creation of worker history entries 2009-06-03 13:55:22 +02:00
navalplanner-gantt-zk ItEr11S13ProbasModuloRecursos: A zk component cannot be dinamically inserted after a native one, so adding a workaround. 2009-06-04 17:46:01 +02:00
navalplanner-webapp ItEr11S12ArquitecturaClientesItEr09S11: Moving links support classes to their own package and renaming several classes. 2009-06-04 16:49:01 +02:00
src/main Initial commit 2009-04-23 11:07:44 +02:00
.gitignore Ignoring some files: eclipse configuration files, target directory, emacs backup files 2009-04-27 20:21:32 +02:00
pom.xml Instead of storing hsqldb files on temporal directory, it stores it on target directory. mvn clean would remove hsqldb files. 2009-06-01 15:42:56 +02:00
README.txt ItEr07S06ArquitecturaServidorItEr06S04: several typos have been fixed in README.txt and documentation about MySQL and HSQLDB haven been improved a little bit. 2009-05-05 13:17:32 +02:00

* Database creation
  -----------------

  + Current databases supported: PostgreSQL (default), MySQL, and 
    HSQLDB (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 FOR USING OTHER DATABASES:
  
    - MySQL:

      * Remember to start MySQL with "--default-table-type=InnoDB" option for
        enabling support for transactions.

      * Use "mvn -Pdev,mysql <<goal|fase>>"
        e.g. mvn -Pdev,mysql install
      
    - HSQLDB:

      * Use "mvn -Pdev,hsqldb <<goal|fase>>"
        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").