Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 92758 invoked from network); 10 Aug 2008 23:38:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Aug 2008 23:38:28 -0000 Received: (qmail 91792 invoked by uid 500); 10 Aug 2008 23:38:23 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 91763 invoked by uid 500); 10 Aug 2008 23:38:23 -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 91750 invoked by uid 99); 10 Aug 2008 23:38:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Aug 2008 16:38:23 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ddevienne@gmail.com designates 209.85.132.246 as permitted sender) Received: from [209.85.132.246] (HELO an-out-0708.google.com) (209.85.132.246) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Aug 2008 23:37:27 +0000 Received: by an-out-0708.google.com with SMTP id b2so258412ana.25 for ; Sun, 10 Aug 2008 16:37:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=kERgDt9pMzti5ZlSwY3oKkTfiXa7ZaEcONB3UYcYDn8=; b=RMi2WaA1L5vSGsDlYyhRpdhZ7Pe+6Rx5m2+ygnMu9OqVX9w8DrF6dzR//FmhwKPeyO De8kIRPgUc0wkTPCrZ0yBi3i5YMnNHAL7t7nZ3BlRcJiNg0V2Lhu0b1HLELZUoPUIEhg rC7CM8qnhiHV2IbdJBh8ZKDn1nzVpC5HuLFQM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=t9eYYmlKp48zi8kbc2GVNHK5u18fvAT0g63QdSyg7LbdvzmY/jqW5FXPn3WksDYi6+ +J21L+cYfbDfCc7mBW3XWa3848cWEXtB0xpdvVZfqUs8LW7Z0kQpZ96Sx4ZEbA74IPui nL8dEQTfIdvPKuFocWAxZznuetZqKUa3vUqEk= Received: by 10.100.166.10 with SMTP id o10mr9180019ane.0.1218411457418; Sun, 10 Aug 2008 16:37:37 -0700 (PDT) Received: by 10.100.197.12 with HTTP; Sun, 10 Aug 2008 16:37:37 -0700 (PDT) Message-ID: <255d8d690808101637p4494ed0ayb7a824972777ab92@mail.gmail.com> Date: Sun, 10 Aug 2008 18:37:37 -0500 From: "Dominique Devienne" To: "Ant Users List" Subject: Re: Setting environment variables In-Reply-To: <48936D54.5060101@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48936D54.5060101@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On Fri, Aug 1, 2008 at 3:08 PM, Yang Zhang wrote: > If there's a better way to do what I'm trying to do, I'm all ears. Thanks in > advance for any answers! I think you basically have two options: 1) use or , to wrap with some child elements. 2) write your own task that does the wrapping in Java code. #1 can often do the job and is easy, but #2 is more powerful, but needs more setup. You could also do #2 in a scripting language directly in the build file, which eases some of the deployment issues with Java-based #2, but that's the hardest IMHO. >From your message, sounds like #1 would do for you. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org