It sounds like the the ANT_HOME environment variable isn't defined for the Visual Build process. Run Visual Build (start visbuildpro) from the Command Prompt where ANT_HOME is defined so that it inherits its process block. If that doesn't help, send the info from
http://kinook.com/Forum/showthread.php?t=3044