Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 36790 invoked by uid 500); 12 Jun 2003 16:08:13 -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 36701 invoked from network); 12 Jun 2003 16:08:11 -0000 Received: from mail15.atl.registeredsite.com (64.224.219.99) by daedalus.apache.org with SMTP; 12 Jun 2003 16:08:11 -0000 Received: from imta01a2.registeredsite.com (imta01a2.registeredsite.com [64.225.255.10]) by mail15.atl.registeredsite.com (8.12.8/8.12.9) with ESMTP id h5CG89pR025659 for ; Thu, 12 Jun 2003 12:08:11 -0400 Received: from sean ([66.185.161.90]) by imta01a2.registeredsite.com with SMTP id <20030612160809.BDMO25395.imta01a2.registeredsite.com@sean> for ; Thu, 12 Jun 2003 12:08:09 -0400 From: "W. Sean Hennessy" To: "Ant Users List" Subject: RE: Difficulty with "unless" attribute Date: Thu, 12 Jun 2003 09:07:54 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <1055432747.4956.3.camel@nidrislinux> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N separate the buildstamp value property from the use as conditional init: testit: [echo] buildstamp value 20030612-0906 BUILD SUCCESSFUL Total time: 1 second -----Original Message----- From: Justin Maurer [mailto:jmaurer@defywire.com] Sent: Thursday, June 12, 2003 8:50 AM To: Ant Users List Subject: Re: Difficulty with "unless" attribute Yep, sorry. Couldn't cut & paste between machines :) On Thu, 2003-06-12 at 11:43, Jacob Kjome wrote: > Well, you are missing an end quote on the unless atrrbute, although that > might just be a typo. > > Jake > > At 11:40 AM 6/12/2003 -0400, you wrote: > >Greetings, > > > > Much FAQ-reading and Google searching has led me here. I'm having > > some difficulty with the "unless" attribute of the task. I have > > a target, currently named init, with the sole purpose of setting a > > property to be used as a buildstamp. Presently, it looks like this: > > > > > > > > > > > > > >(the doesn't affect the results - i put it in just to > >be sure the property was being set...). I can refer to ${buildstamp} later > >in the file, once this target has been executed, but this target _keeps_ > >getting run, and buildstamp keeps getting changed (the lowest-level module > >we have depends on init, other resources depend on this module..). > > > >Thanks for any assistance, my sincerest apologies if I've asked a silly > >question (I checked the FAQs!)! > > > > > >Justin Maurer > >Software Configuration Engineer > >Defywire, Inc. > >Direct: > >Mobile: > >Fax: > > > >Email: jmaurer@defywire.com > > > >"Enabling the Enterprise" > > > > > >--------------------------------------------------------------------- > >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 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org