Hovav - 2012-12-27

I'm using ant-contrib for-loop to execute java tasks on a list of values, for that I added a task of my own that extends the "net.sf.antcontrib.logic.ForTask" class.
1. I want to have the ability to break the for loop from the java task execution, does there any way to do so?
2. I also want to add "while" and "do-while" loops, is there any way to do it?
3. is there a way to change the for-loop list during execution or to change the current iteration item in the list? (it might resolve both break and while issues even if there are no such solutions available…)

thanks for your help!