From user-return-46761-apmail-ant-user-archive=ant.apache.org@ant.apache.org Thu Nov 04 09:56:08 2004 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 57025 invoked from network); 4 Nov 2004 09:56:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Nov 2004 09:56:08 -0000 Received: (qmail 479 invoked by uid 500); 4 Nov 2004 09:55:53 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 428 invoked by uid 500); 4 Nov 2004 09:55:52 -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 399 invoked by uid 99); 4 Nov 2004 09:55:51 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [69.55.225.129] (HELO ehatchersolutions.com) (69.55.225.129) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 04 Nov 2004 01:55:50 -0800 Received: by ehatchersolutions.com (Postfix, from userid 504) id 9A11113E200A; Thu, 4 Nov 2004 04:55:46 -0500 (EST) Received: from [192.168.1.101] (va-chrvlle-cad1-bdgrp1-4b-b-169.chvlva.adelphia.net [68.169.41.169]) by ehatchersolutions.com (Postfix) with ESMTP id C736213E2005 for ; Thu, 4 Nov 2004 04:55:31 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <20041104050609.E9B2313E2005@ehatchersolutions.com> References: <20041104050609.E9B2313E2005@ehatchersolutions.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Erik Hatcher Subject: Re: immutable property Date: Thu, 4 Nov 2004 04:55:34 -0500 To: "Ant Users List" X-Mailer: Apple Mail (2.619) X-Spam-Status: No, hits=-5.8 required=5.0 tests=AWL,BAYES_01,EMAIL_ATTRIBUTION,HTML_10_20,IN_REP_TO, QUOTED_EMAIL_TEXT,RCVD_IN_ORBS,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_APPLEMAIL version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Or, and I think even cleaner - put preparation stuff outside (and above for clarity) any targets. In Ant 1.6, anything can be outside of , not just as before. Erik On Nov 3, 2004, at 8:29 PM, Bill Rich wrote: >> From the output shown it looks to me like CopyBRBuildArtifacts ran >> before > prepare. Try making CopyBRBuildArtifacts depend on prepare. > > HTH > > Bill Rich > Wilandra Consulting LLC > 1325 Addiewell Place > San Jose, CA 95120-3905 > phone: +1 408 268-2452 > mobile: +1 408 410-9713 > Santa Cruz: +1 831 464-9007 > fax: +1 413 669-9716 > bill@wilandra.com > http://www.wilandra.com > > -----Original Message----- > From: Zafarano, Marcus [mailto:Marcus.Zafarano@LC.CA.GOV] > Sent: Wednesday, November 03, 2004 4:51 PM > To: Ant Users List > Subject: immutable property > > As stated in the ANT doc: > > Properties are immutable: whoever sets a property first freezes it for > the > rest of the build; they are most definately not variable. > > There are six ways to set properties: > > * By supplying both the name and value attribute...." > > I am setting in prepare, but when I call another target it does not > have the > info: > > > > > > > > > > value="${DSTAMP}-${TSTAMP}"/> > > > > > > dir="${drive}\${buildir}\${label}-${FTSTAMP}"/> > > > > dir="${drive}\${buildir}\${label}-${FTSTAMP}\${brlabel}-${FTSTAMP}"/> > > value="${drive}\${buildir}\${label}-${FTSTAMP}\${brlabel}-${FTSTAMP}"/> > > > > > > > > > > Target: This target copies the BR > images > to the build directory. > > > > > > > > > > > > > > As per ANT output: > > > > CopyBRBuildArtifacts: > > [echo] CopyBRBuildArtifacts local.dist: ${local.dist} > > [echo] CopyBRBuildArtifacts FTSTAMP: ${FTSTAMP} > > > > > > prepare: > > [mkdir] Created dir: D:\br_builds\testlabel-20041103-1612 > > [mkdir] Created dir: > D:\br_builds\testlabel-20041103-1612\brtestlabel-20041103-1612 > > [echo] Prepare local.dist: > d:\br_builds\testlabel-20041103-1612\brtestlabel-20041103-1612 > > [echo] Prepare: 20041103-1612 > > > > I must be missing something, or is this a 1.6.2 problem, or has anyone > seen > this issue? > > > > I did this in 1.5.2, and it worked, but???? > > > > Does any one have an idea? > > > > Thanks in advance! > > Z > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org