[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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (MPJAVADOC-34) Javadoc links don't work behind a proxy
[ http://jira.codehaus.org/browse/MPJAVADOC-34?page=comments#action_37811 ] Wim Deblauwe commented on MPJAVADOC-34: --- The javadoc.txt file contains the complete maven-javadoc-plugin:report. Changes: added 'maven.javadoc.mode.bypassproxy' property. Set this to true to enable this piece of code. It will download the package-list files from the url(s) given in 'maven.javadoc.links' to your target/javadoc/packagelists directory. It will then generate the maven.javadoc.offlineLinks property in way described to have online links in offline mode. The taks will then be put in offline mode. As a result, online links are generated in your javadoc. Example project.properties: maven.javadoc.mode.bypassproxy=true maven.javadoc.links=http://java.sun.com/j2se/1.5.0/docs/api/,http://jakarta.apache.org/commons/lang/api/ You also need specify the proxy properties in your build.properties (in your home folder) so the download can use those to get past the proxy: maven.proxy.host = proxy.mycompany.com maven.proxy.port = 80 maven.proxy.ntlm.domain = MYDOMAIN maven.proxy.username = myusername maven.proxy.password = mypassword Maybe 'maven.javadoc.mode.bypassproxy' is not a good name, if other have a better suggestion, please do. Also I have not added the property to the properties that are printed out in debug mode, but that is easy to add. 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.1, 1.2, 1.3, 1.4, 1.5 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (MPJAVADOC-34) Javadoc links don't work behind a proxy
[ http://jira.codehaus.org/browse/MPJAVADOC-34?page=comments#action_30613 ] Wim Deblauwe commented on MPJAVADOC-34: --- Why doesn't the plugin take the values you already need to define to get to the remote repository? I have for instance the following build.properties in my home folder: # Properties file for maven maven.proxy.host = proxy.mycompany.com maven.proxy.port = 80 maven.proxy.ntlm.domain = MYDOMAIN maven.proxy.username = myusername maven.proxy.password = mypassword The javadoc plugin should be able to read out these values, so I don't have to specify them somewhere else again. 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.1, 1.2, 1.3, 1.4, 1.5 Reporter: Carlos Sanchez Assignee: Arnaud HERITIER Priority: Minor 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (MPJAVADOC-34) Javadoc links don't work behind a proxy
The following comment has been added to this issue: Author: Ray Roberts Created: Mon, 19 Jul 2004 11:45 PM Body: You should be able to send in the following to the javadoc task: additionalparam=-J-DproxyHost=myproxyhost.com -J-DproxyPort=8080 Seems to be working for me... - View this comment: http://jira.codehaus.org/browse/MPJAVADOC-34?page=comments#action_21954 - 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: Improvement Status: Open Priority: Minor Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-javadoc-plugin Versions: 1.1 1.2 1.3 1.4 1.5 Assignee: Arnaud HERITIER Reporter: Carlos Sanchez Created: Fri, 9 Jul 2004 12:38 PM Updated: Mon, 19 Jul 2004 11:45 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Commented: (MPJAVADOC-34) Javadoc links don't work behind a proxy
The following comment has been added to this issue: Author: Carlos Sanchez Created: Sat, 10 Jul 2004 2:49 PM Body: There's an issue open in the ant bug database http://issues.apache.org/bugzilla/show_bug.cgi?id=29870 Anyone interested please vote in the above link to get it solved - View this comment: http://jira.codehaus.org/browse/MPJAVADOC-34?page=comments#action_21603 - 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: Improvement Status: Open Priority: Minor Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: maven-javadoc-plugin Versions: 1.1 1.2 1.3 1.4 1.5 Assignee: Arnaud HERITIER Reporter: Carlos Sanchez Created: Fri, 9 Jul 2004 12:38 PM Updated: Sat, 10 Jul 2004 2:49 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]