Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 90759 invoked from network); 9 Nov 2009 19:13:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Nov 2009 19:13:23 -0000 Received: (qmail 16383 invoked by uid 500); 9 Nov 2009 19:13:19 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 16299 invoked by uid 500); 9 Nov 2009 19:13:19 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 16288 invoked by uid 99); 9 Nov 2009 19:13:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Nov 2009 19:13:19 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [66.226.64.22] (HELO pro21.abac.com) (66.226.64.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Nov 2009 19:13:08 +0000 Received: from [192.168.168.8] (c-66-31-40-155.hsd1.ma.comcast.net [66.31.40.155]) (authenticated bits=0) by pro21.abac.com (8.14.3/8.14.3) with ESMTP id nA9JC7Hr085916 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Mon, 9 Nov 2009 11:12:09 -0800 (PST) (envelope-from kbowen@als.com) Message-Id: <6C32EBA3-A3DD-4621-BC8C-2C5908D05412@als.com> From: Ken Bowen To: "Tomcat Users List" In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: Deploying and building a war file Date: Mon, 9 Nov 2009 14:12:41 -0500 References: X-Mailer: Apple Mail (2.936) X-Spam-Score: 0.609 (RCVD_IN_PBL,RDNS_DYNAMIC) X-Virus-Checked: Checked by ClamAV on apache.org If you use Eclipse (www.eclipse.org/ free; runs on Wins/Mac/Linux) with the web plugins, it records your deploy target, and allows you to deploy with either a war file, or in "exploded form". In the latter case, you can usually leave your web server running, make a code change, save the file, and it is automatically re-compiled & re- deployed to the running server. At worst, you only need to hit a refresh button. It makes life much simpler, and the syntax-directed editor saves me from many stupidities. --Ken On Nov 9, 2009, at 7:04 AM, Ziggy wrote: > Hi all, > > I've got a query on the way web applications are deployed. I have an > application that has several jsp files and serlvets that are in > WEB-INF/classes. > > When i deploy the application all i do is do a checkout on CVS, make > the > changes, rebuild the war using ANT and redeploy manually. This works > fine > but now i am having some doubts on this approach. > > Basicaly if i even change one file i have to rebuild the war file > meaning i > have to recompile everything. I think this is unecessary. i would > like to be > able to just recompile the one file and redeploy the one file > without having > to rebuild the whole war file. > > 1. How do you deploy your application? If you deploy as a war file, > do you > recompile everything even if the change is to a single file or a > configuration file. > > 2. Could you provide an example on the approach you use from the > point a > source file comes out from CVS to the point it get to the production > environment. (An example with a single file change would be usefull) > > 2. Do you use any tool to manage this? > > I am thinking that if i change one file i should be able to just > compile > that one file and move it to the WEB-INF/classes folder into the > relevant > folder. This might work but is there a better way of doing this > instead of > moving it manually? > > > Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org