split up modifications of reverted commit

Here is that commit split up a bit
Mostly it's just a task I wrote in conjunction with the handy <taskdef-dependency> macrodef.  So it's just ant.  Well, it's all just ant really, so I guess that's not defining much.  :)  Adding the task jar (debrepo) and a "normal" taskdef should be enough to have it work without the handy macrodef.