Please reply using this URL only: http://bugs.wpkg.org/show_bug.cgi?id=27
------- Additional Comments From [EMAIL PROTECTED] 2006-06-22 18:10 -------
Perhaps the code should look like this:
// search for exit code
var exitNode = cmdNode.selectSingleNode("[EMAIL PROTECTED]'" +
result +
"']" );
var anyExitCode = cmdNode.selectSingleNode("[EMAIL
PROTECTED]'any']" );
// check for special exit codes
if (exitNode != null || tomekNode != null ) {
if (exitNode != null && exitNode.getAttribute("reboot") ==
"true") {
// this exit code forces a reboot
info("Command in upgrade of " + packageName + " returned " +
"non-zero exit code [" + result + "]. This exit code " +
"requires an immediate reboot.");
reboot();
} else if (anyExitNode.getAttribute("code") == "any") {
// this exit code is ignored
info("Command in upgrade of " + packageName + " returned " +
"non-zero exit code [" + result + "]. This exit code " +
"is not an error (we accept any exit code).");
} else {
// this exit code is successful
info("Command in upgrade of " + packageName + " returned " +
"non-zero exit code [" + result + "]. This exit code " +
"is not an error.");
continue;
}
}
Or perhaps we should merge "// this exit code is ignored" and "// this exit code
is successful" into one.
--
Configure bugmail: http://bugs.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users