This is what I do as well for testing. Mind you all this time I've been lazy to write a script - endless rounds of bash 'history | grep dhis' instead. Thanks.
BTW has anybody tried out the deb package builder yet? I haven't had any feedback. Its also a very quick way to take a build and deploy/undeploy onto tomcat in ubuntu. Bob. 2009/12/17 <[email protected]> > ------------------------------------------------------------ > revno: 1239 > committer: Lars Helge Oeverland <[email protected]> > branch nick: trunk > timestamp: Thu 2009-12-17 10:06:48 +0100 > message: > Added utility script which copies the dhis.war file from the portal, > updates the dhis-live package and starts it. Live and source code home > folder is configurable. > added: > dhis-live/util/script/live.sh > > > -- > lp:dhis2 > https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk<https://code.launchpad.net/%7Edhis2-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<https://code.launchpad.net/%7Edhis2-devs-core/dhis2/trunk/+edit-subscription> > . > > === added file 'dhis-live/util/script/live.sh' > --- dhis-live/util/script/live.sh 1970-01-01 00:00:00 +0000 > +++ dhis-live/util/script/live.sh 2009-12-17 09:06:48 +0000 > @@ -0,0 +1,10 @@ > +#!/bin/sh > + > +DHIS2_LIVE_HOME=~/development/dhis2-live > +DHIS2_SOURCE_HOME=~/development/src/dhis2 > + > +rm -rf ${DHIS2_LIVE_HOME}/webapps/dhis > +mkdir ${DHIS2_LIVE_HOME}/webapps/dhis > +unzip ${DHIS2_SOURCE_HOME}/dhis-2/dhis-web/dhis-web-portal/target/dhis.war > -d ${DHIS2_LIVE_HOME}/webapps/dhis > +java -jar ${DHIS2_LIVE_HOME}/dhis2-live.jar > + > > > _______________________________________________ > Mailing list: > https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs> > Post to : [email protected] > Unsubscribe : > https://launchpad.net/~dhis2-devs<https://launchpad.net/%7Edhis2-devs> > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

