Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 75144 invoked from network); 21 May 2004 21:10:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 May 2004 21:10:31 -0000 Received: (qmail 5896 invoked by uid 500); 21 May 2004 21:10:43 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 5845 invoked by uid 500); 21 May 2004 21:10:42 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 5828 invoked by uid 98); 21 May 2004 21:10:42 -0000 Received: from snesbitt@cobaltgroup.com by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(207.149.72.5):. Processed in 0.489884 secs); 21 May 2004 21:10:42 -0000 X-Qmail-Scanner-Mail-From: snesbitt@cobaltgroup.com via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(207.149.72.5):. Processed in 0.489884 secs) Received: from unknown (HELO tippecanoe.cobaltgroup.com) (207.149.72.5) by hermes.apache.org with SMTP; 21 May 2004 21:10:42 -0000 Received: from californium.cobaltgroup.com (californium.cobaltgroup.com [192.168.30.59]) by tippecanoe.cobaltgroup.com (Switch-2.2.8/Switch-2.2.6) with ESMTP id i4LLAEg08375 for ; Fri, 21 May 2004 14:10:14 -0700 From: Stephen Nesbitt Reply-To: snesbitt@cobaltgroup.com Organization: The Cobalt Group To: Ant Users List Subject: Re: deployments... Date: Fri, 21 May 2004 14:10:18 -0700 User-Agent: KMail/1.6.2 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <200405211410.18234.snesbitt@cobaltgroup.com> X-Archived: msg.XXqY3oyB@tippecanoe.cobaltgroup.com X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Friday 21 May 2004 08:07 am, EJ Ciramella wrote: > How are people handling deployments? =A0Currently, we're using exploded > directory structures (both in dev and in prod). =A0I'd like to see us get > on the ear/war boat, but the biggest complaint is that it takes too long > to see a change to a single jsp file (putting the jsp in the war and > then putting the war in the ear takes about 2.5 min). In my opinion this is a fundamental problem with the whole JAR/EAR/WAR thin= g.=20 Packaging is nice but the expense associated with the packaging can put a=20 real dent in developer productivity. (Don't get me started on the whole=20 problem of replacing a single JSP located in a WAR embedded in an EAR!) There are a couple of routes that I know of. 1) Weblogic 8.x supports a split-directory structure which essentially allo= ws=20 you to overlay your development sandbox onto a Weblogic server. Unfortunate= ly=20 it is Weblogic proprietary, requires use of BEA supplied ANT tasks which ar= e=20 buggy and poorly implemented and will lock your build system into BEA's=20 development cycle (for some inane reason BEA distributes the build related Ant tasks into their product related JARs ) 2) You can - theoretically - setup a build target which will create an=20 exploded EAR/WAR structure for development purposes. Let's call it a=20 dev-deploy target. You also have a package target which spits out an EAR.=20 Developer's use the dev-deploy target, build engineering/release uses the=20 package target. ( I say theoretically because I'm not sure how to do explod= ed=20 EJBs) 3) You can do a hybrid approach in which you continue to package EJBs, but = use=20 exploded WARs with the WARs implemented as symbolic links to your developme= nt=20 area. This of course assumes you are using UNIX and your development=20 structure - at least the WAR part - mimics an exploded WAR. =2Dsteve =2D-=20 Stephen Nesbitt Senior Configuration Management Engineer The Cobalt Group 206.219.8271 snesbitt@cobaltgroup.com --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org