[jira] [Created] (OFBIZ-9414) Adds 30 sec sleep after "ofbizBackground --shutdown" to allow time for OFBiz to stop

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-9414) Adds 30 sec sleep after "ofbizBackground --shutdown" to allow time for OFBiz to stop

Nicolas Malin (Jira)
Jacques Le Roux created OFBIZ-9414:
--------------------------------------

             Summary: Adds 30 sec sleep after "ofbizBackground --shutdown" to allow time for OFBiz to stop
                 Key: OFBIZ-9414
                 URL: https://issues.apache.org/jira/browse/OFBIZ-9414
             Project: OFBiz
          Issue Type: Improvement
          Components: Demo
    Affects Versions: Trunk
            Reporter: Jacques Le Roux
            Assignee: Jacques Le Roux
            Priority: Minor


For a moment, I was wondering why
bq. ./gradlew "ofbizBackground --shutdown"
did not work with demos

While fixing trunk-manual.sh on the VM (forgot to change for loadAll) I then realized that it could be because you can't chain another Gradle task just after "ofbizBackground --shutdown".

So I added a 30 sec sleep to trunk-manual-only.sh and it worked manually. I have now chained trunk-manual-only.sh in all-manual.sh (indirectly called by cron) and if it works tonight I will replace trunk-manual.sh content by trunk-manual-only.sh content and remove trunk-manual-only.sh




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)