Eclipse import ant project

2016/10/10 14:46
阅读数 219

Try the following method, got it work for me.

  1. Make sure you have ant installed
  2. Open Eclipse, select File > New > Project
  3. Select "Java Project from Existing Ant Build File"
  4. Download ant-contrib.jar, then unzip it and put the jar file to where you prefer.
  5. Add the ant-contrib jar file to Eclipse: Window>Preferences>Ant>Runtime>Global Entries>Add external jar
  6. Configure your build.properties. (copy and edit build.properties.example to build.properties)
  7. Now open build.xml in editor in Eclipse then hit Run
  8. Add the built jar files in your project properties, Project Properties>Java Build Path>Add JAR

 

展开阅读全文
打赏
0
0 收藏
分享
加载中
更多评论
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部