#56 [sourceforge] Plugin broken with current SF setup

release
closed-fixed
nobody
sourceforge (3)
5
2006-01-09
2005-07-26
Web Hiker
No

Perhaps only because I'm accessing from France, but the
current plugin version 1.2 fails when uploading the
files when SF tries to redirect the Common http client :

230 Login successful.
250 Directory successfully changed.
[echo] Creating the release on the Sourceforge project
Going to buffer response body of large or unknown size.
Using getResponseAsStrea
m instead is recommended.
Error getting URI host
org.apache.commons.httpclient.HttpException: Redirect
from host ostgsso.sourcefo
rge.net to sourceforge.net is not supported
at
org.apache.commons.httpclient.HttpMethodBase.checkValidRedirect(HttpM
ethodBase.java:1237)
at
org.apache.commons.httpclient.HttpMethodBase.processRedirectResponse(
HttpMethodBase.java:1185)
at
org.apache.commons.httpclient.HttpMethodBase.isRetryNeeded(HttpMethod
Base.java:967)
at
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.j
ava:1089)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
a:643)
at
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
a:497)
at
net.sourceforge.mavenplugins.sourceforge.WebBrowser.executeMethod(Web
Browser.java:146)
at
net.sourceforge.mavenplugins.sourceforge.WebBrowser.executeMethod(Web
Browser.java:190)
at
net.sourceforge.mavenplugins.sourceforge.WebBrowser.getResponse(WebBr
owser.java:212)
at
net.sourceforge.mavenplugins.sourceforge.WebBrowser.getDocument(WebBr
owser.java:225)

Discussion

  • Carlos Sanchez

    Carlos Sanchez - 2005-08-01
    • summary: Plugin broken with current SF setup --> [sourceforge] Plugin broken with current SF setup
     
  • S

    S - 2005-10-14

    Logged In: YES
    user_id=723231

    This can be easily fixed by changing the WebBrowser.java file
    Around line 187
    HttpMethod redirectMethod = new
    GetMethod(redirectLocation);

    executeMethod(redirectMethod);

    return redirectMethod;

    Change to
    HttpMethod redirectMethod = new
    GetMethod(redirectLocation);

    redirectMethod = executeMethod(redirectMethod);

    return redirectMethod;

     
  • Stephen Colebourne

    • status: open --> closed-fixed
     
  • Stephen Colebourne

    Logged In: YES
    user_id=408725

    Will be fixed in v1.3

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks