Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / September 2003

Tip: Looking for answers? Try searching our database.

javadoc -linkoffline help

Thread view: 
relaxedrob@optushome.com.au - 30 Sep 2003 03:10 GMT
Howdy All!

I am trying to issue a javadoc command with the following linkoffline
option:
-linkoffline http://java.sun.com/j2se/1.4.1/docs/api
C:/java/j2sdk1.4.1_01/docs/api

Both the file path and the url are valid, but I find the generated
links are of the form:

file:///E:/phd/semiInterface/doc/http://java.sun.com/j2se/1.4.1/docs/api/java/lang/reflect/Method.html

Can anyone advise how I can make this work?

Thanks for any help!

Rob
:)
KC Wong - 30 Sep 2003 04:44 GMT
> I am trying to issue a javadoc command with the following linkoffline
> option:
[quoted text clipped - 3 lines]
> Both the file path and the url are valid, but I find the generated
> links are of the form:

file:///E:/phd/semiInterface/doc/http://java.sun.com/j2se/1.4.1/docs/api/jav
a/lang/reflect/Method.html

Wierd... I looked at the JavaDoc documentation and tried it myself, and
your -linkoffline switch is correct... can you post the complete commandline
you used?

KC
Harri Tuuloskoski - 30 Sep 2003 17:14 GMT
> Howdy All!
>
[quoted text clipped - 9 lines]
>
> Can anyone advise how I can make this work?

I'm afraid you can't. Well, not without upgrading your Java version anyway.
1.4.1 Javadoc has a bug relating to -linkoffline, which produces just the
outcome you described. It has been fixed in Java 1.4.2 (I'm not sure about
latest release of 1.4.1, you have to check that out).

Signature

Harri



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.