How to link the Javadoc of a Library in Eclipse?

swt library - link to eclipse javadoc

  • i created a library to ease use of SWT: https://github.com/fab1an/uilib. I exported javadoc from eclipse which allowed me to specify links to the linked libraries, but for some reason it doesn't work with SWT, the others work fine. There is the javadoc: http://fab1an.github.com/uilib/javadoc/ This is the ant-script i use for creating it: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <project default="javadoc"> <target name="javadoc"> <javadoc access="public" author="false" classpath="lib/slf4j-log4j12-1.6.4.jar:lib/slf4j-api-1.6.4.jar:lib/jna-3.4.0.jar:lib/log4j-1.2.16.jar:lib/gson-2.0.jar:lib/guava-10.0.1.jar:lib/swt-3.7.1-cocoa64.jar" destdir="../uilib-pages/javadoc" doctitle="uilib - (swt) user interface library" nodeprecated="false" nodeprecatedlist="false" noindex="false" nonavbar="false" notree="false" packagenames="org.uilib.templating,org.uilib.measure,org.uilib.templating.components,org.uilib.application,org.uilib.widget,org.uilib.overlay,org.uilib.osdependant,org.uilib.util,org.uilib.registry" source="1.6" sourcepath="src" splitindex="true" use="true" version="true"> <link href="http://download.oracle.com/javase/6/docs/api/"/> <link href="http://docs.guava-libraries.googlecode.com/git-history/v10.0.1/javadoc/"/> <link href="http://help.eclipse.org/nftopic/org.eclipse.platform.doc.isv/reference/api"/> <link href="http://google-gson.googlecode.com/svn/trunk/gson/docs/javadocs"/> </javadoc> </target> </project>

  • Answer:

    I solved it, you have to link to: http://help.eclipse.org/indigo/nftopic/org.eclipse.platform.doc.isv/reference/api/ It's possible that the web-server times out, if so you can specify offline=true and packageLoc="./" Then you have to put eclipse's package-list (which you get here: http://help.eclipse.org/indigo/nftopic/org.eclipse.platform.doc.isv/reference/api/package-list) in your working-directory.

Fabian Zeindl at Stack Overflow Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.