OSDN Git Service

AI 145163: am: CL 145096 am: CL 144921 Fix add-on javadoc display in Eclipse (bug...
authorXavier Ducrohet <>
Thu, 9 Apr 2009 01:57:57 +0000 (18:57 -0700)
committerThe Android Open Source Project <initial-contribution@android.com>
Thu, 9 Apr 2009 01:57:57 +0000 (18:57 -0700)
  Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145163

eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/project/internal/AndroidClasspathContainerInitializer.java

index e9df77f..2858990 100644 (file)
@@ -612,7 +612,7 @@ public class AndroidClasspathContainerInitializer extends ClasspathContainerInit
             // all the optional libraries use the same javadoc, so we start with this
             String targetDocPath = target.getPath(IAndroidTarget.DOCS);
             if (targetDocPath != null) {
-                paths.add(targetDocPath);
+                paths.add(ProjectHelper.getJavaDocPath(targetDocPath));
             } else {
                 // we add an empty string, to always have the same count.
                 paths.add("");