=== modified file 'dhis2-live-installer/build.sh' --- dhis2-live-installer/build.sh 2010-04-09 08:05:41 +0000 +++ dhis2-live-installer/build.sh 2010-04-09 14:28:39 +0000 @@ -22,4 +22,4 @@ mvn package echo "Building installer" cd $DHIS2_SRC/dhis2-live-installer -mvn exec:exec +mvn package === modified file 'dhis2-live-installer/pom.xml' --- dhis2-live-installer/pom.xml 2010-04-09 11:59:31 +0000 +++ dhis2-live-installer/pom.xml 2010-04-09 14:28:39 +0000 @@ -15,19 +15,36 @@ 1.1 - + DHIS2 Windows Lite + package + + ${env.BITROCK_HOME}/bin/builder + + build + ${basedir}/src/bitrock/DHIS2_lite.xml + windows + + + exec + + DHIS2 Windows Demo + package + + ${env.BITROCK_HOME}/bin/builder + + build + ${basedir}/src/bitrock/DHIS2_demo_birt.xml + windows + + + + exec + + - - ${env.BITROCK_HOME}/bin/builder - - build - ${basedir}/src/bitrock/DHIS2_lite.xml - windows - - === modified file 'dhis2-live-installer/src/bitrock/DHIS2.xml' --- dhis2-live-installer/src/bitrock/DHIS2.xml 2010-04-09 11:59:31 +0000 +++ dhis2-live-installer/src/bitrock/DHIS2.xml 2010-04-09 14:28:39 +0000 @@ -14,8 +14,16 @@ ${env(DHIS2_SRC)}/dhis-2/dhis-web/dhis-web-portal/target/dhis.war + 0 + BIRT was not detected. Skipping. ${build_project_directory}/temp ${env(BIRT_WAR)}/birt.war + + + installbirt + FALSE + + ${build_project_directory}/temp/dhis2-live.jar @@ -307,6 +315,14 @@ 0 40 + + installbirt + + + + TRUE + radiobuttons + === added file 'dhis2-live-installer/src/bitrock/DHIS2_demo_birt.xml' --- dhis2-live-installer/src/bitrock/DHIS2_demo_birt.xml 1970-01-01 00:00:00 +0000 +++ dhis2-live-installer/src/bitrock/DHIS2_demo_birt.xml 2010-04-09 14:28:39 +0000 @@ -0,0 +1,333 @@ + + DHIS2 + DHIS2 + 2.0.4 + ${product_shortname}-${product_version}-${platform_name}-demo-installer.${platform_exec_suffix} + ../../resources/files/Readme.txt + ../../resources/files/Licence.txt + ../../resources/images/dhis2-logo-rotated.png + ../../resources/images/dhis2-logo.png + ../../resources/images/dhis2-logo.png + + + ${build_project_directory}/temp/ + ${env(DHIS2_SRC)}/dhis-2/dhis-web/dhis-web-portal/target/dhis.war + + + 0 + BIRT was not detected. Skipping. + ${build_project_directory}/temp + ${env(BIRT_WAR)}/birt.war + + + installbirt + FALSE + + + + + ${build_project_directory}/temp/dhis2-live.jar + ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live-jar-with-dependencies.jar + + + ${build_project_directory}/temp/dhis2-live.exe + ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live.exe + + + ${build_project_directory}/temp/ + ${env(DHIS2_DOCS)}//target/site/en/pdf/dhis2_user_manual_en.pdf + + + + + Sorry. You must have a valide JRE installed on your machine. Download and install the latest version of Java for your machine and try to install DHIS2 again. The installer will now exit. + 0 + + + You will now be directed to the download site. Please install Java and rerun the DHIS2 installer. + http://www.java.com/en/download/manual.jsp + + + + + + 1.6.0_18 + 0 + + + + + + + + ${installdir}/database + Creating database directory. + + + ${installdir}/log + + + ${installdir}/webapps + + + 1 + lzma + 1 + 1 + highestAvailable + 1 + DHIS2 + + + dhis2live + DHIS2 Live + 0 + 1 + 1 + + + Program Files + ${installdir} + programfiles + all + + + ../../resources/conf + + + temp/dhis2-live.jar + + + + + Uninstall + ${installdir}/${uninstallerName} + + Uninstall ${product_fullname} + ${installdir} + all + 0 + ${installdir}/${uninstallerName}.exe + + + ${installdir} + + + + + Program Files + ${installdir} + programfileslinux + linux + + + ../../resources/scripts/linux/startup.sh + + + + + Program Files + ${installdir} + programfileswindows + windows + + + temp/dhis2-live.exe + + + + + Program Files + ${installdir} + programfilesosx + osx + + + + + Uninstall ${product_fullname} + Uninstall ${product_fullname} + 0 + ${installdir}/${uninstallerName}.exe + + + ${installdir}/ + + + Start DHIS2 + Start DHIS2 + 0 + ${installdir}/dhis2-live.exe + + + + + + DHIS2 Docs + ${installdir}/docs/dhis2_user_manual_en.pdf + DHIS2 Documentation + 0 + + + + + + birt + Birt Reporting Framework + 1 + The Birt Reporting Framework. Install this compoenent if you plan to use BIRT reports. + 0 + 1 + + + birt + ${installdir}/webapps/birt + birt + all + + + temp/birt.war + + + + + + + ${installdir}/webapps/birt/ + Unpacking BIRT + Unpacking BIRT + ${installdir}/webapps/birt/birt.war + + + Cleaning up BIRT. + ${installdir}/webapps/birt/birt.war + Cleaning up BIRT. + + + + + demodb + Demo database + 1 + 0 + 1 + + + demodb + ${installdir}/database + demodb + all + + + ../../resources/demodb/database.h2.db + + + ../../resources/demodb/database.trace.db + + + ../../resources/demodb/dhis2.12.log.db + + + ../../resources/demodb/dhis2.data.db + + + ../../resources/demodb/dhis2.index.db + + + ../../resources/demodb/dhis2.trace.db + + + + + + + dhis2core + DHIS2 Core + 0 + 1 + 1 + + + dhiscore + ${installdir}/webapps/dhis + dhiscore + all + + + temp/dhis.war + + + + + + + ${installdir}/webapps/dhis/ + Unzipping DHIS2 core. + Unzipping DHIS2 core. + ${installdir}/webapps/dhis/dhis.war + + + Cleaning up DHIS2 war file. + ${installdir}/webapps/dhis/dhis.war + Cleaning up DHIS2 war file + + + + + dhis2docs + DHIS2 Docs + 1 + 1 + 1 + + + docs + ${installdir}/docs + docs + all + + + temp/dhis2_user_manual_en.pdf + + + + + + + + + ${installdir}\dhis2-live.exe + + Do you want to launch ${product_fullname} now? + + + + + installdir + Installer.Parameter.installdir.description + Installer.Parameter.installdir.explanation + + ${platform_install_prefix}/${product_shortname}-${product_version} + 0 + yes + prefix + yes + 0 + 40 + + + installbirt + + + + TRUE + radiobuttons + + + + + windows + + + + === modified file 'dhis2-live-installer/src/bitrock/DHIS2_lite.xml' --- dhis2-live-installer/src/bitrock/DHIS2_lite.xml 2010-04-09 11:59:31 +0000 +++ dhis2-live-installer/src/bitrock/DHIS2_lite.xml 2010-04-09 14:28:39 +0000 @@ -2,7 +2,7 @@ DHIS2 DHIS2 2.0.4 - ${product_shortname}-${product_version}-${platform_name}--lite-installer.${platform_exec_suffix} + ${product_shortname}-${product_version}-${platform_name}-lite-installer.${platform_exec_suffix} ../../resources/files/Readme.txt ../../resources/files/Licence.txt ../../resources/images/dhis2-logo-rotated.png @@ -10,16 +10,20 @@ ../../resources/images/dhis2-logo.png + ${build_project_directory}/temp/ + ${env(DHIS2_SRC)}/dhis-2/dhis-web/dhis-web-portal/target/dhis.war + + ${build_project_directory}/temp/dhis2-live.jar ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live-jar-with-dependencies.jar - ${build_project_directory}/temp/dhis-live.exe + ${build_project_directory}/temp/dhis2-live.exe ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live.exe ${build_project_directory}/temp/ - ${env(DHIS2_DOCS)}/target/site/en/pdf/dhis2_user_manual_en.pdf + ${env(DHIS2_DOCS)}//target/site/en/pdf/dhis2_user_manual_en.pdf === added file 'dhis2-live-installer/src/bitrock/DHIS2_pg.xml' --- dhis2-live-installer/src/bitrock/DHIS2_pg.xml 1970-01-01 00:00:00 +0000 +++ dhis2-live-installer/src/bitrock/DHIS2_pg.xml 2010-04-09 14:28:39 +0000 @@ -0,0 +1,419 @@ + + DHIS2 + DHIS2 + 2.0.3 + ${product_shortname}-${product_version}-${platform_name}--lite-installer.${platform_exec_suffix} + ../../resources/files/Readme.txt + ../../resources/files/Licence.txt + ../../resources/images/dhis2-logo-rotated.png + ../../resources/images/dhis2-logo.png + ../../resources/images/dhis2-logo.png + + + 0 + BIRT was not detected. Skipping. + ${build_project_directory}/temp + ${env(BIRT_WAR)}/birt.war + + + installbirt + FALSE + + + + + 1 + {$build_project_directory}/temp/birt.war + + + + + ${build_project_directory}/temp/dhis2-live.jar + ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live-jar-with-dependencies.jar + + + 1 + {$build_project_directory}/temp/dhis2-live.jar + + + + + ${build_project_directory}/temp/dhis2-live.exe + ${env(DHIS2_SRC)}/dhis-live/target/dhis2-live.exe + + + 1 + {$project_build_directory}/temp/dhis2-live.exe + + + + + ${build_project_directory}/temp/ + ${env(DHIS2_DOCS)}/target/site/en/pdf/dhis2_user_manual_en.pdf + + + 1 + {$build_project_directory}/temp/dhis2_user_manual.pdf + + + + + + + Sorry. You must have a valide JRE installed on your machine. Download and install the latest version of Java for your machine and try to install DHIS2 again. The installer will now exit. + 0 + + + You will now be directed to the download site. Please install Java and rerun the DHIS2 installer. + http://www.java.com/en/download/manual.jsp + + + + + + 1.6.0_14 + 0 + + + + + + + + ${installdir}/log + + + ${installdir}/webapps + + + 1 + lzma + 1 + 1 + highestAvailable + 1 + DHIS2 + + + dhis2live + DHIS2 Live + 0 + 1 + 1 + + + Program Files + ${installdir} + programfiles + all + + + ../../resources/conf + + + temp/dhis2-live.jar + + + + + Uninstall + ${installdir}/${uninstallerName} + + Uninstall ${product_fullname} + ${installdir} + all + 0 + ${installdir}/${uninstallerName}.exe + + + ${installdir} + + + + + Program Files + ${installdir} + programfileslinux + linux + + + ../../resources/scripts/linux/startup.sh + + + + + Program Files + ${installdir} + programfileswindows + windows + + + temp/dhis2-live.exe + + + + + Program Files + ${installdir} + programfilesosx + osx + + + + + Uninstall ${product_fullname} + Uninstall ${product_fullname} + 0 + ${installdir}/${uninstallerName}.exe + + + ${installdir}/ + + + Start DHIS2 + Start DHIS2 + 0 + ${installdir}/dhis2-live.exe + + + + + + DHIS2 Docs + ${installdir}/docs/dhis2_user_manual_en.pdf + DHIS2 Documentation + 0 + + + + + + dhis2core + DHIS2 Core + 0 + 1 + 1 + + + dhiscore + ${installdir}/webapps/dhis + dhiscore + all + + + temp/dhis.war + + + + + + + ${installdir}/webapps/dhis/ + Unzipping DHIS2 core. + Unzipping DHIS2 core. + ${installdir}/webapps/dhis/dhis.war + + + Cleaning up DHIS2 war file. + ${installdir}/webapps/dhis/dhis.war + Cleaning up DHIS2 war file + + + + + dhis2docs + DHIS2 Docs + 1 + 1 + 1 + + + docs + ${installdir}/docs + docs + all + + + temp/dhis2_user_manual_en.pdf + + + + + + + embeddedjre + Java Runtime Enviornment + 0 + 1 + 1 + + + jre + ${installdir}/ + jre + windows + + + temp/jre6 + + + + + + + postgres + Postgresql Database + 1 + 0 + 0 + + + postgres + ${installdir}/temp/postgres + postgres + windows + + + temp/postgresql-8.4.2-1-windows.exe + + + ../../resources/scripts/win32/generate_user.bat + + + + + + + ${installdir}/temp/postgres/generate_user.bat + + + + ${installdir}/temp/postgres/postgresql-8.4.2-1-windows.exe + --mode unattended --port 5433 --serviceaccount pg_dhis2 --servicepassword postgres + + + + + yes + Do you want to uninstall the Postgresql server? + pg_uninstall + + + ${installdir}/postgres/uninstall-postgres.exe + + + + equals + pg_uninstall + yes + + + + + + + birt + BIRT Reporting Framework + 1 + 0 + 1 + + + birt_dest + ${installdir}/webapps/birt/ + birt_dest + all + + + temp/birt.war + + + + + + + ${installdir}/webapps/birt/ + Unzipping BIRT. + Unzipping BIRT. + ${installdir}/webapps/birt/birt.war + + + Cleaning up BIRT. + ${installdir}/webapps/birt/birt.war + Cleaning up BIRT. + + + + + h2 + H2 Database Framework + 1 + 0 + 0 + + + ${installdir}/database + + + + + + + ${installdir}\dhis2-live.exe + + Do you want to launch ${product_fullname} now? + + + + + installdir + Installer.Parameter.installdir.description + Installer.Parameter.installdir.explanation + + ${platform_install_prefix}/${product_shortname}-${product_version} + 0 + yes + prefix + yes + 0 + 40 + + + database + Please select a database system. + Please select a database system. + + database + postgres + 0 + combobox + 40 + + + + + + + + + + + + + + + windows + + + + === added directory 'dhis2-live-installer/src/bitrock/temp'