Add support for non-zero exit codes to be acceptible
----------------------------------------------------

                 Key: MEXEC-57
                 URL: http://jira.codehaus.org/browse/MEXEC-57
             Project: Maven 2.x Exec Plugin
          Issue Type: Improvement
          Components: exec
    Affects Versions: 1.1
            Reporter: Andrew Robinson


I needed to update the zip file generated by your webstart plugin to add 
external files to the zip. So I decided to use your exec plugin to run "zip -u 
...". The problem is that zip returns an exit code of 12, not 0, when nothing 
is done. As a result, the build fails. It would be nice to be able to allow it 
to continue based on certain error codes. Perhaps:

<configuration>
  <success-codes>
    <code>0</code>
    <code>12</code>
  </success-codes>
...

This could also allow someone to exit if the exit code was 0 (by not giving it).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to