You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Verma, Nitin (GECP, OTHER, 529706)" <NI...@APPL.GE.COM> on 2003/05/27 15:44:36 UTC
Not able to set proxy for my javadoc task!
Hi All,
I have a apidocs task and I need links to Sun's Java 1.3's JavaDocs so I use
<link href=" <http://java.sun.com/j2se/1.3/docs/api/>
http://java.sun.com/j2se/1.3/docs/api/"/>.
But I am not able to link to the docs as I need a proxy set!
So I did a change in ant.bat:-
"%_JAVACMD%" -Dhttp.proxyHost=http-proxy.com -Dhttp.proxyPort=8080
%ANT_OPTS% -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%"
org.apache.tools.ant.Main %ANT_ARGS% %ANT_CMD_LINE_ARGS%
Still I get the same error!
----Target------
<target depends="binary.archive" name="apidocs">
<javadoc author="true" classpath="${classpath}" destdir="${apidocs}"
packagenames="edu.nitin*" sourcepath="${source}" version="true"
windowtitle="My APIs">
<link href=" <http://java.sun.com/j2se/1.3/docs/api/>
http://java.sun.com/j2se/1.3/docs/api/"/>
</javadoc>
</target>
----------------
----------Error-------------
javadoc: Error fetching URL:
<http://java.sun.com/j2se/1.3/docs/api/package-list>
http://java.sun.com/j2se/1.3/docs/api/package-list
-----------------------------
Regards,
Nitin Verma
Re: Not able to set proxy for my javadoc task!
Posted by Martin Gainty <mg...@hotmail.com>.
RE: JUNIT task not runningThe URL reference is being rejected by your Proxy Server
Which Proxy server are you using?
Martin
----- Original Message -----
From: Verma, Nitin (GECP, OTHER, 529706)
To: Ant Users List
Sent: Tuesday, May 27, 2003 9:44 AM
Subject: Not able to set proxy for my javadoc task!
Hi All,
I have a apidocs task and I need links to Sun's Java 1.3's JavaDocs so I use <link href="http://java.sun.com/j2se/1.3/docs/api/"/>.
But I am not able to link to the docs as I need a proxy set!
So I did a change in ant.bat:-
"%_JAVACMD%" -Dhttp.proxyHost=http-proxy.com -Dhttp.proxyPort=8080 %ANT_OPTS% -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" org.apache.tools.ant.Main %ANT_ARGS% %ANT_CMD_LINE_ARGS%
Still I get the same error!
----Target------
<target depends="binary.archive" name="apidocs">
<javadoc author="true" classpath="${classpath}" destdir="${apidocs}" packagenames="edu.nitin*" sourcepath="${source}" version="true" windowtitle="My APIs">
<link href="http://java.sun.com/j2se/1.3/docs/api/"/>
</javadoc>
</target>
----------------
----------Error-------------
javadoc: Error fetching URL: http://java.sun.com/j2se/1.3/docs/api/package-list
-----------------------------
Regards,
Nitin Verma
------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org