[
http://jira.codehaus.org/browse/MEXEC-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jerome Lacoste closed MEXEC-57.
-------------------------------
Assignee: Jerome Lacoste
Resolution: Fixed
Fix Version/s: 1.1.1
$ svn commit -m "MEXEC-57 Add support for non-zero exit codes for exec:exec
mojo"
Sending src/main/java/org/codehaus/mojo/exec/ExecMojo.java
Sending src/test/java/org/codehaus/mojo/exec/ExecMojoTest.java
Transmitting file data ..
Committed revision 8882.
Thanks for the patch.
> 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
> Assignee: Jerome Lacoste
> Fix For: 1.1.1
>
> Attachments: MEXEC-57.patch
>
>
> 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