>> Really sure? Or is this invoked one _after_ the other?
>
>Pretty sure that is how apply-parallel works.  The snippet 
>below is !parallel... :)

mmh .... :)
Ok, something to lern more ...

I think Ant will create a new process for each.
  5 arguments + parallel=true:  5 processes running parallel
  5 arguments + parallel=false
    create process
    start process
    wait for process
    create 2nd process
    ...
    wait for 5th process


Jan


    ExecuteOn.runParallel(...) {
        ...
        while (stillToDo > 0) {
                String[] command = getCommandline(cs, cb);
                exe.setCommandline(command);
                ...
                runExecute(exe);
                stillToDo -= currentAmount;
        }         
    }


    ExecTask.runExecute(Execute exe) {
        if (!spawn) {
            returnCode = exe.execute();
        } else {
            exe.spawn();
        }
    }    


    Execute.execute() {
        final Process process = launch(...);
        ...
        waitFor(process);  // process.waitFor();
        ...
    }


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to