[ http://jira.codehaus.org/browse/CONTINUUM-608?page=all ] Emmanuel Venisse closed CONTINUUM-608: --------------------------------------
Resolution: Won't Fix Sample correct script that call mvn : @echo off cmd /C mvn.bat -h if ERRORLEVEL 1 goto error goto end :error exit 1 :end exit 0 We can perhaps add it in a faq. Mang, can you write it? > Script gets cut off when building a shell project > ------------------------------------------------- > > Key: CONTINUUM-608 > URL: http://jira.codehaus.org/browse/CONTINUUM-608 > Project: Continuum > Type: Bug > Components: Core system > Versions: 1.0.2 > Environment: Windows XP Pro SP2 > Reporter: Mang Lau > Attachments: build.bat > > > When building a shell project, the shell script exits prematurely after Maven > finishes. This means that nothing else can be executed after the Maven build > is successful. It seems that Continuum is receiving the Maven exit code > right after Maven ends and cuts off (does not execute) the rest of the script > code. I don't think this should be happening as you can't perform post-build > tasks such as copying the build elsewhere or tagging it in CVS. -- 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