To see how manySource code, Connected to several Java build tools
1. MAVEN
I remember that the Tomcat project was built by Maven.
MVN Eclipse: eclipse-ddownloadsources = true-ddownloadjavadocs = true
2. ant
Learning LuceneCode, Check out Lucene code, use ant to build, ant eclipse to build an Eclipse project
An error was prompted at the beginning, saying that Ivy was not found. The Ivy jar package was downloaded and put in the ant lib directory.
> Ant build
> Ant eclipse is built into an Eclipse project
Http://jamesqian.iteye.com/blog/1103370
Method 2: You can import
Select New project --> JAVA project from existing ant buildfile when importing
Finally, only one build. xml file under your workspace is exported.
The premise is that your build. xml should correctly contain all the things you need, such as the resource files and classes you want to use.
3. gradlew
In the past, spring was put on SVN, now on git, after checking out, CMD went to the directory,
> Gradlew build
> Gradlew eclipse is built into an Eclipse project.
After importing eclipse, it is inconvenient to read...