dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #05357
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 1756: Adding missing Linux build script for the installer
------------------------------------------------------------
revno: 1756
committer: Jason P. Pickering <jason.p.pickering@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2010-04-09 10:05:41 +0200
message:
Adding missing Linux build script for the installer
added:
dhis2-live-installer/build.sh
modified:
dhis2-live-installer/pom.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/build.sh'
--- dhis2-live-installer/build.sh 1970-01-01 00:00:00 +0000
+++ dhis2-live-installer/build.sh 2010-04-09 08:05:41 +0000
@@ -0,0 +1,25 @@
+#/bin/sh
+export JAVA_HOME=/usr/local/java/jdk1.6.0_18/
+export PATH=$PATH:/home/wheel/apache-maven-2.2.1/bin/
+export BITROCK_HOME=/home/wheel/installbuilder-6.2.7/
+export BIRT_WAR="/usr/local/apache-tomcat-6.0.18/webapps/"
+export DHIS2_DOCS="/home/wheel/workspace/dhis2-docbook-docs/"
+export DHIS2_SRC="/home/wheel/workspace/dhis2/"
+export MAVEN_OPTS="-Xms256m -Xmx512m"
+
+
+echo "Building DHIS 2 Core..."
+cd $DHIS2_SRC/dhis-2
+mvn clean install -Dtest=skip -DfailIfNoTests=false
+echo "Building DHIS 2 Web..."
+cd $DHIS2_SRC/dhis-2/dhis-web
+mvn clean install -Dtest=skip -DfailIfNoTests=false
+echo "Builidng DHIS2 Live Package"
+cd $DHIS2_SRC/dhis-live/
+mvn clean package -Dtest=skip -DfailIfNoTests=false
+echo "Building documentation"
+cd $DHIS2_DOCS
+mvn package
+echo "Building installer"
+cd $DHIS2_SRC/dhis2-live-installer
+mvn exec:exec
=== modified file 'dhis2-live-installer/pom.xml'
--- dhis2-live-installer/pom.xml 2010-03-02 06:52:28 +0000
+++ dhis2-live-installer/pom.xml 2010-04-09 08:05:41 +0000
@@ -24,7 +24,7 @@
<executable>${env.BITROCK_HOME}/bin/builder</executable>
<arguments>
<argument>build</argument>
- <argument>${basedir}/src/bitrock/DHIS2_lite.xml</argument>
+ <argument>${basedir}/src/bitrock/DHIS2.xml</argument>
<argument>windows</argument>
</arguments>
</configuration>