Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 11812 invoked from network); 13 Jul 2005 23:54:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Jul 2005 23:54:37 -0000 Received: (qmail 93344 invoked by uid 500); 13 Jul 2005 23:54:29 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 93301 invoked by uid 500); 13 Jul 2005 23:54:29 -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 93288 invoked by uid 99); 13 Jul 2005 23:54:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 16:54:29 -0700 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_40_50,HTML_MESSAGE,SPF_HELO_FAIL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of Darin_Swanson@us.ibm.com designates 32.97.110.133 as permitted sender) Received: from [32.97.110.133] (HELO e35.co.us.ibm.com) (32.97.110.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2005 16:54:27 -0700 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e35.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j6DNsQeR642866 for ; Wed, 13 Jul 2005 19:54:27 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j6DNsQ5b211956 for ; Wed, 13 Jul 2005 17:54:26 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id j6DNsQUK007401 for ; Wed, 13 Jul 2005 17:54:26 -0600 Received: from d03nm118.boulder.ibm.com (d03nm118.boulder.ibm.com [9.17.195.144]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j6DNsQQD007394 for ; Wed, 13 Jul 2005 17:54:26 -0600 In-Reply-To: To: "Ant Users List" MIME-Version: 1.0 Subject: Re: X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: From: Darin Swanson Date: Wed, 13 Jul 2005 16:54:24 -0700 X-MIMETrack: Serialize by Router on D03NM118/03/M/IBM(Build V70_M4_01112005 Beta 3|January 11, 2005) at 07/13/2005 17:54:25, Serialize complete at 07/13/2005 17:54:25 Content-Type: multipart/alternative; boundary="=_alternative 0083483C8825703D_=" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=_alternative 0083483C8825703D_= Content-Type: text/plain; charset="US-ASCII" But you need to set inheritAll to false...it defaults to true for the ant task HTH Darins "Alan Char" 07/13/2005 12:37 PM Please respond to "Ant Users List" To cc Subject I am using Ant 1.6.2 and it looks to me like inheritAll="false" isn't working for the task. I have a build.xml: and a sub/build.xml: When I run ant, I see this: Buildfile: build.xml default: [echoproperties] #Ant properties [echoproperties] #Wed Jul 13 12:16:38 PDT 2005 [echoproperties] ant.file.bug=C\:\\devel\\test\\bug\\build.xml [echoproperties] ant.file=C\:\\devel\\test\\bug\\build.xml [echoproperties] ant.project.name=bug [echoproperties] ant.java.version=1.4 [echoproperties] ant.home=C\:\\devel\\yoda\\build\\ant\\bin\\.. [echoproperties] ant.library.dir=C\:\\devel\\yoda\\build\\ant\\lib [echoproperties] ant.version=Apache Ant version 1.6.2 compiled on July 16 2004 default: [echoproperties] #Ant properties [echoproperties] #Wed Jul 13 12:16:38 PDT 2005 [echoproperties] ant.file.bug=C\:\\devel\\test\\bug\\build.xml [echoproperties] ant.file=C\:\\devel\\test\\bug\\sub\\build.xml [echoproperties] ant.project.name=sub [echoproperties] ant.file.sub=C\:\\devel\\test\\bug\\sub\\build.xml [echoproperties] ant.java.version=1.4 [echoproperties] ant.home=C\:\\devel\\yoda\\build\\ant\\bin\\.. [echoproperties] ant.library.dir=C\:\\devel\\yoda\\build\\ant\\lib [echoproperties] ant.version=Apache Ant version 1.6.2 compiled on July 16 2004 [echo] myprop: foo BUILD SUCCESSFUL Total time: 0 seconds Shouldn't ${myprop} be undefined in the sub directory project? I am expecting to see [echo] myprop: ${myprop} instead of [echo] myprop: foo Have I misunderstood something about Ant, or is this a bug? I couldn't find a bug like this in the database. Any help would be greatly appreciated. Thanks. --Alan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --=_alternative 0083483C8825703D_=--