Eclipse import ant project

Try the following method, got it work for me.ui

  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
相關文章
相關標籤/搜索