Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 18505 invoked from network); 5 Jul 2006 17:49:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Jul 2006 17:49:35 -0000 Received: (qmail 59531 invoked by uid 500); 5 Jul 2006 17:49:31 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 59497 invoked by uid 500); 5 Jul 2006 17:49:31 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 59485 invoked by uid 99); 5 Jul 2006 17:49:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 10:49:30 -0700 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_MESSAGE,HTML_TAG_EXIST_TBODY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [67.104.17.130] (HELO exchbg03.prounlimited.corp) (67.104.17.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2006 10:49:30 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6A05B.512E1BFF" Subject: RE: build sub-source tree in the order I specified. Date: Wed, 5 Jul 2006 10:49:09 -0700 Message-ID: <55879AC51120084A8DC1A3135BA1FA4707AF48@webemail.pro-unlimited.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: build sub-source tree in the order I specified. Thread-Index: AcagWXn6aofLW1YERxiJc5YXBidgPgAAChCA From: "Chun Ji" To: "Ant Users List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C6A05B.512E1BFF Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I was trying to compile all the java files under that "/com" directory, = but no good. The reason is some of the files under that source tree are = not ready for build. That is why I found a way to build files under some = subdir.=20 But since there are some depends, so I have to force some files to build = before others.=20 =20 I don't know how you can "configure the task" in that situation ? In the = case that I have given, the ANT always build the files in that order=20 " com/contractor/useraccount/** com/manager/useraccount/** com/supplier/useraccount/** com/users/useraccount/** " NOT " com/manager/useraccount/** com/contractor/useraccount/** com/supplier/useraccount/** com/users/useraccount/** " =20 -CJ -----Original Message----- From: Jeffrey E Care [mailto:carej@us.ibm.com] Sent: Wednesday, July 05, 2006 10:40 AM To: Ant Users List Subject: Re: build sub-source tree in the order I specified. Importance: Low If you configure the task correctly the file order doesn't matter: the = compiler will figure out the proper order. _________________________________________________________________________= ___________________=20 Jeffrey E. (Jeff) Care =09 carej@us.ibm.com=20 IBM WebSphere Application Server Development =09 WAS Pyxis Lead Release Engineer=20 WebSphere Mosiac =09 WebSphere Brandmark "Chun Ji" wrote on 07/05/2006 01:20:34 PM: > Hi=20 > I can edit a "list.txt" files as follows > " > com/manager/useraccount/** > com/contractor/useraccount/** > com/supplier/useraccount/** > com/users/useraccount/** > ... > " > And put such target in the build.xml=20 > "=20 > =20 > > " >=20 > In that way, the ANT will compile the files under each directory I=20 > specified one by one, but is in Alphabetical Order, NOT the order I=20 > specified in that list.=20 >=20 > So the question I have is how to make these files compiled in the=20 > order I specified ?=20 >=20 >=20 > -cj >=20 >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org >=20 ------_=_NextPart_001_01C6A05B.512E1BFF--