Return-Path: Delivered-To: apmail-maven-continuum-dev-archive@www.apache.org Received: (qmail 80126 invoked from network); 28 Feb 2006 09:44:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Feb 2006 09:44:01 -0000 Received: (qmail 23015 invoked by uid 500); 28 Feb 2006 09:44:00 -0000 Delivered-To: apmail-maven-continuum-dev-archive@maven.apache.org Received: (qmail 22974 invoked by uid 500); 28 Feb 2006 09:44:00 -0000 Mailing-List: contact continuum-dev-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-dev@maven.apache.org Delivered-To: mailing list continuum-dev@maven.apache.org Received: (qmail 22962 invoked by uid 99); 28 Feb 2006 09:44:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2006 01:44:00 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [63.246.20.114] (HELO 63-246-20-114.contegix.com) (63.246.20.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2006 01:43:57 -0800 Received: (qmail 12220 invoked by uid 89); 28 Feb 2006 09:43:36 -0000 Received: from unknown (HELO codehaus01.managed.contegix.com) (127.0.0.1) by smtp.domain.com with SMTP; 28 Feb 2006 09:43:36 -0000 Message-ID: <109147562.1141119816267.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Tue, 28 Feb 2006 03:43:36 -0600 (CST) From: "Emmanuel Venisse (JIRA)" To: continuum-dev@maven.apache.org Subject: [jira] Commented: (CONTINUUM-608) Script gets cut off when building a shell project In-Reply-To: <125625982.1140818735966.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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