Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 70828 invoked from network); 21 Nov 2002 00:45:56 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 21 Nov 2002 00:45:56 -0000 Received: (qmail 14631 invoked by uid 97); 21 Nov 2002 00:46:36 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 14515 invoked by uid 97); 21 Nov 2002 00:46:35 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 14418 invoked by uid 98); 21 Nov 2002 00:46:35 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: How to break up file-build.xml and execute them together as optional X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Date: Wed, 20 Nov 2002 16:45:31 -0800 Message-ID: <69C78A93CD5E934A84F2B90747D91CCF1FD373@mail1.FutureTrade.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to break up file-build.xml and execute them together as optional Thread-Index: AcKQ9Td3a76KH9j1TgS7ziDQUsSJswAAGRLw From: "Alexei Betin" To: "Ant Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N in my approach I use 2 kinds of "global" files: one category is for shared properties and targets, these files contain the real smarts of your build, - such files are included by individual project build.xml files using normal XML ENTITY include, so the build.xml's are dumb - just a bunch of sets & includes, then there are global "drivers" - buildfiles which are used to invoke a series of individual build.xml's, these usually also dumb - just a bunch of calls dynamically chosing what to run is done with setting (or not) a property and then=20 putting a condition on a target (=20 ) hope it helps, ~Alexei > -----Original Message----- > From: ravi appala [mailto:appala12@yahoo.com] > Sent: Wednesday, November 20, 2002 4:30 PM > To: Ant Users List > Subject: How to break up file-build.xml and execute them together as > optional >=20 >=20 > I would like to know the way to compile pieces with > individual (pices of)build.xml and also all of them > together with option by selecting them dynamically. >=20 > I am using Ant to build and deploy for our system.We > are expanding our Web App Server to run with 20 java > applications. > I would like to create a build.xml for each > application and one global.xml with choosing each > build.xml of each application as demand and run it.How > could I do this? >=20 > Thanks, > ravi=20 >=20 > =3D=3D=3D=3D=3D > Thanks, > RAVI KUMAR APPALA >=20 > __________________________________________________ > Do you Yahoo!? > Yahoo! Web Hosting - Let the expert host your site > http://webhosting.yahoo.com >=20 > -- > To unsubscribe, e-mail: =20 For additional commands, e-mail: = -- To unsubscribe, e-mail: For additional commands, e-mail: