用eclipse 的ant 窗口编译的时候 出现 can't find ant file to run 怎么处理

用eclipse 的ant 窗口编译的时候 出现 cant find ant file to run 怎么办?如题[解决办法]没有main[解决办

用eclipse 的ant 窗口编译的时候 出现 can't find ant file to run 怎么办?
如题

[解决办法]
没有main
[解决办法]
build.xml有问题?