[ http://jira.codehaus.org/browse/CONTINUUM-608?page=comments#action_59640 
] 

Emmanuel Venisse commented on CONTINUUM-608:
--------------------------------------------

the shell script exit becuase in mvn.bat, we have a call to exit command. 
Normally, it will be fine in continuum if you have nothing to do after mvn call.

You can also call mvn with 'call' like this :
call mvn clean install
but in this case, i'm not sure call return the correct exit code.

An other possibility would be to copy mvn.bat content in your bat file


> 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

Reply via email to