You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/05/11 21:01:26 UTC

DO NOT REPLY [Bug 34872] New: - Using get task with authentication causes ArrayIndexOutOfBoundsException

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34872>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34872

           Summary: Using get task with authentication causes
                    ArrayIndexOutOfBoundsException
           Product: Ant
           Version: 1.6.3
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: erik_fiegel@yahoo.com


Using the get task with http authentication causes ArrayIndexOutOfBoundsException.

Running the following build file results in the error :
java.lang.ArrayIndexOutOfBoundsException: 24

<project name="ant bug" default="bug">

    <property name="tc.manager.user"     value="eefiegel" />
    <property name="tc.manager.password" value="eefiegel" />
    <property name="tc.manager.url"      value="http://eek:8096/manager/html" />

    <property name="file.out" value="${basedir}/list.out" />

    <target name="bug" 
     description="demonstrate ant 1.6.3 bug with the get task">
        <get username="${tc.manager.user}"
             password="${tc.manager.password}"
                  src="${tc.manager.url}/list"
                 dest="${file.out}" />
    </target>
</project>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org