program dependences from ant deploy script

Is there a programmatic possibility to get a list of dependent programs/objects?

We want to use natone with git for development, but we want to keep our old deploy system. We can get the changed objects from git - but i don´t know a way to find out which program/objects are dependants from the changed programs. I need the complete list of Programs for the deploy.

We dont want to use the deploy script to bring the programs into the production system.
I´ve seen in the naturalone.natural.ant.jar that there are some Classes which would help - but i don´t know how to use them.

Can someone help me here.