ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacques Le Roux <jacques.le.r...@les7arts.com>
Subject Re: svn commit: r1798912 - /ofbiz/tools/demo-backup/trunk-manual-only.sh
Date Sun, 18 Jun 2017 16:31:27 GMT
Worked perfectly this night, thanks Taher!

For those interested see OFBIZ-9414

Was quite simple finally, and in most case terminateOfbiz should not be used. After all it's
only a kill -9 (with its drawbacks)!

Jacques


Le 16/06/2017 à 15:49, Jacques Le Roux a écrit :
> Ah, I thought that you had to shutdown with ofbizBackground when you started with ofbizBackground
>
> It's indeed simpler, I'll try that then, after having tried with sleep this night to
be sure of the 2 scenarios
>
> Thanks
>
> Jacques
>
>
> Le 16/06/2017 à 13:53, Taher Alkhateeb a écrit :
>> Why would you add 30 sec sleep!
>>
>> The right way to do this is to change the command as follows:
>>
>> ./gradlew "ofbiz --shutdown"
>>
>> In other words, don't send the shutdown command to the background.
>>
>> On Jun 16, 2017 2:34 PM, <jleroux@apache.org> wrote:
>>
>> Author: jleroux
>> Date: Fri Jun 16 11:34:38 2017
>> New Revision: 1798912
>>
>> URL: http://svn.apache.org/viewvc?rev=1798912&view=rev
>> Log:
>> Improved: Adds 30 sec sleep after "--shutdown" to allow time
>> for OFBiz to stop
>> (OFBIZ-9414)
>>
>> No functional change, this is only for demos. OFBIZ-9414 is a WIP,
>> to be checked tmrw
>>
>>
>>
>> Modified:
>>      ofbiz/tools/demo-backup/trunk-manual-only.sh
>>
>> Modified: ofbiz/tools/demo-backup/trunk-manual-only.sh
>> URL: http://svn.apache.org/viewvc/ofbiz/tools/demo-backup/trunk-
>> manual-only.sh?rev=1798912&r1=1798911&r2=1798912&view=diff
>> ============================================================
>> ==================
>> --- ofbiz/tools/demo-backup/trunk-manual-only.sh (original)
>> +++ ofbiz/tools/demo-backup/trunk-manual-only.sh Fri Jun 16 11:34:38 2017
>> @@ -4,6 +4,7 @@ cd /home/ofbizDemo/trunk
>>   svn up
>>   ./gradlew pullAllPluginsSource
>>   ./gradlew "ofbizBackground --shutdown"
>> +sleep 30
>>   ./gradlew cleanAll
>>   ./gradlew loadAll
>>   ./gradlew svnInfoFooter
>>
>
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message