This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Need to have a way to specify several "successful" exit statuses (for e.g. cvs diff) | ||
---|---|---|---|
Product: | obsolete | Reporter: | Jesse Glick <jglick> |
Component: | vcsgeneric | Assignee: | Martin Entlicher <mentlicher> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | ||
Priority: | P4 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Jesse Glick
2004-06-01 20:46:30 UTC
Right. The problem is, that the command executor suppose that when the exit status != 0, the command has failed. This is true for most commands. We have a special flag set on diff command, that the failure should be ignored, so in this case the message should say simply that the command finished (like the message in the status bar). This is already described in issue #42377. But you're right, that a better fix would be to consider both exit status 0 and 1 as a success, not a faiure and handle exit status 2 as a failure. For that we would need to have a list of "successfull" exit statii for every command. After the fix of issue #42377 this is not so important IMO. This is somewhere between enhancement and defect, I'm also chanig the summary to better describe the problem. This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. We apologize for any inconvenience. Thank you. The NetBeans Team |