Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 29633 invoked from network); 1 Sep 2004 15:18:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 1 Sep 2004 15:18:46 -0000 Received: (qmail 71789 invoked by uid 500); 1 Sep 2004 15:18:34 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 71743 invoked by uid 500); 1 Sep 2004 15:18:33 -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 71727 invoked by uid 99); 1 Sep 2004 15:18:33 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [209.115.238.212] (HELO smtp1.quadrus.com) (209.115.238.212) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 01 Sep 2004 08:18:33 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 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: Split build file Date: Wed, 1 Sep 2004 09:18:20 -0600 Message-ID: <12C89F7C939CDB45B073511113A9BFF51413AE@alpha.quadrus.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Split build file Thread-Index: AcSQNcz/V6QIvqQrRReOD0q2O/JDqAAAPzow From: "Vadim Kazakov" To: "Ant Users List" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Wow, never noticed these since I upgraded. This is great thanks. = Although I still am not quite sure what subant is used for. Is it used = for kicking off a sub build from a bootstrap? -----Original Message----- From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de]=20 Sent: September 1, 2004 9:10 AM To: user@ant.apache.org Subject: AW: Split build file New since 1.6. Then you should also look at , , and . Jan > -----Urspr=FCngliche Nachricht----- > Von: Vadim Kazakov [mailto:VadimK@quadrus.com] > Gesendet am: Mittwoch, 1. September 2004 17:04 > An: Ant Users List > Betreff: RE: Split build file >=20 > That's interesting I didn't know about this task. I just use the > task to access other files. >=20 > -----Original Message----- > From: Bill Rich [mailto:brich@webmethods.com]=20 > Sent: August 31, 2004 6:36 PM > To: 'Ant Users List' > Subject: RE: Split build file >=20 > You can import files to add targets to the available set. I=20 > have several > Ant > files that I have used to organize my targets because they just got to > much > for one file. In my files I do the following: >=20 > l10nproj.xml > >=20 > L10NProcess.xml > file=3D"${env.LEVTOOLSDIR}/L10NProcess/L10NProcess-macros.xml"/> > >=20 > L10NProcess-tasks.xml > file=3D"${env.LEVTOOLSDIR}/L10NProcess/L10NProcess-toktasks.xml"/> > file=3D"${env.LEVTOOLSDIR}/L10NProcess/L10NProcess-detoktasks.xml"/> > file=3D"${env.LEVTOOLSDIR}/L10NProcess/L10NProcess-p4tasks.xml"/> >=20 >=20 > I only copy l10nproj.xml into the directory where the project=20 > files are > stored and run it from there. When I run ant on the l10nproj.xml file > all of > the targets in all the files that are imported are available as though > they > were in the l10nproj.xml file. Of course you must be careful to have > unique > names for all the targets so there is no confusion as to which one you > are > referring to. >=20 > There is no automatic "jumping" into an imported file but you=20 > should be > able > to figure out a target that will do what you want. You might check out > > in antContrib if you want to loop through a bunch of test cases. Or > perhaps, > just using depends on a master target will also work. >=20 > HTH > Bill=20 >=20 > -----Original Message----- > From: Gera, Prateek [mailto:prateek.gera@hp.com]=20 > Sent: Tuesday, August 31, 2004 4:58 PM > To: Ant Users List > Subject: Split build file >=20 > Hi, > Is it possible to split a build project into multiple files, one main > build > file and the rest smaller that do only a part of the full build task.=20 > The smaller build files may not be executed independently.=20 >=20 > This will help be freeze my main build file and create=20 > smaller xml's to > execute any new tests as and when required. > Only minor changes would be required to main build file. >=20 >=20 > Something like this - > < project name=3D"buidandtest" default=3D"def" basedir-"."> ... > ... > > ... > ... > > .. > >=20 >=20 > Upon encountering the execution would jump to test1.xml or > test2.xml I have considered using command in main file but my > smaller > build file needs to call back targets in the main file and=20 > then it will > get > too complicated. >=20 >=20 > Thanks > prateek >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional > commands, e-mail: user-help@ant.apache.org >=20 >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org