[ http://jira.codehaus.org/browse/MEXEC-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thor Åge Eldby updated MEXEC-57: -------------------------------- Attachment: MEXEC-57.patch Hi. I created this patch to be able to set this. Jerome, is it possible to get this into the next version? I use it like this in order to accept 1 as return code (lousy Redmond hackers *grrr*): <successCodes> <successCode>1</successCode> </successCodes> > 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 > 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