swt 库 - 链接到 eclipse javadoc
我创建了一个库来简化 SWT 的使用:https://github.com/fab1an/uilib。 我从 eclipse 导出了 javadoc,这允许我指定链接库的链接,但由于某种原因它不能与 SWT 一起使用,其他的可以正常工作。
有javadoc: http://fab1an.github.com/uilib/javadoc/
这个是我用来创建它的ant脚本:
<?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>
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>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我解决了它,你必须链接到:
http://help.eclipse.org/indigo/nftopic/org.eclipse.platform.doc.isv/reference/api/
Web 服务器可能超时,如果是这样,您可以指定
然后
您必须把 eclipse 的包列表(您可以在此处获取:http://help.eclipse.org/indigo/nftopic/org.eclipse.platform.doc.isv/reference/api/package-list)在您的工作目录中。
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
and
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.