Recursive call of antBuilder doesn't execute cvs command


(Andreas Schopper) #1

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


(René Groeschke) #2

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


(Andreas Schopper) #3

Hi Rene,

hier you can find my code:

https://gist.github.com/anonymous/185dac54c667a763e99f

Regards, Andreas