← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2046: Adding missing Bitrock config file for the embeddded JRE installer.

 

------------------------------------------------------------
revno: 2046
committer: Jason Pickering <jason@karolina-laptop>
branch nick: trunk
timestamp: Sat 2010-06-26 22:26:28 +0200
message:
  Adding missing Bitrock config file for the embeddded JRE installer.
added:
  dhis2-live-installer/src/bitrock/DHIS2_live_embedded.xml


--
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
=== added file 'dhis2-live-installer/src/bitrock/DHIS2_live_embedded.xml'
--- dhis2-live-installer/src/bitrock/DHIS2_live_embedded.xml	1970-01-01 00:00:00 +0000
+++ dhis2-live-installer/src/bitrock/DHIS2_live_embedded.xml	2010-06-26 20:26:28 +0000
@@ -0,0 +1,245 @@
+<project>
+    <shortName>DHIS2</shortName>
+    <fullName>DHIS2</fullName>
+    <version>2.0.4</version>
+    <installerFilename>${product_shortname}-${product_version}-${platform_name}-lite-JRE.${platform_exec_suffix}</installerFilename>
+    <readmeFile>../../resources/files/Readme.txt</readmeFile>
+    <licenseFile>../../resources/files/Licence.txt</licenseFile>
+    <leftImage>../../resources/images/dhis2-logo-rotated.png</leftImage>
+    <logoImage>../../resources/images/dhis2-logo.png</logoImage>
+    <splashImage>../../resources/images/dhis2-logo.png</splashImage>
+    <preBuildActionList>
+        <copyFile>
+            <destination>${build_project_directory}/temp/</destination>
+            <origin>${env(DHIS2_SRC)}/dhis-2/dhis-web/dhis-web-portal/target/dhis.war</origin>
+        </copyFile>
+        <copyFile>
+            <destination>${build_project_directory}/temp/dhis2-live.jar</destination>
+            <origin>${env(DHIS2_SRC)}/dhis-live/target/dhis2-live-jar-with-dependencies.jar</origin>
+        </copyFile>
+        <copyFile>
+            <destination>${build_project_directory}/temp/dhis2-live.exe</destination>
+            <origin>${env(DHIS2_SRC)}/dhis-live/target/dhis2-live-embedded.exe</origin>
+        </copyFile>
+        <copyFile>
+            <destination>${build_project_directory}/temp/</destination>
+            <origin>${env(DHIS2_DOCS)}/target/site/en/pdf/dhis2_user_manual_en.pdf</origin>
+        </copyFile>
+    </preBuildActionList>
+    <readyToInstallActionList>
+        <createDirectory>
+            <path>${installdir}/database</path>
+            <progressText>Creating database directory.</progressText>
+        </createDirectory>
+        <createDirectory>
+            <path>${installdir}/log</path>
+        </createDirectory>
+        <createDirectory>
+            <path>${installdir}/webapps</path>
+        </createDirectory>
+    </readyToInstallActionList>
+    <allowComponentSelection>1</allowComponentSelection>
+    <compressionAlgorithm>lzma</compressionAlgorithm>
+    <enableRollback>1</enableRollback>
+    <enableTimestamp>1</enableTimestamp>
+    <requestedExecutionLevel>highestAvailable</requestedExecutionLevel>
+    <saveRelativePaths>1</saveRelativePaths>
+    <vendor>DHIS2</vendor>
+    <componentList>
+        <component>
+            <name>dhis2live</name>
+            <description>DHIS2 Live</description>
+            <canBeEdited>0</canBeEdited>
+            <selected>1</selected>
+            <show>1</show>
+            <folderList>
+                <folder>
+                    <description>Program Files</description>
+                    <destination>${installdir}</destination>
+                    <name>programfiles</name>
+                    <platforms>all</platforms>
+                    <distributionFileList>
+                        <distributionDirectory>
+                            <origin>../../resources/conf</origin>
+                        </distributionDirectory>
+                        <distributionFile>
+                            <origin>temp/dhis2-live.jar</origin>
+                        </distributionFile>
+                    </distributionFileList>
+                    <shortcutList>
+                        <shortcut>
+                            <comment>Uninstall</comment>
+                            <exec>${installdir}/${uninstallerName}</exec>
+                            <icon></icon>
+                            <name>Uninstall ${product_fullname}</name>
+                            <path>${installdir}</path>
+                            <platforms>all</platforms>
+                            <runInTerminal>0</runInTerminal>
+                            <windowsExec>${installdir}/${uninstallerName}.exe</windowsExec>
+                            <windowsExecArgs></windowsExecArgs>
+                            <windowsIcon></windowsIcon>
+                            <windowsPath>${installdir}</windowsPath>
+                        </shortcut>
+                    </shortcutList>
+                </folder>
+                <folder>
+                    <description>Program Files</description>
+                    <destination>${installdir}</destination>
+                    <name>programfileslinux</name>
+                    <platforms>linux</platforms>
+                    <distributionFileList>
+                        <distributionFile>
+                            <origin>../../resources/scripts/linux/startup.sh</origin>
+                        </distributionFile>
+                    </distributionFileList>
+                </folder>
+                <folder>
+                    <description>Program Files</description>
+                    <destination>${installdir}</destination>
+                    <name>programfileswindows</name>
+                    <platforms>windows</platforms>
+                    <distributionFileList>
+                        <distributionFile>
+                            <origin>temp/dhis2-live.exe</origin>
+                        </distributionFile>
+                    </distributionFileList>
+                </folder>
+                <folder>
+                    <description>Program Files</description>
+                    <destination>${installdir}</destination>
+                    <name>programfilesosx</name>
+                    <platforms>osx</platforms>
+                </folder>
+            </folderList>
+            <startMenuShortcutList>
+                <startMenuShortcut>
+                    <comment>Uninstall ${product_fullname}</comment>
+                    <name>Uninstall ${product_fullname}</name>
+                    <runInTerminal>0</runInTerminal>
+                    <windowsExec>${installdir}/${uninstallerName}.exe</windowsExec>
+                    <windowsExecArgs></windowsExecArgs>
+                    <windowsIcon></windowsIcon>
+                    <windowsPath>${installdir}/</windowsPath>
+                </startMenuShortcut>
+                <startMenuShortcut>
+                    <comment>Start DHIS2</comment>
+                    <name>Start DHIS2</name>
+                    <runInTerminal>0</runInTerminal>
+                    <windowsExec>${installdir}/dhis2-live.exe</windowsExec>
+                    <windowsExecArgs></windowsExecArgs>
+                    <windowsIcon></windowsIcon>
+                    <windowsPath></windowsPath>
+                </startMenuShortcut>
+                <startMenuFileShortcut>
+                    <comment>DHIS2 Docs</comment>
+                    <filePath>${installdir}/docs/dhis2_user_manual_en.pdf</filePath>
+                    <name>DHIS2 Documentation</name>
+                    <runInTerminal>0</runInTerminal>
+                    <windowsIcon></windowsIcon>
+                </startMenuFileShortcut>
+            </startMenuShortcutList>
+        </component>
+        <component>
+            <name>dhis2core</name>
+            <description>DHIS2 Core</description>
+            <canBeEdited>0</canBeEdited>
+            <selected>1</selected>
+            <show>1</show>
+            <folderList>
+                <folder>
+                    <description>dhiscore</description>
+                    <destination>${installdir}/webapps/dhis</destination>
+                    <name>dhiscore</name>
+                    <platforms>all</platforms>
+                    <distributionFileList>
+                        <distributionFile>
+                            <origin>temp/dhis.war</origin>
+                        </distributionFile>
+                    </distributionFileList>
+                </folder>
+            </folderList>
+            <postInstallationActionList>
+                <unzip>
+                    <destinationDirectory>${installdir}/webapps/dhis/</destinationDirectory>
+                    <explanation>Unzipping DHIS2 core.</explanation>
+                    <progressText>Unzipping DHIS2 core.</progressText>
+                    <zipFile>${installdir}/webapps/dhis/dhis.war</zipFile>
+                </unzip>
+                <deleteFile>
+                    <explanation>Cleaning up DHIS2 war file.</explanation>
+                    <path>${installdir}/webapps/dhis/dhis.war</path>
+                    <progressText>Cleaning up DHIS2 war file</progressText>
+                </deleteFile>
+            </postInstallationActionList>
+        </component>
+        <component>
+            <name>dhis2docs</name>
+            <description>DHIS2 Docs</description>
+            <canBeEdited>1</canBeEdited>
+            <selected>1</selected>
+            <show>1</show>
+            <folderList>
+                <folder>
+                    <description>docs</description>
+                    <destination>${installdir}/docs</destination>
+                    <name>docs</name>
+                    <platforms>all</platforms>
+                    <distributionFileList>
+                        <distributionFile>
+                            <origin>temp/dhis2_user_manual_en.pdf</origin>
+                        </distributionFile>
+                    </distributionFileList>
+                </folder>
+            </folderList>
+        </component>
+        <component>
+            <name>jre</name>
+            <description>JRE</description>
+            <canBeEdited>0</canBeEdited>
+            <detailedDescription>Embedded JRE</detailedDescription>
+            <selected>1</selected>
+            <show>0</show>
+            <folderList>
+                <folder>
+                    <description>jre</description>
+                    <destination>${installdir}/</destination>
+                    <name>jre</name>
+                    <platforms>all</platforms>
+                    <distributionFileList>
+                        <distributionDirectory>
+                            <origin>../../resources/jre/jre6</origin>
+                        </distributionDirectory>
+                    </distributionFileList>
+                </folder>
+            </folderList>
+        </component>
+    </componentList>
+    <finalPageActionList>
+        <runProgram>
+            <program>${installdir}\dhis2-live.exe</program>
+            <programArguments></programArguments>
+            <progressText>Do you want to launch ${product_fullname} now?</progressText>
+        </runProgram>
+    </finalPageActionList>
+    <parameterList>
+        <directoryParameter>
+            <name>installdir</name>
+            <description>Installer.Parameter.installdir.description</description>
+            <explanation>Installer.Parameter.installdir.explanation</explanation>
+            <value></value>
+            <default>${platform_install_prefix}/${product_shortname}-${product_version}</default>
+            <allowEmptyValue>0</allowEmptyValue>
+            <ask>yes</ask>
+            <cliOptionName>prefix</cliOptionName>
+            <mustBeWritable>yes</mustBeWritable>
+            <mustExist>0</mustExist>
+            <width>40</width>
+        </directoryParameter>
+    </parameterList>
+    <platformOptionsList>
+        <platformOptions>
+            <platform>windows</platform>
+        </platformOptions>
+    </platformOptionsList>
+</project>
+