From user-return-46735-apmail-ant-user-archive=ant.apache.org@ant.apache.org Wed Nov 03 16:33:06 2004 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 22855 invoked from network); 3 Nov 2004 16:33:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Nov 2004 16:33:06 -0000 Received: (qmail 1399 invoked by uid 500); 3 Nov 2004 16:32:51 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 1328 invoked by uid 500); 3 Nov 2004 16:32:51 -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 1313 invoked by uid 99); 3 Nov 2004 16:32:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [63.103.126.135] (HELO mail.dsg.vertisinc.com) (63.103.126.135) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 03 Nov 2004 08:32:50 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4C1C2.C0DA6224" Subject: zip instead of war Date: Wed, 3 Nov 2004 10:32:47 -0600 Message-ID: <34385CBC5E8E664EB0007814636AB36A012D56C5@exchange1.dimensions.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: zip instead of war Thread-Index: AcTBwsDN5/pmdKzERKW80E4lCNRqOA== From: "Scott Purcell" To: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C4C1C2.C0DA6224 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, =20 I am trying to create a war file to deploy on my servlet container. I = have used the command prior, but now would like to use = command. My targets involve the following: 1) info - gather property values, etc. 2) checkout - pull classes and libs from cvs using 3) compile - javac the above classes, using the libs in the classpath 4) createwar - somehow call the with all files needed in the = correct directory structure. =20 So my question is as follows: I need to create the following structure before calling zip: myapp myapp/WEB-INF myapp/WEB-INF/lib myapp/WEB_INF/classes myapp/WEB-INF/web.xml etc. =20 I currently use three directories: src - where cvs check out into build - where I compile src to dist - where the .war file ends up. =20 Should I create the above structure before I compile? and then put the = compile there. I am trying to come up with a workflow and could use a = hand from someone who has possibly been through this: =20 Thanks, Scott =20 ------_=_NextPart_001_01C4C1C2.C0DA6224--