Dashboard > DHIS Documentation > Home > Documentation sandbox
  DHIS Documentation Log In | Sign Up   View a printable version of the current page.  
  Documentation sandbox
Added by Hans S. Tømmerholt, last edited by margrsto on Sep 23, 2006  (view change)
Labels: 
(None)

This page is for notes about the documentation. What do we need, experimental wording, stuff to remember, etc.

  • How to do logging in DHIS2? Which packages to use of commons-logging, commons-logging-api, log4j and other implementations.

This information must be included some where:

Enabling HSQLDB for unit-tests during the build

To avoid using your normal database for unit-testing during the build you can define another set of properties for hibernate:
Create a file called "hibernate-test.properties" in USER_HOME/dhis/.

Content of "hibernate-test.properties":

hibernate.dialect = org.hibernate.dialect.HSQLDialect
hibernate.connection.driver_class = org.hsqldb.jdbcDriver
hibernate.connection.url = jdbc:hsqldb:.
hibernate.connection.username = sa
hibernate.connection.password =

Starting a new project

When you have a new project that you want to add to the Subversion repository, follow these steps:

  • Clean your project
    $ mvn clean
    
  • Remove your IDE project files
    • Eclipse
      $ mvn eclipse:clean
      
    • IDEA
      $ mvn idea:clean
      
  • Add your project directory
    $ svn add <project-directory>
    
  • Set the svn:ignore property, see instructions below
  • Commit
    $ svn commit
    

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.6 Build:#812 Aug 06, 2007) - Bug/feature request - Contact Administrators