Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 34102 invoked from network); 13 Feb 2010 23:22:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Feb 2010 23:22:34 -0000 Received: (qmail 55402 invoked by uid 500); 13 Feb 2010 23:22:33 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 55347 invoked by uid 500); 13 Feb 2010 23:22:32 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 55339 invoked by uid 99); 13 Feb 2010 23:22:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Feb 2010 23:22:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of marco.speranza79@gmail.com designates 209.85.219.217 as permitted sender) Received: from [209.85.219.217] (HELO mail-ew0-f217.google.com) (209.85.219.217) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Feb 2010 23:22:25 +0000 Received: by ewy9 with SMTP id 9so4546013ewy.35 for ; Sat, 13 Feb 2010 15:22:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=oGMQVrijCorHotRDgMoFWSTr4yDSXK0dhLfaJ670xWg=; b=BkCivfyMfrVLmFjNOWI5qaeJ3wWp6I/um4+cqkKpS6LYtFH8eI/9YMSpBjSbCwvHwt p2KRgHM9kvjjZ6vKIq2Rq4Q2TyPEs9Sfko1Kw7vNbYcVjsj2MB1krs5ErYvcdENK8epF mhoLE+pIDeL1DWVr1G/EbtMt4hm+li2QwNFSs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=JsIosEJVNE8ohm+k5zEAUxz2/Eco5hF/8Ni2gjIr7DGBXdDc+74Y0NXyaDBkPumsM1 sq8vTZ3YFLDtrQa5DUeSyf19TB0Fy+W43clnEBA3m6opKXLjwMZvzny/SJzvzdPOIZ0v zN7Po9LpMGboAdOCMHbUJhVBkjU7CkcuQNN9E= MIME-Version: 1.0 Received: by 10.216.90.139 with SMTP id e11mr1951786wef.111.1266103324230; Sat, 13 Feb 2010 15:22:04 -0800 (PST) From: Marco Speranza Date: Sun, 14 Feb 2010 00:21:44 +0100 Message-ID: <81cfe9551002131521o6a7127f9he645a18b63a1ca59@mail.gmail.com> Subject: Migrator and exit error code To: user-java@ibatis.apache.org Content-Type: multipart/alternative; boundary=0016e6d7e4e1e3c6b5047f83a6f2 --0016e6d7e4e1e3c6b5047f83a6f2 Content-Type: text/plain; charset=ISO-8859-1 Hi all, I'm using migrator into a Continuous integration tool, to automate and test our database scripts. The problem is that when one SQL error is encountered, migrator does not return the error code to the shell, and my CI tool does not report correctly the error. Yesterday night I've made a little patch for this problem: when migrator command fails and force argument is false, the program exits with an error code greater then 0. Can I open a Jira issue and drop it the patch? best regards -- Marco Speranza --0016e6d7e4e1e3c6b5047f83a6f2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi all, I'm using migrator into a Continuous integration tool, to automate and = test our database scripts.=20 The problem is that when one SQL error is encountered, migrator does not re= turn the error code to the shell, and my CI tool does not report correctly = the error. Yesterday night I've made a little patch for this problem: when migrato= r command fails and force argument is false, the program exits with an erro= r code greater then 0. Can I open a Jira issue and drop it the patch? best regards


--
Marco Speranza <marco.speranza79@g= mail.com>
--0016e6d7e4e1e3c6b5047f83a6f2--