You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2010/01/20 15:37:32 UTC

DO NOT REPLY [Bug 48578] New: task doesn't report build file location when a remote command fails

https://issues.apache.org/bugzilla/show_bug.cgi?id=48578

           Summary: <sch> task doesn't report build file location when a
                    remote command fails
           Product: Ant
           Version: 1.8Alpha (nightly)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: stevel@apache.org


when you issue a command over <scp> and it returns an error, the build fails:

BUILD FAILED - at 20/01/10 14:00
server indicated an error: scp: /mnt/cluster/rpms/: No such file or directory

What it doesn't say is where in the build file things failed. 

Root cause: the AbstractSSHMessage class needs to take the owner location and
include that in buildexceptions that are raised.

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

DO NOT REPLY [Bug 48578] task doesn't report build file location when a remote operation fails

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48578

Steve Loughran <st...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|<sch> task doesn't report   |<scp> task doesn't report
                   |build file location when a  |build file location when a
                   |remote command fails        |remote operation fails

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

DO NOT REPLY [Bug 48578] task doesn't report build file location when a remote command fails

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48578

--- Comment #1 from Steve Loughran <st...@apache.org> 2010-01-20 06:38:38 UTC ---
patch changes this to something more meaningful

BUILD FAILED - at 20/01/10 14:36
/home/slo/Projects/SmartFrog/Forge/core/release/build.xml:1627: server
indicated an error: ...

Rather than alter the helper classes, scp has been tweaked to patch in the
location on any BuildException caught in upload/download, an exception that is
then rethrown.

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

DO NOT REPLY [Bug 48578] task doesn't report build file location when a remote operation fails

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48578

--- Comment #2 from Steve Loughran <st...@apache.org> 2010-01-20 06:48:23 UTC ---
committed

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

DO NOT REPLY [Bug 48578] task doesn't report build file location when a remote operation fails

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48578

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.8.0

--- Comment #3 from Stefan Bodewig <bo...@apache.org> 2010-01-21 21:14:47 UTC ---
svn revision 901218

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