Return-Path: Delivered-To: apmail-buildr-users-archive@www.apache.org Received: (qmail 88560 invoked from network); 16 Jul 2010 15:25:39 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Jul 2010 15:25:39 -0000 Received: (qmail 32393 invoked by uid 500); 16 Jul 2010 15:25:39 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 32339 invoked by uid 500); 16 Jul 2010 15:25:38 -0000 Mailing-List: contact users-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@buildr.apache.org Delivered-To: mailing list users@buildr.apache.org Received: (qmail 32304 invoked by uid 99); 16 Jul 2010 15:25:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 15:25:38 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.125.83.44] (HELO mail-gw0-f44.google.com) (74.125.83.44) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 15:25:31 +0000 Received: by gwj19 with SMTP id 19so1430803gwj.17 for ; Fri, 16 Jul 2010 08:24:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.59.223 with SMTP id m31mr1029185qah.207.1279293847425; Fri, 16 Jul 2010 08:24:07 -0700 (PDT) Received: by 10.229.229.144 with HTTP; Fri, 16 Jul 2010 08:24:06 -0700 (PDT) In-Reply-To: References: Date: Fri, 16 Jul 2010 11:24:06 -0400 Message-ID: Subject: Re: what are buildr users using to deploy? From: Shane Witbeck To: users@buildr.apache.org Content-Type: multipart/alternative; boundary=00c09f972a6e573f54048b82cf94 X-Virus-Checked: Checked by ClamAV on apache.org --00c09f972a6e573f54048b82cf94 Content-Type: text/plain; charset=ISO-8859-1 Kristof, I have dozens of Java apps that can be classified as dependency, standalone, batch, and web. I've heavily extended Buildr to group similar functionality for each type of app. For example, the web apps, all get deployed to one or more Tomcat instances on several machines. By grouping the functionality, I keep things concise and only have to update code in one place if I change the way I deploy web apps. I use net-sftp to upload all relevant files to a common NFS location for each environment (we have 7 different environments). Then use net-ssh to do pre and post remote operations like restarting Tomcat instances or stopping/starting remote scripts. I've been inspired recently by reading about some people are using Capistrano to deploy Java apps and yesterday hearing about Twitter using Murder to deploy to their large server farms. Thanks, Shane On Fri, Jul 16, 2010 at 10:50 AM, Kristof Jozsa wrote: > I would also be interested in a working general approach.. maybe > something like Vlad (http://rubyhitsquad.com/Vlad_the_Deployer.html) > could also be utilized? > > Shane, care to share a few details about your scripts? > > K > > On Fri, Jul 16, 2010 at 1:35 PM, Shane Witbeck > wrote: > > I'm curious what other buildr users are using to deploy their java apps? > > > > I've written custom buildr tasks using net-ssh and net-sftp to upload > files > > and perform remote admin tasks including deployment of wars and > standalone > > java apps. > > > > While the custom tasks I wrote work well, I'm debating a move to > something > > like Capistrano/Murder with hooks in Buildr. > > > > -- > > -Shane > > > -- -Shane --00c09f972a6e573f54048b82cf94--