My solution is to put package-list locally somewhere and tell javadoc to generate the links "offline". This works in ANT as follows
<javadoc [...]> [...] <link href="http://java.sun.com/j2se/1.3/docs/api" offline="true" packagelistLoc="c:\temp\package-list"/> </javadoc> > -----Ursprüngliche Nachricht----- > Von: Richard Beton [mailto:[EMAIL PROTECTED]] > Gesendet: Donnerstag, 10. Januar 2002 19:37 > An: [EMAIL PROTECTED] > Betreff: Javadoc via web proxy > > > If I include links in Javadoc, it causes the tool to fetch > the 'package-list' from the URL I specify. But this only > works when there is no proxy firewall restriction. However, > it is possible for Javadoc to work through a firewall, e.g. > on the command line > > javadoc -J-Dhttp.proxyHost=firewall.roke.co.uk etc etc etc > > I tried that and it works (but not with that non-existent > proxy, mind ;-) > > So how about the Javadoc task in Ant. Does the Javadoc task > in Ant 1.4.1 have any way to achieve this? > > I looked at the source code and nothing seemed obvious. > Perhaps I might need to add it. > > Any comments? > > Rick :-) > > > > > >