From users-return-7775-apmail-continuum-users-archive=continuum.apache.org@continuum.apache.org Thu Aug 20 20:51:27 2009 Return-Path: Delivered-To: apmail-continuum-users-archive@www.apache.org Received: (qmail 23708 invoked from network); 20 Aug 2009 20:51:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Aug 2009 20:51:27 -0000 Received: (qmail 96827 invoked by uid 500); 20 Aug 2009 20:51:46 -0000 Delivered-To: apmail-continuum-users-archive@continuum.apache.org Received: (qmail 96768 invoked by uid 500); 20 Aug 2009 20:51:45 -0000 Mailing-List: contact users-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@continuum.apache.org Delivered-To: mailing list users@continuum.apache.org Received: (qmail 96753 invoked by uid 99); 20 Aug 2009 20:51:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Aug 2009 20:51:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [212.103.70.40] (HELO mail.swordlord.org) (212.103.70.40) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 20 Aug 2009 20:51:35 +0000 Received: (qmail 28610 invoked by uid 1001); 20 Aug 2009 22:51:12 +0200 Received: from 212.254.28.113 by bunny (envelope-from , uid 64011) with qmail-scanner-1.25 (clamdscan: 0.84/1207. spamassassin: 3.0.3. Clear:RC:1(212.254.28.113):. Processed in 0.031496 secs); 20 Aug 2009 20:51:12 -0000 Received: from unknown (HELO localhost.localdomain) (212.254.28.113) by mail.swordlord.org with SMTP; 20 Aug 2009 22:51:12 +0200 Date: Thu, 20 Aug 2009 22:51:12 +0200 From: Adrian Wiesmann To: users@continuum.apache.org Subject: Re: Automated installation after build Message-ID: <20090820225112.068b2dde@localhost.localdomain> In-Reply-To: References: <20090814143123.4f502dc7@localhost.localdomain> <20090817110420.5febe738@localhost.localdomain> Organization: SOMAP.org X-Operating-System: SOMAP User-Agent: Fish! X-Mailer: Snake Oil Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Wendy Smoak wrote: > One way to think about Continuum is "build automation". If you look > in the logs, you'll see it executing a command-line build like "mvn > clean install" or "ant build" on the schedule you chose [subject to > some conditions like whether anything has changed in source control]. > > So that would mean you need to make your Ant script do everything you > want, then have Continuum execute it at the correct time. I think I get the hang of it. But the learning curve is quite steep. Thanks to your help I was now able to do what I wanted to. Thanks again. > There has occasionally been discussion of adding pre- and post- build > hooks into Continuum, so you can execute things that are not part of > the build, but it hasn't happened yet. If I understood it correctly, you should be able to do so today already? Like having multiple build steps where you call a different Ant target. I do something like that calling the install_webapp target after the build target. What I am wondering now is the following scenario: We do have a properties.xml and a properties-local.xml. Both are referenced from within the build.xml file (used with Ant). The -local file basically overrides the "global" settings from the properties file. The Ant build.xml file is part of the Subversion repository. The properties.xml as well (-local obviously not). What I now need on the Continuum server is the properties-local.xml as well. I solved this with adding a properties-local.xml file to the same folder as the files under the repositories control (manually). Is this correct, or is there some (better) way to tell Continuum (or directly Ant) where to find such files? Cheers and thanks, Adrian