ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Not able to set proxy for my javadoc task!
Date Tue, 27 May 2003 13:53:21 GMT
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
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message