You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by S I <xi...@hotmail.com> on 2005/07/12 18:19:01 UTC
Doing patch builds
Hi
I was hoping someone could put me on the right track please.
I finally automated my whole build and deployment as well as writing code to
handle branch builds. Now I need to write code to handle patch builds.
This is when the developers hand over couple of modified files which need to
be compiled, packaged, and delivered to our production to be deployed (in a
.war file) to the live site.
I'm not sure how to go about doing a build that looks into CVS for the
changed files, compares them to a list sent by the developers, and then it
parses out their corresponding .class & .jar files or deliverables and
packages them into a .war file? This brings me to my next question: Does
anyone know if Tomcat needs the complete war file to explode or could it
just explode a war file which contains only the latest modified files and
replace the files on the live site? Any ideas?
Thank you
Steven
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Doing patch builds
Posted by S I <xi...@hotmail.com>.
Thank you. I have some ideas now. :)
----Original Message Follows----
From: Uri <ur...@yandex.ru>
Reply-To: "Ant Users List" <us...@ant.apache.org>
To: Ant Users List <us...@ant.apache.org>
Subject: Re: Doing patch builds
Date: Wed, 13 Jul 2005 15:19:48 +0400
MIME-Version: 1.0
Received: from mail.apache.org ([209.237.227.199]) by MC6-F2.hotmail.com
with Microsoft SMTPSVC(6.0.3790.211); Wed, 13 Jul 2005 04:20:01 -0700
Received: (qmail 95328 invoked by uid 500); 13 Jul 2005 11:19:55 -0000
Received: (qmail 95314 invoked by uid 99); 13 Jul 2005 11:19:54 -0000
Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by
apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 04:19:54 -0700
Received: pass (asf.osuosl.org: domain of urijmail@yandex.ru designates
213.180.200.18 as permitted sender)
Received: from [213.180.200.18] (HELO mx18.yandex.ru) (213.180.200.18) by
apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 04:19:51 -0700
Received: from igw.togethersoft.ru ([212.176.3.105]:4756
"EHLO[143.186.194.141]" smtp-auth: "urijmail" TLS-CIPHER:
<none>TLS-PEER-CN1: <none>) by mail.yandex.ru with ESMTP id
S3375641AbVGMLTp(ORCPT <rf...@ant.apache.org>);Wed, 13 Jul 2005
15:19:45 +0400
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8=
Mailing-List: contact user-help@ant.apache.org; run by ezmlm
Precedence: bulk
List-Unsubscribe: <ma...@ant.apache.org>
List-Help: <ma...@ant.apache.org>
List-Post: <ma...@ant.apache.org>
List-Id: "Ant Users List" <user.ant.apache.org>
Delivered-To: mailing list user@ant.apache.org
X-ASF-Spam-Status: No, hits=-0.0 required=10.0tests=SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: apache.org
X-Comment: RFC 2476 MSA function at mx18.yandex.ru logged sender identity
as: urijmail
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: ru-ru, ru
References: <BA...@phx.gbl>
X-Virus-Checked: Checked by ClamAV on apache.org
Return-Path: user-return-51096-xiamak=hotmail.com@ant.apache.org
X-OriginalArrivalTime: 13 Jul 2005 11:20:02.0086 (UTC)
FILETIME=[CFCC7C60:01C5879C]
Hi
you can try using tags in cvs.
so builder will work like this:
1 step: find all in cvs that doesn't match your last saved tag (result
should be updated files) and update them
2 step: tag all with new tag and save it
>Hi
>
>I was hoping someone could put me on the right track please.
>
>I finally automated my whole build and deployment as well as writing code
>to handle branch builds. Now I need to write code to handle patch builds.
>This is when the developers hand over couple of modified files which need
>to be compiled, packaged, and delivered to our production to be deployed
>(in a .war file) to the live site.
>
>I'm not sure how to go about doing a build that looks into CVS for the
>changed files, compares them to a list sent by the developers, and then it
>parses out their corresponding .class & .jar files or deliverables and
>packages them into a .war file? This brings me to my next question: Does
>anyone know if Tomcat needs the complete war file to explode or could it
>just explode a war file which contains only the latest modified files and
>replace the files on the live site? Any ideas?
>
>Thank you
>
>Steven
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>For additional commands, e-mail: user-help@ant.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Doing patch builds
Posted by Uri <ur...@yandex.ru>.
Hi
you can try using tags in cvs.
so builder will work like this:
1 step: find all in cvs that doesn't match your last saved tag (result
should be updated files) and update them
2 step: tag all with new tag and save it
> Hi
>
> I was hoping someone could put me on the right track please.
>
> I finally automated my whole build and deployment as well as writing
> code to handle branch builds. Now I need to write code to handle
> patch builds. This is when the developers hand over couple of
> modified files which need to be compiled, packaged, and delivered to
> our production to be deployed (in a .war file) to the live site.
>
> I'm not sure how to go about doing a build that looks into CVS for the
> changed files, compares them to a list sent by the developers, and
> then it parses out their corresponding .class & .jar files or
> deliverables and packages them into a .war file? This brings me to my
> next question: Does anyone know if Tomcat needs the complete war file
> to explode or could it just explode a war file which contains only
> the latest modified files and replace the files on the live site? Any
> ideas?
>
> Thank you
>
> Steven
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org