Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAVADOC error

 
G.T. Reddy
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,
I am trying to generate javadoc using command line option "-link http://java.sun.com/j2se/1.3/docs/api/@package.txt". But I am getting en error like "Error fetching URL: http://java.sun.com/j2se/1.3/docs/api/package-list". This is due to proxy problem.I am behind the proxy.
Please give me solution how to overcome this problem?.
Thanks,
Reddy.
 
Jon Strayer
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you behind a proxy server? If so, you have to pass the paramters to JavaDoc.
 
R. Shellbay
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a common problem when building javadoc offline, or from "offline" locations. The link option is , as far as i know, used for locating the packagelist for the thirdparty api you are using. You may copy this package list to a local directory and tell javadoc to obtain the packagelist from that location instead.
If you're using ant this can be done like this:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic