Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Javadoc Questions
Javadoc Questions [message #184625] Fri, 15 December 2006 19:41 Go to next message
Eclipse UserFriend
Originally posted by: reg.ccfraser.com

Hi,

I just have 2 Java Doc questions:

1: Are the links in JavaDoc in Eclipse supposed to work? If so, and trick
in setting it up? As an example, when I am examining JavaDoc for List,
click on the first link, 'Java Collections Framework', it attempts to
jump, clears the JavaDoc window and just displays the string
'blank../../../guide/collections/index.html'

I see that under Libraries, my the JRE System Library, my JavaDoc points
to ‘http://java.sun…’ should I get the docs and point this to a local
location?


2: I am also new to Java and am wondering if there is any JavaDoc
documentation on the Java language itself (eg. how do I use 'static'
again?), if so, where would I get it and how do I set it up.

Regards
Colin
Re: Javadoc Questions [message #184727 is a reply to message #184625] Sat, 16 December 2006 19:28 Go to previous messageGo to next message
Rusty Wright is currently offline Rusty WrightFriend
Messages: 2
Registered: July 2009
Junior Member
I haven't done any javadoc with eclipse, but when I did it with ant, I
used the following for an app. This is from my ant build.xml. (Maybe
what I used will help you figure out what eclipse needs.)

<target name="docs">
<mkdir dir="${dir_docs}" />

<javadoc
destdir="${dir_docs}"
author="true"
version="true"
use="true"
defaultexcludes="yes"
stylesheetfile="${dir_src}/doc-files/stylesheet.css"
overview="${dir_src}/doc-files/overview.html">
<fileset dir="${dir_src}">
<patternset refid="source.non_test.non_html" />
</fileset>
<classpath refid="aws_classpath" />
<link
href=" http://acegisecurity.org/multiproject/acegi-security/apidocs /" />
<link href="http://static.springframework.org/spring/docs/1.2.x/api/" />
<link href="http://java.sun.com/j2se/1.5.0/docs/api/" />
<link href="http://java.sun.com/j2ee/1.4/docs/api/" />
<link
href=" https://calnet.berkeley.edu/developers/documentation/java/aw sv3/4.0.0/"
/>
</javadoc>
</target>


Colin wrote:
> Hi,
>
> I just have 2 Java Doc questions:
>
> 1: Are the links in JavaDoc in Eclipse supposed to work? If so, and
> trick in setting it up? As an example, when I am examining JavaDoc for
> List, click on the first link, 'Java Collections Framework', it
> attempts to jump, clears the JavaDoc window and just displays the
> string 'blank../../../guide/collections/index.html'
>
> I see that under Libraries, my the JRE System Library, my JavaDoc
> points to �http://java.sun�� should I get the docs and point this to a
> local location?
>
>
> 2: I am also new to Java and am wondering if there is any JavaDoc
> documentation on the Java language itself (eg. how do I use 'static'
> again?), if so, where would I get it and how do I set it up.
>
> Regards
> Colin
>
>
Re: Javadoc Questions [message #184805 is a reply to message #184625] Mon, 18 December 2006 08:38 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Colin wrote:

> Hi,
>
> I just have 2 Java Doc questions:
>
> 1: Are the links in JavaDoc in Eclipse supposed to work? If so, and
> trick in setting it up? As an example, when I am examining JavaDoc for
> List, click on the first link, 'Java Collections Framework', it
> attempts to jump, clears the JavaDoc window and just displays the
> string 'blank../../../guide/collections/index.html'
>
> I see that under Libraries, my the JRE System Library, my JavaDoc
> points to �http://java.sun�� should I get the docs and point this to a
> local location?

Only complete URLs work - relative ones aren't supported yet.

>
>
> 2: I am also new to Java and am wondering if there is any JavaDoc
> documentation on the Java language itself (eg. how do I use 'static'
> again?), if so, where would I get it and how do I set it up.

No, but this is explained in the Java Language Specification.

Dani

>
> Regards
> Colin
>
>
Re: Javadoc Questions [message #184997 is a reply to message #184625] Tue, 19 December 2006 21:16 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse5.rizzoweb.com

Colin wrote:
> Hi,
>
> I just have 2 Java Doc questions:
>
> 1: Are the links in JavaDoc in Eclipse supposed to work? If so, and
> trick in setting it up? As an example, when I am examining JavaDoc for
> List, click on the first link, 'Java Collections Framework', it attempts
> to jump, clears the JavaDoc window and just displays the string
> 'blank../../../guide/collections/index.html'

I'm not sure the JavaDoc view is intended to operate as a full browser.
My understanding is that it is only to view the JavaDoc for whatever is
under the cursor.
I suggest you look in Bugzilla (http://bugs.eclipse.org/bugs) to see if
there is anything about it there. Feel free to file an enhancement
request if you don't' find anything relevant already entered.

> 2: I am also new to Java and am wondering if there is any JavaDoc
> documentation on the Java language itself (eg. how do I use 'static'
> again?), if so, where would I get it and how do I set it up.

No, JavaDoc is strictly a library-level thing, not language-level.
You may want to check the various Eclipse plug-in repository sites to
see if there is a third-party plugin for language-level help.

Hope this helps,
Eric
Previous Topic:Error connecting Tomcat with SSL
Next Topic:Servlet "upload" not found
Goto Forum:
  


Current Time: Wed Jan 15 10:03:51 GMT 2025

Powered by FUDForum. Page generated in 0.10776 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top