步骤一,
创建带build.xml等文件的工程 http://marshal.easymorse.com/archives/1665
步骤二,写build.xml等文件
http://handsomeliuyang.iteye.com/blog/1156070
http://blog.csdn.net/zuolongsnail/article/details/6444361
此步骤可能出现编码问题:http://www.cnblogs.com/keheng/archive/2012/05/21/2511593.html