Calling consecutive java tasks in a shell script

Posted by Bigtwinz on Stack Overflow See other posts from Stack Overflow or by Bigtwinz
Published on 2010-06-16T19:09:39Z Indexed on 2010/06/16 19:12 UTC
Read the original article Hit count: 189

Filed under:
|
|
|

Hi all,

This may be a rudimentary question but the answer was not readily available.

I'd like to create a shell script that calls 3 tasks consecutively, but wait till the previous task is complete.

Like so:

a. call first Java program via ant b. call third party Java application c. call third Java program via ant

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.

thanks

© Stack Overflow or respective owner

Related posts about java

Related posts about command-line