← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1806: Added sample hibernate.properties

 

------------------------------------------------------------
revno: 1806
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: trunk
timestamp: Fri 2010-04-23 15:11:55 +0200
message:
  Added sample hibernate.properties
added:
  dhis-live/util/div/
  dhis-live/util/div/hibernate.properties
modified:
  dhis-2/dhis-web/dhis-web-commons/src/main/resources/i18n_global_vi_VN.properties
  dhis-live/readme.txt


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-commons/src/main/resources/i18n_global_vi_VN.properties'
--- dhis-2/dhis-web/dhis-web-commons/src/main/resources/i18n_global_vi_VN.properties	2010-04-01 09:31:33 +0000
+++ dhis-2/dhis-web/dhis-web-commons/src/main/resources/i18n_global_vi_VN.properties	2010-04-23 13:11:55 +0000
@@ -1,3 +1,4 @@
+
 #-- Date Formats --------------------------------------------------------------#
 
 format.date 					= dd-MM-yyyy

=== modified file 'dhis-live/readme.txt'
--- dhis-live/readme.txt	2010-03-09 14:43:41 +0000
+++ dhis-live/readme.txt	2010-04-23 13:11:55 +0000
@@ -1,12 +1,10 @@
-Warning: this readme has been superceded by work on the new automated installer 
 
-This  is a  first attempt  at  building a  lite version  of dhis.   It
-creates an  executable jar which  contains jetty server classes  and a
+Creates an  executable jar which  contains jetty server classes  and a
 simple tray icon controller. 
 
-mvn assembly:assembly
+mvn package
 
-to build the jar.  
+to build the jar and the exe file.  
 
 On Ubuntu (and other gnome-ish environments).  The java systemtray
 is not supported on fancy 3d enhanced window managers.  To work on
@@ -16,12 +14,11 @@
 
 to get back to a vanilla WM.
 
-The application no longer depends on DHIS2_HOME being set. Rather the application
-looks for a dhis2.home system property that is being set by the lite jar.
+The application looks for a dhis2.home system property that is being set by the Live jar.
 
 The expected structure looks like this:
 
-/ dhis2-lite.jar
+/ dhis2-live.jar
 / startup.bat (optional)
 / conf /
 / conf / hibernate.properties
@@ -29,7 +26,7 @@
 / log /
 / webapps /
 / webapps / dhis
-/ webapps / birt
+/ webapps / birt (optional)
 
 After that you are away.  The application will install an icon in your
 system tray or equivalent).  The icons are currently crap but they can
@@ -61,3 +58,4 @@
 click on the tray icon
 postgres and h2, though the latter (and JavaDB) is targeted.
 2.  make richer configuration of jetty through web.xml or similar
+

=== added directory 'dhis-live/util/div'
=== added file 'dhis-live/util/div/hibernate.properties'
--- dhis-live/util/div/hibernate.properties	1970-01-01 00:00:00 +0000
+++ dhis-live/util/div/hibernate.properties	2010-04-23 13:11:55 +0000
@@ -0,0 +1,6 @@
+hibernate.dialect = org.hisp.dhis.dialect.H2Dialect
+hibernate.connection.driver_class = org.h2.Driver
+hibernate.connection.url = jdbc:h2:./database/dhis2;AUTO_SERVER=TRUE
+hibernate.connection.username = sa
+hibernate.connection.password =
+hibernate.hbm2ddl.auto = update