Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 36636 invoked by uid 500); 23 Jul 2003 22:20:46 -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 36623 invoked from network); 23 Jul 2003 22:20:45 -0000 Received: from mx2.sonypictures.com (66.77.63.115) by daedalus.apache.org with SMTP; 23 Jul 2003 22:20:45 -0000 Received: (qmail 22051 invoked by uid 0); 23 Jul 2003 22:17:01 -0000 Received: from unknown (HELO spde-mail1.spde.net) (160.33.16.160) by mx2.sonypictures.com with SMTP; 23 Jul 2003 22:17:01 -0000 Received: from sl-mail2.spde.net ([160.33.16.162]) by spde-mail1.spde.net with Microsoft SMTPSVC(5.0.2195.6713); Wed, 23 Jul 2003 15:20:26 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: default bsedir Date: Wed, 23 Jul 2003 15:20:26 -0700 Message-ID: <961522C00478694CB10DAFE295B7ED81014C6764@sl-mail2.spde.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: default bsedir Thread-Index: AcNRZYAQFVo28o8wQzyPmRn9uc9T2QAAs8Pw From: "Harkness, David" To: "Ant Users List" X-OriginalArrivalTime: 23 Jul 2003 22:20:26.0057 (UTC) FILETIME=[9DB0E390:01C35168] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N If I'm not mistaken, the standard is to have build.xml at the root of your project directory: / build.xml classes/ src/ test/ This way everything is available from "." inside build.xml. I'm not necessarily recommending you change the location of your build.xml as this might be a lot of work if you have many large projects, but it is probably the source of the confusion. David Harkness Sony Pictures Digital Networks (310) 482-4756 -----Original Message----- From: unmesh joshi [mailto:unmesh_joshi@yahoo.com]=20 Sent: Wednesday, July 23, 2003 2:58 PM To: Ant Users List Subject: Re: default bsedir Thanks all!. Actually I was unnecessaryli confused. The thing was we had definition like this =20 .... ... =20 Our build file is under /src directory. Above file was in src dir and used to create a build dir /src_build/... =20 A sibling of src dir.=20 =20 This was done i was told because if we create build dir inside srcdir like src/build/classes each ant call used to take a lot of time. When build dir was made sibling the ant calls were too fast and lot of improvement in the build time. =20 Thanks, Unmesh =20 =20 =20 =20 =20 __matthewHawthorne wrote: (From the ant manual:) basedir =3D the base directory from which all path calculations are done. This=20 attribute might be overridden by setting the "basedir" property=20 beforehand. When this is done, it must be omitted in the project tag. If neither the attribute nor the property have been set, the parent=20 directory of the buildfile will be used. unmesh joshi wrote: >Hi, > >What is the default for basedir attribute in project element? > >When I omitted it from my build file. The default taken was parent=20 >directory of the directory in which build.xml was there. > >but in the book ANT definitive guide, its given that default basedir is >the directory containing the build file. What is correct? > >=20 > >Thanks, > >Unmesh > >=20 > > >--------------------------------- >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design software >=20 > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------- Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org