Recursive call of antBuilder doesn't execute cvs command

I’d like to write a task that checks my CVS workspace and adds new directories and files and commits everything. I implemented a recursive call of a groovy function that uses the antBuilder to add the new directories and files in each new directory layer. Unfortuatelly it dosn’t work. The ant.cvs() command is called vor every new directory but really added is only the first directory. When I replace the ant.cvs() command with

“cvs add $newDir”.execute()

sleep 200

it works.

Is there any explanation for that behaviour?

Regards, Andreas Schopper

Can you provide the task implementation of your cvs task that is not working?

Hi Rene,

hier you can find my code:

Regards, Andreas