diff --git a/pdk/docs/source/using-eclipse.jd b/pdk/docs/source/using-eclipse.jd index 56df71377..cfa7939a4 100644 --- a/pdk/docs/source/using-eclipse.jd +++ b/pdk/docs/source/using-eclipse.jd @@ -95,58 +95,6 @@ Adding apps to the build path

When you're done, the "source folder" path in the list should look like android/packages/apps/YourAppName /src. Depending on which app(s) you include, you may also need to include othersrc/main/java directories under android/dalvik/libcore. Do this if you find you cannot build with the default set.

-

-Eclipse setup to work on developer tools -

-

To work on Java developer tools, the principle is the same, except you specify /path/to/tool when using the option "Create project from existing source." -

-

Once the project is created, you need to set up the Java Build Path: -

-
  1. Select the project you just created. -
  2. -
  3. Project Properties -
  4. -
  5. Select "Java Build Path" from the left-hand menu. -
  6. -
  7. Choose the "Source" tab. -
  8. -
  9. Expand the single toolname -/src entry. -
  10. -
  11. Double click the "Excluded: (none)" item. -
  12. -
  13. Add to the excluded (bottom) list: "MakeFile" and "resources/". -
  14. -
  15. Close the dialog. -
  16. -
  17. Back in the "Source" tab, click "Add Folder...", and add toolname -/src/resources. -
  18. -
  19. Click OK. -
  20. -
-

-Eclipse setup to work on DDMS

-

For DDMS, you will need to make a project for -

-
  1. development/tools/ddms/libs/ddmlib -
  2. -
  3. development/tools/ddms/libs/ddmuilib -
  4. -
  5. development/tools/ddms/app -
  6. -
-

Each project will need to reference the ones before it ("ddmuilib" references "ddmlib", and "app" references both of those). To do this: -

-
  1. Make sure you have all 3 projects defined. -
  2. -
  3. Right click on a project, "Build Path" "Configure Build Path..." -
  4. -
  5. Choose the "Project" tab. -
  6. -
  7. Click "Add..." and check the required projects. -
  8. -

Eclipse formatting

You can import files in development/ide/eclipse to make Eclipse