Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 4994 invoked from network); 21 Sep 2000 19:07:10 -0000 Received: from insws8501.gs.com (204.4.182.10) by locus.apache.org with SMTP; 21 Sep 2000 19:07:10 -0000 Received: from insmo8501.inz.gs.com (insmo8501.inz.gs.com [192.168.116.25]) by insws8501.gs.com (Postfix) with ESMTP id 94FA41BE61 for ; Thu, 21 Sep 2000 15:06:44 -0400 (EDT) Received: from gsny17a.wan.gs.com (gsny17a.wan.gs.com [138.8.220.64]) by insmo8501.inz.gs.com (Postfix) with SMTP id 86EF42E7DB for ; Thu, 21 Sep 2000 15:06:44 -0400 (EDT) Received: from 138.8.220.34 by gsny17a.wan.gs.com (InterScan E-Mail VirusWall NT); Thu, 21 Sep 2000 15:06:43 -0400 (Eastern Daylight Time) Received: from gsny23e.et.gs.com (gsny23e.et.gs.com [138.8.115.33]) by nbcppsh01.wan.gs.com (8.9.1a/8.9.0/postoffice1) with ESMTP id PAA01666 for ; Thu, 21 Sep 2000 15:06:43 -0400 (EDT) Received: by gsny23e.et.gs.com with Internet Mail Service (5.5.2448.0) id ; Thu, 21 Sep 2000 15:06:42 -0400 Message-ID: <0B3D16202899D311AFAC00902762C7E903FE5471@gsny23e.et.gs.com> From: "D'Souza, Sudeep" To: "'ant-user@jakarta.apache.org'" Subject: RE: Classpaths... Date: Thu, 21 Sep 2000 15:06:39 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hi, This I got from the index.xml from the website but the problem that I face is something like this a.xml ---------- ... b.xml ----------- c.xml ----------- Is it possibe to do such an include. I am using 1.2alpha version. Thanks, Sudeep. p.s. Is there any documentation on ant other than in the index.html in the jakarta site. -----Original Message----- From: Saviely [mailto:calix@SDF.lonestar.org] Sent: Thursday, September 21, 2000 8:22 AM To: 'ant-user@jakarta.apache.org' Subject: RE: Classpaths... 'alo, Fortunately for you, whenever you use the Ant task to call a subproject, you inherit the calling project's properties. If both have a property of the same name, the calling project overrides the subproject's property. That sort of thing is under the description of the Ant task in the docs, not in the properties part.. This is how I manage stuff; each person has a main Ant XML file, which is used to call the buildfiles in the CVS directory, overriding the default properties. If there are any "special needs" for a particular user, the buildfile can check if a certain tag property is set (probably bad use), or the user's main XML file can call it. Saviely On Thu, 21 Sep 2000, D'Souza, Sudeep wrote: > Yup got this working thanks a lot but I have another query.... > Can I set my classpath and other properties in one project and > include this project in other project and before I build any targets I want > these variables setup... > I want to put all these properties in something similar to header > files and include this in all the other projects. > > Thanks, > Sudeep.