failed to create task or type if

Could not load definitions from resource net/sf/antcontrib/antcontrib.properties. It could not be found.

failed to create task or type if
解决方法:
一、到 http://sourceforge.net/projects/ant-contrib/files/ant-contrib/下载nt-contrib-0.6.jar,
二、在window --> preferences --> Ant --> Runtime --> Classpath中选择Global Entries,然后添加ant-contrib-0.6.jar文件即可,以便eclipse在运行ant任务时会加载ant-contrib-0.6.jar,这样就可以解决上述问题现象,其实这里也可以将ant-contrib-0.6.jar文件放在Ant Home Entries,但这样有可能造成与Ant本身包的混淆.

你可能感兴趣的:(eclipse,ant,net,failed,resource)