Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 39478 invoked from network); 15 Jun 2000 00:10:28 -0000 Received: from e24.nc.us.ibm.com (32.97.136.230) by locus.apache.org with SMTP; 15 Jun 2000 00:10:28 -0000 Received: from southrelay02.raleigh.ibm.com (southrelay02.raleigh.ibm.com [9.37.3.209]) by e24.nc.us.ibm.com (8.9.3/8.9.3) with ESMTP id TAA30596 for ; Wed, 14 Jun 2000 19:57:49 -0500 From: rubys@us.ibm.com Received: from d54mta04.raleigh.ibm.com (d54mta04.raleigh.ibm.com [9.67.228.36]) by southrelay02.raleigh.ibm.com (8.8.8m3/NCO v4.9) with SMTP id UAA42194 for ; Wed, 14 Jun 2000 20:10:27 -0400 Received: by d54mta04.raleigh.ibm.com(Lotus SMTP MTA v4.6.5 (863.2 5-20-1999)) id 852568FF.0000F3AC ; Wed, 14 Jun 2000 20:10:23 -0400 X-Lotus-FromDomain: IBMUS To: ant-dev@jakarta.apache.org Message-ID: <852568FF.00007154.00@d54mta04.raleigh.ibm.com> Date: Wed, 14 Jun 2000 20:04:05 -0400 Subject: Re: Little patch in documentation and question Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Julien Couvreur wrote: > I just started using Ant, and it seems the build command in the > documentation is not complete it should be "-Dant.dist.dir=..." instead > of "-Ddist.dir=...". Since I am not a "commiter" I let this to the one > in charge. I checked the latest documentation (in CVS) and everything appears correct. Perhaps it was already fixed. > Beside this, I would like to know if it is possible to call another > build.xml from a target (), which would be > better than "". Absolutely. If you have the documentation, take a look at jakarta-ant/docs/index.html#ant > Also why is there not a > construction ? Wouldn't it be useful ? It would be easier to read than > using the actually depends="..." if="..." construction ? This is a long discussion. People have proposed everything from for loops and the like. The general reaction of the group has been that we do not want to reinvent that which we don't like about make. Note: depends is not a conditional construct, but a declarative means of stating how the individual targets are to be ordered. > And last but not least, is there any way a custom task may modify > the properties in the environment that called it ? If you are talking about the external operating system environment, then no. If you are talking about the values of properties used within Ant, then you can use: this.project.setProperty(property, value); - Sam Ruby