After finding relevant materials on the Internet for a long time, I had nothing to gain. I found a group and added it to the group. Once there was a bird, I won't speak out. The problem may be very simple, so no one has ever encountered it, but I have encountered it and I have finally solved it for half a day. Let's make a record here!
1. amoeba source code: http://amoeba.googlecode.com/svn/trunk;
2. amoeba download tool: SVN;
3. download Method: Create a folder, right-click the folder and select the svn checkout option. On the displayed page, enter the Source Code address to download the folder, this is the usage of SVN. For details, refer to it separately;
4. the directory structure of amoeba is as follows:
The above is the directory structure of the source code we downloaded. Note that the amoeba folder contains many dependent packages required by the project. Therefore, do not import only one directory in the directory structure to eclipse, instead, these directories are imported as a whole project.
5. Create an empty Java project in eclipse;
Copy all the folders and files in to the SRC folder of the project;
6. Modify the. classpath file of this project as follows:
<? XML version = "1.0" encoding = "UTF-8"?> <Classpath> <classpathentry kind = "con" Path = "org. eclipse. jdt. launching. jre_container/org. eclipse. jdt. internal. debug. UI. launcher. standardvmtype/JavaSE-1.6 "/> <classpathentry kind =" output "Path =" bin "/> </classpath>
Delete row 3;
7. Now, right-click the build. xml file and you will be able to execute it normally. Eclipse imported successfully.
My import results are as follows: