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=33220>.
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=33220

           Summary: Optional RPM task succeeds even if RPM process fails
           Product: Ant
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Keywords: ErrorMessage
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When making RPM's with the Ant task, the 'rpm' or 'rpmbuild' executables that 
get called by the rpm 
task can fail (because of errors in the spec file, for example), exit with a 
non-zero return code, and not 
break the build.  This is because the return code from the rpm executable isn't 
examined by the task.

I tested this with Ant 1.6.1 and 1.62 on debian linux, as well as ant 1.6.1 on 
Solaris 8 (with rpm 
installed locally).

I will attempt to post a patch.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to