title: Calling consecutive java tasks in a shell script
body: <p>This may be a rudimentary question but the answer was not readily available.</p>
  
  <p>I'd like to create a shell script that calls 3 tasks consecutively, but wait till the previous task is complete.</p>
  
  <p>Like so:</p>
  
  <p>a. call first Java program via ant
  b. call third party Java application 
  c. call third Java program via ant</p>
  
  <p>I'm wondering if there is a way to check and ensure a. is done before b. is called and same for b. and c. </p>
  
  <p>thanks</p>