You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2005/08/12 23:07:57 UTC

[jira] Commented: (MPJAVADOC-34) Javadoc links don't work behind a proxy

    [ http://jira.codehaus.org/browse/MPJAVADOC-34?page=comments#action_44383 ] 

Carlos Sanchez commented on MPJAVADOC-34:
-----------------------------------------

It may be worth to take a look at the system property "java.net.useSystemProxies" in Java5 that allows using the system proxy (IE on windows, Gnome in linux,...)

http://weblogs.java.net/blog/kohsuke/archive/2005/08/we_deserve_a_be.html

> Javadoc links don't work behind a proxy
> ---------------------------------------
>
>          Key: MPJAVADOC-34
>          URL: http://jira.codehaus.org/browse/MPJAVADOC-34
>      Project: maven-javadoc-plugin
>         Type: Improvement
>     Versions: 1.5, 1.1, 1.2, 1.3, 1.4
>     Reporter: Carlos Sanchez
>     Assignee: Arnaud Heritier
>     Priority: Minor
>  Attachments: javadoc.txt
>
>
> Links doesn't work behind a proxy
> javadoc: Error fetching URL: http://java.sun.com/j2se/1.4.2/docs/api/package-list
> I've found some information in the net:
> ------------------------------------------------------------
> It is possible to pass proxy information to javadoc. Try:
> javadoc -J-DproxyHost=myproxyhost.com -J-DproxyPort=8080 -link http://java.sun.com/products/jdk/1.3/docs/api *.java  
>  
> ------------------------------------------------------------
> You have to pass http.proxyhost and http.proxyport properties to the JVM.
> -Dhttp.proxyhost=proxy -Dhttp.proxyport=3128
> ------------------------------------------------------------
> The problem is that javadoc ant task starts in another jvm (as stated in ant docs)
> Also I've tried the setProxy ant task and it doesn't work either.
> <ant:setproxy proxyhost="proxy" proxyport="3128"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org