Return-Path: Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 1494 invoked by uid 500); 1 Aug 2003 09:42:20 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 1475 invoked from network); 1 Aug 2003 09:42:19 -0000 Received: from viefep11-int.chello.at (213.46.255.27) by daedalus.apache.org with SMTP; 1 Aug 2003 09:42:19 -0000 Received: from Schnitzel ([80.109.12.234]) by viefep11-int.chello.at (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with ESMTP id <20030801094226.XPEN14473.viefep11-int.chello.at@Schnitzel> for ; Fri, 1 Aug 2003 11:42:26 +0200 From: "=?ISO-8859-1?Q?Siegfried_G=F6schl?=" To: "Maven Users List" Date: Fri, 01 Aug 2003 11:53:20 +0200 MIME-Version: 1.0 Subject: RE: "In-Place" Web Development Message-ID: <3F2A54B0.19887.30483A@localhost> Priority: normal In-reply-to: <9BAE99905FCF684D91F63E1439475FBA0484F296@sydmsg1.int.f2.com.au> X-mailer: Pegasus Mail for Windows (v4.02) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Brett, I came along this issue two weeks ago using Eclipse, Tomcat, Struts and the Tomcat Plugin for Eclipse. What I'm doing: +) I left MAVEN alone and tweaked the Eclipse confiugration to generate the class file into src/webapp/WEB-INF/classes. +) added a postGoal to war:webapp calling a locally defined goal local:webapp Copy libs to ${maven.war.src}/WEB-INF/lib Copy class files to ${maven.war.src}/WEB-INF/classes What it does is to copy the libs and generated classes from target into src/webapp/WEB-INF. And this is the place where the "in-place" development is done - the main inconvenience is changing the referenced JARs. Cheers, Siegfried Goeschl On 1 Aug 2003 at 15:59, Brett Porter wrote: > This isn't really in place though.. Although it is quick enough for > me. > > If you want it in place, what I've done in the past is have the target > dir set to the current directory so that WEB-INF/lib and classes get > populated by maven (everything else src=dest so its no problem), then > symlink or configure whatever tomcat instance you are running to that > directory, compile into WEB-INF/classes, tweak your JSPs, etc > > - Brett > > > -----Original Message----- > > From: Ben Walding [mailto:ben@walding.com] > > Sent: Friday, 1 August 2003 3:45 PM > > To: Maven Users List > > Subject: Re: "In-Place" Web Development > > > > > > Take a look at > > http://wiki.codehaus.org/maven/CreatingWebApplications > > > > Dave Ford wrote: > > > > >How do people do "in-place" web development with Maven? I have been > > > developing web apps "in-place" now for quite some time > > (pre-maven). By > > >in-place, I mean the following: > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org