Return-Path: Delivered-To: apmail-maven-continuum-dev-archive@www.apache.org Received: (qmail 11937 invoked from network); 28 Feb 2006 20:09:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Feb 2006 20:09:46 -0000 Received: (qmail 14279 invoked by uid 500); 28 Feb 2006 20:09:22 -0000 Delivered-To: apmail-maven-continuum-dev-archive@maven.apache.org Received: (qmail 14251 invoked by uid 500); 28 Feb 2006 20:09:20 -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 14221 invoked by uid 99); 28 Feb 2006 20:09:18 -0000 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 (hermes.apache.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 12:09:14 -0800 Received: (qmail 16403 invoked by uid 89); 28 Feb 2006 20:08:38 -0000 Received: from unknown (HELO codehaus01.managed.contegix.com) (127.0.0.1) by smtp.domain.com with SMTP; 28 Feb 2006 20:08:38 -0000 Message-ID: <72114771.1141157318521.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Tue, 28 Feb 2006 14:08:38 -0600 (CST) From: "Mang Lau (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_59696 ] Mang Lau commented on CONTINUUM-608: ------------------------------------ I tried using "call" as you suggested but it still cuts off the script. So I copied the mvn.bat contents to my build script to make it perform tasks before the call to exit. > 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