You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/07/09 23:06:46 UTC

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

The following comment has been added to this issue:

     Author: Arnaud HERITIER
    Created: Fri, 9 Jul 2004 5:05 PM
       Body:
I also tried to set a proxy but it doesn't work.
The problem is in the ant task.
I think that you must open an issue to enhance the ant task before the 1.6.2 release.
As soon as ant allows to set the proxy we will use it in maven.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJAVADOC-34?page=comments#action_21577

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVADOC-34

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVADOC-34
    Summary: Javadoc links don't work behind a proxy
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-javadoc-plugin

   Assignee: Arnaud HERITIER
   Reporter: Carlos Sanchez

    Created: Fri, 9 Jul 2004 12:38 PM
    Updated: Fri, 9 Jul 2004 5:05 PM

Description:
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"/>



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report 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