ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Archie Cobbs (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-984) Pressing CONTROL-C does not stop ivy packager resolver download
Date Wed, 10 Dec 2008 16:12:46 GMT
Pressing CONTROL-C does not stop ivy packager resolver download
---------------------------------------------------------------

                 Key: IVY-984
                 URL: https://issues.apache.org/jira/browse/IVY-984
             Project: Ivy
          Issue Type: Bug
          Components: Ant
    Affects Versions: 2.0-RC2
         Environment: openSUSE 11.0
            Reporter: Archie Cobbs
            Priority: Minor


The packager resolver cannot be stopped by CTRL-C in the middle of a download. Example:

{noformat}
...
[ivy:resolve] download.1.N10016:
[ivy:resolve]
[ivy:resolve]       [get] Getting: http://testng.org/testng-5.7.zip
[ivy:resolve]
[ivy:resolve]       [get] To: /home/archie/.ivy2/packager/cache/testng-5.7.zip
[ivy:resolve]
[ivy:resolve] ....................................................
[ivy:resolve] ....................................................
^C[ivy:resolve] ....................................................
[ivy:resolve] ....................................................
^C[ivy:resolve] ....................................................
^C^C[ivy:resolve] ....................................................
[ivy:resolve] ....................................................
[ivy:resolve] ....................................................
...
{noformat}

Note that this {{<get>}} ant task is being executed from within the _nested_ invocation
of ant that the packager resolver  uses to download and extract artifacts. If you run that
generated build file directly using ant from the command line, instead of a nested ant invocation,
then CTRL-C works properly.

Somehow the nesting of the ant invocation is causing this problem.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message