OSDN Git Service

AI 144921: Fix add-on javadoc display in Eclipse (bug #1775744)
authorXavier Ducrohet <>
Tue, 7 Apr 2009 21:24:32 +0000 (14:24 -0700)
committerThe Android Open Source Project <initial-contribution@android.com>
Tue, 7 Apr 2009 21:24:32 +0000 (14:24 -0700)
  BUG=1775744

Automated import of CL 144921

tools/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("");