Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 80611 invoked from network); 4 Apr 2002 17:59:34 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 4 Apr 2002 17:59:34 -0000 Received: (qmail 26402 invoked by uid 97); 4 Apr 2002 16:38:48 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 26380 invoked by uid 97); 4 Apr 2002 16:38:47 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 26368 invoked from network); 4 Apr 2002 16:38:47 -0000 Message-ID: <20020404163745.98639.qmail@web13402.mail.yahoo.com> Date: Thu, 4 Apr 2002 08:37:45 -0800 (PST) From: Diane Holt Subject: Re: Make to Ant To: Ant Users List In-Reply-To: <00c501c1db92$31851d00$a5ca11ac@pune.tcs.co.in> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --- Abhay Kulkarni wrote: > i am facing the problem about the environment variables > > acually i want to convert make file to xml file > > the make file looks like this > > DATAJAR=$(HOME)\jar\uts\Company-V1.0.jar > PERLDIR=$(BROOT)\bin > > so i am not understanding how to set those HOME ,BROOT variables > externally or i'll have to hardcode it in every xml file You can access environment variables by using: This reads in all the environment variables, setting them as properties whose names are ${your_preferred_prefix.ENV_VAR_NAME} -- eg., if "your_preferred_prefix" is "env" (which is what most people tend to use), after executing the tag, if $HOME and $BROOT are set in the environment, you'd reference them as the properties ${env.HOME} and ${env.BROOT}. Diane ===== (holtdl@yahoo.com) __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ -- To unsubscribe, e-mail: For additional commands, e-mail: